1 |
file(GLOB SRC src/*.cpp) |
2 |
set(TOIBREP_SOURCE ${SRC}) |
3 |
include_directories(src ../outil/src ../template/src ../parseur/src ../sat/src ../step/src ../materiau/src ../geometrie/src ../carte/src ../fichier/src ../../IBrep/src ${EXTERNAL_INCLUDES} ) |
4 |
if (OPTION_SHARED) |
5 |
add_library(toIbrep SHARED ${TOIBREP_SOURCE} ) |
6 |
target_link_libraries(toIbrep carte geometrie outil parseur sat step materiau fichier ibrep-dynamic ${EXTERNAL_LIBRARIES} ) |
7 |
else (OPTION_SHARED) |
8 |
add_library(toIbrep ${TOIBREP_SOURCE} ) |
9 |
target_link_libraries(toIbrep carte geometrie outil parseur sat step materiau fichier ibrep-static ${EXTERNAL_LIBRARIES} ) |
10 |
endif (OPTION_SHARED) |
11 |
|
12 |
|
13 |
|
14 |
|