Skip to content

Commit

Permalink
add particle_diagnostics to build system
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Hughes committed Jan 22, 2024
1 parent 44f01ae commit 6e21101
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/compile_time_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set( CMAKE_BUILD_TYPE "Release" )

# preprocessor definitions in source code are defined below:
set( description "(no description added yet)" )
set( GITR_USE_CUDA 1 CACHE STRING "${description}" FORCE )
set( GITR_USE_CUDA 0 CACHE STRING "${description}" FORCE )
set( GITR_USE_OPENMP 0 CACHE STRING "${description}" FORCE )
set( GITR_USE_MPI 0 CACHE STRING "${description}" FORCE )
set( GITR_USE_DOUBLE 1 CACHE STRING "${description}" FORCE )
Expand Down
1 change: 1 addition & 0 deletions CMake/crosslink_components.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ target_link_libraries( GITR
spectroscopy
libconfig_cxx
libconfig_c
particle_diagnostics
utils
boris
surface_model
Expand Down
1 change: 1 addition & 0 deletions CMake/define_source_components.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set( non_gpu_targets

# conditionally compile as GPU targets
set( gpu_targets
particle_diagnostics
surface_model
interp2d
interpRateCoeff
Expand Down
1 change: 1 addition & 0 deletions CMake/enforce_build_order.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if( dependencies )

endif()

add_dependencies( boris particle_diagnostics )
# ensure that all source targets are built before GITR
add_dependencies( GITR ${non_gpu_targets} ${gpu_targets} )

Expand Down

0 comments on commit 6e21101

Please sign in to comment.