CMakeLists.txt 797 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
message (STATUS "Adding index test found in ${_relPath}")

include_directories (
    ${CMAKE_SOURCE_DIR}/ippl/src
)

link_directories (
    ${CMAKE_CURRENT_SOURCE_DIR}
10
    ${Boost_LIBRARY_DIRS}
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
)

set (IPPL_LIBS ippl)
set (COMPILE_FLAGS ${OPAL_CXX_FLAGS})

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

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

gsell's avatar
gsell committed
30
# vi: set et ts=4 sw=4 sts=4:
31

gsell's avatar
gsell committed
32 33 34 35
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
36
# require-final-newline: nil
37
# End: