Revision: | 294 |
Committed: | Tue Nov 8 04:27:56 2011 UTC (13 years, 9 months ago) by francois |
Content type: | text/plain |
File size: | 272 byte(s) |
Log Message: | Librairies statiques ou dynamiques au choix a la compilation |
# | Content |
---|---|
1 | file(GLOB SRC src/*.cpp) |
2 | set(SAT_SOURCE ${SRC}) |
3 | include_directories(src ../outil/src ../template/src) |
4 | if (OPTION_SHARED) |
5 | add_library(sat SHARED ${SAT_SOURCE} ) |
6 | else (OPTION_SHARED) |
7 | add_library(sat ${SAT_SOURCE} ) |
8 | endif (OPTION_SHARED) |
9 | target_link_libraries(sat outil) |
10 | |
11 | |
12 |