CMakeLists.txt 915 Bytes
Newer Older
gsell's avatar
gsell committed
1
file (RELATIVE_PATH _relPath "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
2 3 4 5 6 7 8 9 10 11 12
message (STATUS "Adding ttrack test in ${_relPath}")

include_directories (
    ${CMAKE_SOURCE_DIR}/src
    ${CMAKE_SOURCE_DIR}/ippl/src
    ${CLASSIC_SOURCE_DIR}
)

link_directories (
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_SOURCE_DIR}/src
13
    ${Boost_LIBRARY_DIRS}
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
)

set (COMPILE_FLAGS ${OPAL_CXX_FLAGS})

set (IPPL_LIBS ippl)

if (ENABLE_DKS)
   include_directories (${DKS_INCLUDE_DIR})
   link_directories (${DKS_LIBRARY_DIR})
   #SET (IPPL_LIBS ${IPPL_LIBS} dks)
   SET (IPPL_LIBS ${IPPL_LIBS} ${DKS_LIBRARY_DIR}/libdks.a)
endif ()

add_executable (testPwrSpec testPwrSpec.cpp)
target_link_libraries (
    testPwrSpec
    ${IPPL_LIBS}
    ${MPI_CXX_LIBRARIES}
    boost_timer
)
gsell's avatar
gsell committed
34

gsell's avatar
gsell committed
35
# vi: set et ts=4 sw=4 sts=4:
36

gsell's avatar
gsell committed
37 38 39 40
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
41
# require-final-newline: nil
42
# End: