CMakeLists.txt 434 Bytes
Newer Older
1 2 3 4 5 6 7
project(Phoenix)
cmake_minimum_required(VERSION 2.8)

file(GLOB naiveSource "${CMAKE_CURRENT_SOURCE_DIR}/Naive/*.cpp")
file(GLOB mainSource "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")

add_executable(naive_gray_scott ${naiveSource} ${mainSource})
Pierre Aubert's avatar
Pierre Aubert committed
8 9
set_property(TARGET naive_gray_scott PROPERTY COMPILE_FLAGS "-O3")

10 11 12 13
target_link_libraries(naive_gray_scott tensor_alloc option_parser data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb)