diff --git a/cmake/Benchmarks.cmake b/cmake/Benchmarks.cmake index 18f8714..0505e45 100644 --- a/cmake/Benchmarks.cmake +++ b/cmake/Benchmarks.cmake @@ -8,7 +8,7 @@ target_compile_features(Benchmarks PRIVATE cxx_std_20) catch_discover_tests(Benchmarks) # Our benchmark executable also wants to know about our plugin code... -target_include_directories(Benchmarks PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/source) +target_include_directories(Benchmarks PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Source) # Copy over compile definitions from our plugin target so it has all the JUCEy goodness target_compile_definitions(Benchmarks PRIVATE $) diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index 1cd491e..44429fa 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -9,10 +9,10 @@ set(CTEST_OUTPUT_ON_FAILURE ON) set_property(GLOBAL PROPERTY CTEST_TARGETS_ADDED 1) # "GLOBS ARE BAD" is brittle and silly dev UX, sorry CMake! -file(GLOB_RECURSE TestFiles CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/tests/*.h") +file(GLOB_RECURSE TestFiles CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/Tests/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/Tests/*.h") # Organize the test source in the Tests/ folder in Xcode -source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/tests PREFIX "" FILES ${TestFiles}) +source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/Tests PREFIX "" FILES ${TestFiles}) # Use Catch2 v3 on the devel branch Include(FetchContent) @@ -29,7 +29,7 @@ add_executable(Tests ${TestFiles}) target_compile_features(Tests PRIVATE cxx_std_20) # Our test executable also wants to know about our plugin code... -target_include_directories(Tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/source) +target_include_directories(Tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Source) # Copy over compile definitions from our plugin target so it has all the JUCEy goodness target_compile_definitions(Tests PRIVATE $) diff --git a/cmake/XcodePrettify.cmake b/cmake/XcodePrettify.cmake index c6ec34a..ee14b3a 100644 --- a/cmake/XcodePrettify.cmake +++ b/cmake/XcodePrettify.cmake @@ -2,7 +2,7 @@ set_target_properties(SharedCode PROPERTIES FOLDER "") # The Xcode source tree should uhhh, still look like the source tree, yo -source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/source PREFIX "" FILES ${SourceFiles}) +source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/Source PREFIX "" FILES ${SourceFiles}) # It tucks the Plugin varieties into a "Targets" folder and generate an Xcode Scheme manually # Xcode scheme generation is turned off globally to limit noise from other targets