Skip to content

Commit

Permalink
Update Heavy CMakeLists.txt to use a wildcard.
Browse files Browse the repository at this point in the history
  • Loading branch information
DatanoiseTV authored Oct 12, 2024
1 parent ecb4881 commit 5ff39c2
Showing 1 changed file with 5 additions and 30 deletions.
35 changes: 5 additions & 30 deletions lib/heavy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,13 @@
cmake_minimum_required(VERSION 3.13)

add_library(heavy INTERFACE)
target_sources(heavy INTERFACE
Heavy_prog.cpp
HeavyContext.cpp
HvControlBinop.c
HvControlCast.c
HvControlDelay.c
HvControlIf.c
HvControlRandom.c
HvControlSlice.c
HvControlSystem.c
HvControlUnop.c
HvControlVar.c
HvHeavy.cpp
HvLightPipe.c
HvMessage.c
HvMessagePool.c
HvMessageQueue.c
HvSignalDel1.c
HvSignalLine.c
HvSignalPhasor.c
HvSignalRPole.c
HvSignalSamphold.c
HvSignalTabread.c
HvSignalTabwrite.c
HvSignalVar.c
HvTable.c
HvUtils.c
# GLOB all .c and .cpp files in the current directory
file(GLOB HV_SOURCES "*.c" "*.cpp")

# Add the sources to the target
target_sources(heavy INTERFACE ${HV_SOURCES})

)
target_include_directories(heavy INTERFACE
${CMAKE_CURRENT_LIST_DIR}
)
target_link_libraries(heavy INTERFACE)


0 comments on commit 5ff39c2

Please sign in to comment.