root/doprava/CMakeLists.txt @ 208

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.
2include_directories (${BDM_SOURCE_DIR}/bdm)
3
4# Make sure the linker can find the bdm library once it is built.
5link_directories (${BDM_BINARY_DIR}/bdm)
6
7
8## Save all needed libraries in variable BdmLibs
9IF(WIN32)
10        SET(AddLib libacml_dll)
11ENDIF(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.
15add_executable (k1 k1.cpp)
16# Link the executable to the Hello library.
17target_link_libraries (k1 debug itpp_debug)
18target_link_libraries (k1 optimized itpp)
19target_link_libraries (k1 bdm ${AddLib})
Note: See TracBrowser for help on using the browser.