Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit e24bfded authored by LOPEZ GANDIA Axel's avatar LOPEZ GANDIA Axel
Browse files

Changes to cmake to make boost work in windows.

parent be45f29d
......@@ -27,14 +27,15 @@ project( CrowdSimulator )
set (CMAKE_CXX_STANDARD 11)
#set(EXECUTABLE_OUTPUT_PATH bin/${CMAKE_BUILD_TYPE})
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost COMPONENTS system filesystem regex REQUIRED)
include_directories( ./include )
link_directories( ./lib/${CMAKE_BUILD_TYPE} )
if (WIN32)
include_directories( C:/local )
endif (WIN32)
link_directories(${Boost_LIBRARY_DIRS})
include_directories( ${Boost_INCLUDE_DIRS} )
file( GLOB_RECURSE source_files src/* include/*)
......@@ -45,4 +46,5 @@ add_executable(test_socialforces ./test/SocialForcesExample.cpp ${source_files})
target_link_libraries(my_app ${Boost_LIBRARIES})
target_link_libraries(test_xmlparser ${Boost_LIBRARIES})
target_link_libraries(test_socialforces ${Boost_LIBRARIES})
#message(${Boost_LIBRARIES})
#message(${Boost_LIBRARY_DIRS})
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment