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 Feb 9, 2024
1 parent 2d29a3f commit 1df4d41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMake/crosslink_components.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,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 1df4d41

Please sign in to comment.