Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 authored Dec 18, 2023
1 parent 3729842 commit 0c526da
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@ target_sources(TempPlugin PRIVATE
TempPlugin.cpp
)

file(GLOB_RECURSE juce_module_sources CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../modules/JUCE/modules/juce_*/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../modules/JUCE/modules/juce_*/*.mm
${CMAKE_CURRENT_SOURCE_DIR}/../modules/JUCE/modules/chowdsp_utils/modules/*/chowdsp_*/*.cpp
)
set_source_files_properties(${juce_module_sources}
TARGET_DIRECTORY TempPlugin
PROPERTIES SKIP_PRECOMPILE_HEADERS TRUE SKIP_UNITY_BUILD_INCLUSION TRUE
)
target_precompile_headers(TempPlugin PRIVATE pch.h)


0 comments on commit 0c526da

Please sign in to comment.