Commit 687610a0 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Split Gray Scott program

parent a3c1deae
......@@ -19,6 +19,7 @@ pull_extra_module("OptionParser" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/
pull_extra_module("MicroBenchmark" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/MicroBenchmark.git")
pull_extra_module("TensorAlloc" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/TensorAlloc.git")
pull_extra_module("PhoenixPNG" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixPNG.git")
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
......
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})
set_property(TARGET naive_gray_scott PROPERTY COMPILE_FLAGS "-O3")
target_link_libraries(naive_gray_scott tensor_alloc option_parser data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Naive ${CMAKE_CURRENT_SOURCE_DIR}/GrayScottDataFormat)
add_subdirectory(Naive)
add_subdirectory(GrayScottDataFormat)
add_subdirectory(Program)
project(Phoenix)
cmake_minimum_required(VERSION 2.8)
file(GLOB mainSource "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
add_library(gray_scott_data_format SHARED ${mainSource})
set_property(TARGET gray_scott_data_format PROPERTY COMPILE_FLAGS "-O3")
target_link_libraries(gray_scott_data_format tensor_alloc option_parser data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb)
project(Phoenix)
cmake_minimum_required(VERSION 2.8)
file(GLOB mainSource "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
add_library(gray_scott_naive SHARED ${mainSource})
set_property(TARGET gray_scott_naive PROPERTY COMPILE_FLAGS "-O3")
target_link_libraries(gray_scott_naive TBB::tbb)
project(Phoenix)
cmake_minimum_required(VERSION 2.8)
add_executable(naive_gray_scott main.cpp)
set_property(TARGET naive_gray_scott PROPERTY COMPILE_FLAGS "-O3")
target_link_libraries(naive_gray_scott gray_scott_data_format gray_scott_naive tensor_alloc option_parser data_stream string_utils ${HDF5_CXX_LIBRARIES} TBB::tbb)
......@@ -7,7 +7,7 @@
#include "OptionParser.h"
#include "PTensor.h"
#include "Naive/naive_propagation.h"
#include "naive_propagation.h"
#include "MatrixHdf5.h"
///Create the OptionParser of this program
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment