Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/FNALssi/cetmodules
GIT_TAG 4.01.01
GIT_SHALLOW ON
EXCLUDE_FROM_ALL # Do not install
FIND_PACKAGE_ARGS 4.01.01
)
# ... and the Catch2 unit testing framework
Expand All @@ -16,6 +17,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.10.0
GIT_SHALLOW ON
EXCLUDE_FROM_ALL # Do not install
FIND_PACKAGE_ARGS
)
# ... and Microsoft's C++ Guideline Support Library
Expand All @@ -24,6 +26,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/microsoft/GSL
GIT_TAG v4.2.0
GIT_SHALLOW ON
EXCLUDE_FROM_ALL # Do not install
FIND_PACKAGE_ARGS NAMES Microsoft.GSL
)
# ... and the Mimic C++ mocking framework
Expand All @@ -32,6 +35,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/DNKpp/mimicpp
GIT_TAG v8
GIT_SHALLOW ON
EXCLUDE_FROM_ALL # Do not install
FIND_PACKAGE_ARGS
)

Expand Down
2 changes: 2 additions & 0 deletions form/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ add_library(form_module MODULE form_module.cpp)
target_link_libraries(form_module PRIVATE phlex::module form)

target_include_directories(form_module PRIVATE ${PROJECT_SOURCE_DIR})

install(TARGETS form_module LIBRARY DESTINATION lib)
16 changes: 14 additions & 2 deletions phlex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,29 @@ cet_make_library(

install(FILES concurrency.hpp module.hpp source.hpp DESTINATION include/phlex)

cet_make_library(
LIBRARY_NAME
phlex_configuration_internal
SHARED
SOURCE
configuration.cpp
LIBRARIES
PRIVATE
Boost::json
phlex::core
)

cet_make_library(
LIBRARY_NAME
phlex_configuration
EXPORT_NAME
configuration
INTERFACE
SOURCE
configuration.cpp
NO_SOURCE
LIBRARIES
Boost::json
phlex::core
phlex_configuration_internal
)
install(FILES configuration.hpp DESTINATION include/phlex)

Expand Down
5 changes: 5 additions & 0 deletions phlex/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ install(
declared_observer.hpp
declared_output.hpp
declared_predicate.hpp
declared_provider.hpp
declared_transform.hpp
declared_unfold.hpp
edge_creation_policy.hpp
Expand All @@ -72,6 +73,10 @@ install(
upstream_predicates.hpp
DESTINATION include/phlex/core
)
install(FILES fold/send.hpp DESTINATION include/phlex/core/fold)
install(FILES detail/make_algorithm_name.hpp detail/maybe_predicates.hpp
detail/filter_impl.hpp DESTINATION include/phlex/core/detail
)
target_include_directories(phlex_core PRIVATE ${PROJECT_SOURCE_DIR})

# AppleClang 15.0 still treats std::views::join as experimental
Expand Down
7 changes: 7 additions & 0 deletions phlex/metaprogramming/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ install(FILES delegate.hpp type_deduction.hpp
DESTINATION include/phlex/metaprogramming
)

install(
FILES detail/basic_concepts.hpp detail/ctor_reflect_types.hpp
detail/number_output_objects.hpp detail/number_parameters.hpp
detail/parameter_types.hpp detail/return_type.hpp
DESTINATION include/phlex/metaprogramming/detail
)

add_library(phlex::metaprogramming ALIAS phlex_metaprogramming_int)
4 changes: 4 additions & 0 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ add_subdirectory(python)
add_library(layer_generator layer_generator.cpp)
target_link_libraries(layer_generator PRIVATE phlex::core)

install(TARGETS layer_generator LIBRARY)

add_library(generate_layers MODULE generate_layers.cpp)
target_link_libraries(generate_layers PRIVATE phlex::module layer_generator)

install(TARGETS generate_layers LIBRARY DESTINATION lib)
2 changes: 2 additions & 0 deletions plugins/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ except ImportError:
PUBLIC Python::Python
)

install(TARGETS pymodule LIBRARY DESTINATION lib)

# numpy support if installed
if(HAS_NUMPY)

Expand Down
Loading