...
 
Commits (5)
......@@ -16,7 +16,7 @@
#
# Authors: Axel Lopez Gandia, Javad Amirian, Florian Berton,
# Julien Legros, Lucas Pelerin, Beatriz Cabrero Daniel, Fabien Grzeskowiak,
# Alicia Nics Miquel, Alexandre Bonneau, Wouter Van toll, Benjamin Niay.
# Alicia Nics Miquel, Alexandre Bonneau, Wouter Van toll, Benjamin Niay.
#
# Contact: crowd_group@inria.fr
......@@ -48,8 +48,14 @@ endif()
add_library(Engine STATIC ${source_files} ${3rd_party})
add_executable(OCSR_ConsoleApplication main.cpp)
target_link_libraries(OCSR_ConsoleApplication Engine)
IF (WIN32)
add_executable(OCSR_ConsoleApplication_windows main.cpp)
target_link_libraries(OCSR_ConsoleApplication_windows Engine)
ELSE()
add_executable(OCSR_ConsoleApplication_linux main.cpp)
target_link_libraries(OCSR_ConsoleApplication_linux Engine)
ENDIF()
#add_executable(test_xmlparser ./test/test_xmlparser.cpp ${source_files} ${3rd_party})
#add_executable(test_socialforces ./test/SocialForcesExample.cpp ${source_files} ${tinyxml_src})
#add_executable(test_ttcaDca ./test/DcaTtcaExample.cpp ${source_files} ${3rd_party})
......
......@@ -16,7 +16,7 @@
**
** Authors: Axel Lopez Gandia, Javad Amirian, Florian Berton,
** Julien Legros, Lucas Pelerin, Beatriz Cabrero Daniel, Fabien Grzeskowiak,
** Alicia Nics Miquel, Alexandre Bonneau, Wouter Van toll, Benjamin Niay.
** Alicia Nics Miquel, Alexandre Bonneau, Wouter Van toll, Benjamin Niay.
**
** Contact : crowd_group@inria.fr
*/
......@@ -118,7 +118,7 @@ void CrowdSimulator::runWorld(int steps)
std::cout << "|--------------------------------------------------|100%" << std::endl << "[";
for (int i = 0; i < steps; ++i){
stepWorld();
//if(i%p == 0) std::cout << "#" << std::flush;
if(i%p == 0) std::cout << "#" << std::flush;
}
std::cout << "]" << std::endl;
if (writer != nullptr)
......