-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBuildHpx.cmake
22 lines (18 loc) · 1000 Bytes
/
BuildHpx.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SET(HPX_DIR $ENV{HPX_PATH}/lib/cmake/HPX)
find_package(HPX REQUIRED)
set(BLOCK_FILES ${BLOCKS}/SWE_Block.hh ${BLOCKS}/SWE_DimensionalSplittingHpx.hh ${BLOCKS}/SWE_DimensionalSplittingHpx.cpp
${BLOCKS}/SWE_Hpx_No_Component.hpp ${BLOCKS}/SWE_Hpx_No_Component.cpp)
set(EXAMPLE_FILES ${EXAMPLES}/swe_hpx.cpp)
#add_hpx_component(block_component
# SOURCES ${BLOCKS}/SWE_DimensionalSplittingHpx.cpp
# HEADERS ${BLOCKS}/SWE_DimensionalSplittingHpx.hh
# COMPONENT_DEPENDENCIES iostreams)
#add_hpx_component(no_component
# SOURCES ${BLOCKS}/SWE_Hpx_No_Component.cpp
# HEADERS ${BLOCKS}/SWE_Hpx_No_Component.hpp
# COMPONENT_DEPENDENCIES block_component iostreams)
#add_hpx_executable(swe_benchmark_hpx
# ESSENTIAL
# SOURCES ${EXAMPLES}/swe_hpx.cpp ${BLOCK_FILES} ${SCENARIO_FILES} ${WRITER_FILES} ${TYPE_FILES} ${SOLVER_FILES}
# COMPONENT_DEPENDENCIES iostreams
# DEPENDENCIES ${NETCDF_LIBRARIES})