|
Revision 213, 0.8 kB
(checked in by smidl, 17 years ago)
|
|
Merging - new experiment
|
| 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 Hello library once it is built. |
|---|
| 5 | link_directories (${BDM_BINARY_DIR}/bdm) |
|---|
| 6 | |
|---|
| 7 | ## Save all needed libraries in variable BdmLibs |
|---|
| 8 | #SET(BdmLibs bdm itpp_debug) |
|---|
| 9 | |
|---|
| 10 | IF(WIN32) |
|---|
| 11 | SET(AddLib libacml_dll) |
|---|
| 12 | ENDIF(WIN32) |
|---|
| 13 | |
|---|
| 14 | # Define macro for testing a file |
|---|
| 15 | MACRO(TEST FN) |
|---|
| 16 | add_executable (${FN} ${FN}.cpp) |
|---|
| 17 | target_link_libraries (${FN} debug itpp_debug) |
|---|
| 18 | target_link_libraries (${FN} optimized itpp) |
|---|
| 19 | target_link_libraries (${FN} bdm ${AddLib}) |
|---|
| 20 | ENDMACRO(TEST) |
|---|
| 21 | |
|---|
| 22 | # Add executable called "helloDemo" that is built from the source files |
|---|
| 23 | # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. |
|---|
| 24 | TEST(merg_pred) |
|---|
| 25 | TEST(merg_giw) |
|---|
| 26 | TEST(merger_iter_cond) |
|---|
| 27 | TEST(merg_2a) |
|---|