Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hurstel
CGoGN
Commits
0966f73e
Commit
0966f73e
authored
Jan 31, 2011
by
Pierre Kraemer
Browse files
SocialAgents -> ajout compil Debug
parent
a4eaaeba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Apps/Examples/SocialAgents/Debug/CMakeLists.txt
0 → 100644
View file @
0966f73e
cmake_minimum_required
(
VERSION 2.6
)
project
(
SocialAgents
)
SET
(
CMAKE_BUILD_TYPE Debug
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Debug/
${
CGoGN_ROOT_DIR
}
/lib/Release/
)
# define includes path
include_directories
(
/usr/include/libxml2/
${
CGoGN_ROOT_DIR
}
/Apps/Examples/SocialAgents/include
${
CGoGN_ROOT_DIR
}
/include
${
CGoGN_ROOT_DIR
}
/ThirdParty/AntTweakBar/include
${
CGoGN_ROOT_DIR
}
/ThirdParty/Numerical
${
CGoGN_ROOT_DIR
}
/ThirdParty/Numerical/UFconfig
${
CGoGN_ROOT_DIR
}
/ThirdParty/gzstream
${
CGoGN_ROOT_DIR
}
/ThirdParty/Zinri
)
#define exec to compile
add_executable
(
socialAgentsD ../src/viewer.cpp ../src/env_map.cpp ../src/agent.cpp ../src/simulator.cpp
)
target_link_libraries
(
socialAgentsD containerD topologyD utilsD algoD
${
COMMON_LIBS
}
)
Apps/Examples/SocialAgents/src/simulator.cpp
View file @
0966f73e
...
...
@@ -114,7 +114,7 @@ void Simulator::doStep()
agents_
[
i
]
->
treated
=
false
;
}
//
envMap.updateMap();
envMap
.
updateMap
();
globalTime_
+=
timeStep_
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment