-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
266b72a
commit 07818f9
Showing
14 changed files
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
project(pffdtd_3d) | ||
|
||
add_executable(pffdtd_3d) | ||
target_compile_definitions(pffdtd_3d PRIVATE PRECISION=2 USING_CUDA=0) | ||
target_sources(pffdtd_3d | ||
PRIVATE | ||
cpu_engine.cpp | ||
cpu_engine.hpp | ||
fdtd_common.cpp | ||
fdtd_common.hpp | ||
fdtd_data.cpp | ||
fdtd_data.hpp | ||
helper_funcs.cpp | ||
helper_funcs.hpp | ||
main.cpp | ||
) | ||
|
||
|
||
target_link_libraries(pffdtd_3d PRIVATE HDF5::HDF5) | ||
target_link_libraries(pffdtd_3d PRIVATE OpenMP::OpenMP_CXX) | ||
|
||
if((CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") OR (CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC")) | ||
target_compile_options(pffdtd_3d PRIVATE /W4) | ||
else () | ||
target_compile_options(pffdtd_3d PRIVATE -Wno-deprecated-declarations) | ||
endif () |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.