|
Revision 195, 0.6 kB
(checked in by smidl, 17 years ago)
|
|
prvni nastrel dopravy
|
| 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 | #SET(BdmLibs bdm itpp_debug) |
|---|
| 10 | SET(BdmLibs bdm itpp) |
|---|
| 11 | |
|---|
| 12 | IF(WIN32) |
|---|
| 13 | SET(BdmLibs ${BdmLibs} libacml_dll) |
|---|
| 14 | ENDIF(WIN32) |
|---|
| 15 | |
|---|
| 16 | # Add executable called "helloDemo" that is built from the source files |
|---|
| 17 | # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. |
|---|
| 18 | add_executable (k1 k1.cpp) |
|---|
| 19 | # Link the executable to the Hello library. |
|---|
| 20 | target_link_libraries (k1 ${BdmLibs}) |
|---|