Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename CMAKE_{SOURCE,BIN}_DIR to PROJECT_{SOURCE,BIN}_DIR #121

Merged
merged 1 commit into from
Jul 13, 2023
Merged
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
10 changes: 5 additions & 5 deletions k4MarlinWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gaudi_add_module(k4MarlinWrapperPlugins
)

target_include_directories(k4MarlinWrapperPlugins PUBLIC
${CMAKE_SOURCE_DIR}/k4MarlinWrapper
${PROJECT_SOURCE_DIR}/k4MarlinWrapper
${LCIO_INCLUDE_DIRS}
${Marlin_INCLUDE_DIRS}
)
Expand All @@ -50,7 +50,7 @@ gaudi_add_module(MarlinWrapper
)

target_include_directories(MarlinWrapper PUBLIC
${CMAKE_SOURCE_DIR}/k4MarlinWrapper
${PROJECT_SOURCE_DIR}/k4MarlinWrapper
${Marlin_INCLUDE_DIRS}
${LCIO_INCLUDE_DIRS}
)
Expand All @@ -69,7 +69,7 @@ gaudi_add_module(EDM4hep2Lcio
)

target_include_directories(EDM4hep2Lcio PUBLIC
${CMAKE_SOURCE_DIR}/k4MarlinWrapper
${PROJECT_SOURCE_DIR}/k4MarlinWrapper
${LCIO_INCLUDE_DIRS}
${Marlin_INCLUDE_DIRS}
)
Expand All @@ -86,15 +86,15 @@ gaudi_add_module(Lcio2EDM4hep
)

target_include_directories(Lcio2EDM4hep PUBLIC
${CMAKE_SOURCE_DIR}/k4MarlinWrapper
${PROJECT_SOURCE_DIR}/k4MarlinWrapper
${LCIO_INCLUDE_DIRS}
)

# Copy python parsing file to genConfDir in Gaudi
add_custom_command(
TARGET MarlinWrapper POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py
${PROJECT_SOURCE_DIR}/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py
${CMAKE_CURRENT_BINARY_DIR}/genConfDir/k4MarlinWrapper/parseConstants.py)

# Install the example options files to share to make them easily accessible
Expand Down
Loading