Previous Le fichier source |
Parent Fonction d'initialisation |
Outline | Next Sortie visuelle |
Écrivons le fichier CMakeLists.txt :
1 |
file(GLOB mainSource "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") |
1 |
add_library(gray_scott_data_format SHARED ${mainSource}) |
1 |
set_property(TARGET gray_scott_data_format PROPERTY COMPILE_FLAGS "-O3") |
1 |
target_link_libraries(gray_scott_data_format tensor_alloc data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb) |
1 2 3 4 5 6 7 |
file(GLOB mainSource "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") add_library(gray_scott_data_format SHARED ${mainSource}) set_property(TARGET gray_scott_data_format PROPERTY COMPILE_FLAGS "-O3") target_link_libraries(gray_scott_data_format tensor_alloc data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb) |
Previous Le fichier source |
Parent Fonction d'initialisation |
Outline | Next Sortie visuelle |