Revision 208, 0.7 kB
(checked in by nemcova, 16 years ago)
|
oprava CMakeu pro rozliseni debug-release (VS)
|
Line | |
---|
1 | # Make sure the compiler can find include files from our Bdm library. |
---|
2 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
3 | |
---|
4 | # Make sure the linker can find the bdm library once it is built. |
---|
5 | link_directories (${BDM_BINARY_DIR}/bdm) |
---|
6 | |
---|
7 | |
---|
8 | ## Save all needed libraries in variable BdmLibs |
---|
9 | IF(WIN32) |
---|
10 | SET(AddLib libacml_dll) |
---|
11 | ENDIF(WIN32) |
---|
12 | |
---|
13 | # Add executable called "helloDemo" that is built from the source files |
---|
14 | # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. |
---|
15 | add_executable (k1 k1.cpp) |
---|
16 | # Link the executable to the Hello library. |
---|
17 | target_link_libraries (k1 debug itpp_debug) |
---|
18 | target_link_libraries (k1 optimized itpp) |
---|
19 | target_link_libraries (k1 bdm ${AddLib}) |
---|