Skip to content

Commit

Permalink
Add WCSim lib in main CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
guiguem committed Aug 21, 2023
1 parent 71ea87a commit c106270
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ set( PUBLIC_EXT_LIBS )
hk_check_dependencies()

add_definitions(-DHYBRIDWCSIM)

# manually include WCSim libraries
list( APPEND PUBLIC_EXT_LIBS
WCSim::WCSimRoot
WCSim::WCSimCore
)

include_directories(BEFORE
${PROJECT_SOURCE_DIR}/cpp/include
Expand Down
2 changes: 1 addition & 1 deletion app/utilities/WCRootData/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set (HEADERS
pbuilder_library(
TARGET WCRootData
SOURCES ${SRC}
PROJECT_LIBRARIES MDT WCSim::WCSimCore
PROJECT_LIBRARIES MDT
PUBLIC_EXTERNAL_LIBRARIES ${PUBLIC_EXT_LIBS}
PRIVATE_EXTERNAL_LIBRARIES ${PRIVATE_EXT_LIBS}
)
Expand Down
7 changes: 1 addition & 6 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@


# Don't include Utilities
#file(GLOB_RECURSE SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cpp")
#file(GLOB_RECURSE HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")

set (SRC
set (SRC
src/Configuration.cc
src/HitDigitizer.cc
src/HitTube.cc
Expand Down

0 comments on commit c106270

Please sign in to comment.