build: Rename cmake scripts by platform client/server spec

Now that we've added another cmake preset (data-stream-suite) some
scripts (GetLinuxClient*.cmake) are shared by multiple presets.
This commit is contained in:
John Colvin committed 2023-08-24 14:32:44 +00:00
1 parent 75a1165923
commit 2f9f0108ef
7 files changed
+7 -7

No files matched your search

+7 -7
View File
@@ -15,14 +15,14 @@ if(WIN32)
message(FATAL_ERROR "Cannot build sparkd on Windows (Please set BUILD_SPARKD to False)")
endif()
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetSparkSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetSparkLinkLibraries.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetWindowsClientSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetWindowsClientLinkLibraries.cmake)
elseif(${BUILD_SPARKD})
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetSparkdSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetSparkdLinkLibraries.cmake)
elseif(${BUILD_API_SERVER})
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetApiServerSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetApiServerLinkLibraries.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetLinuxServerSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetLinuxServerLinkLibraries.cmake)
else()
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetLinuxClientSources.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/GetLinuxClientLinkLibraries.cmake)
endif()
# Cpp sources