mirror of
https://github.com/yawaflua/SpCloudCore.git
synced 2025-12-08 19:49:28 +02:00
25 lines
676 B
CMake
25 lines
676 B
CMake
# CMakeList.txt : CMake project for SpCloudMain, include source and define
|
|
# project specific logic here.
|
|
#
|
|
|
|
# Add source to this project's executable.
|
|
add_executable(SpCloudMain
|
|
"SpCloudMain.cpp"
|
|
"SpCloudMain.h"
|
|
"Controllers/PublishController.cpp"
|
|
"Service/AuthorizationService.cpp"
|
|
"Service/FileProcessingService.cpp"
|
|
"Service/CommandService.cpp"
|
|
"Service/DiscordService.cpp"
|
|
"Service/MongoDbService.cpp"
|
|
"Service/Logger.cpp"
|
|
"Models/User.cpp"
|
|
"Models/App.cpp"
|
|
)
|
|
|
|
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
|
set_property(TARGET SpCloudMain PROPERTY CXX_STANDARD 20)
|
|
endif()
|
|
|
|
# TODO: Add tests and install targets if needed.
|