From 676d8589fc6d28e32b9b6ebce832e99330686a7d Mon Sep 17 00:00:00 2001 From: rjindael Date: Tue, 11 Jul 2023 23:43:48 -0700 Subject: [PATCH] remove nested cmake project decls each project doesn't have to be a PROJECT project per se; i.e. they don't need to be declared as such within CMake. the only project should be RNR --- Projects/Client/Common/CMakeLists.txt | 2 -- Projects/Client/Player/CMakeLists.txt | 2 -- Projects/Client/Server/CMakeLists.txt | 2 -- Projects/Client/Studio/CMakeLists.txt | 2 -- Projects/Engine/CMakeLists.txt | 3 --- 5 files changed, 11 deletions(-) diff --git a/Projects/Client/Common/CMakeLists.txt b/Projects/Client/Common/CMakeLists.txt index bf1d3dc..bfedaf6 100644 --- a/Projects/Client/Common/CMakeLists.txt +++ b/Projects/Client/Common/CMakeLists.txt @@ -1,5 +1,3 @@ -project(Common) - qt_standard_project_setup() qt_add_library(Common STATIC Header/GL/Adorn.hpp diff --git a/Projects/Client/Player/CMakeLists.txt b/Projects/Client/Player/CMakeLists.txt index 6655941..e37bb16 100644 --- a/Projects/Client/Player/CMakeLists.txt +++ b/Projects/Client/Player/CMakeLists.txt @@ -1,5 +1,3 @@ -project(Player) - create_resources(Resource ${CMAKE_BINARY_DIR}/Resources/PlayerResources.hpp) set(CMAKE_AUTOMOC ON) diff --git a/Projects/Client/Server/CMakeLists.txt b/Projects/Client/Server/CMakeLists.txt index 0450c07..abed4f4 100644 --- a/Projects/Client/Server/CMakeLists.txt +++ b/Projects/Client/Server/CMakeLists.txt @@ -1,5 +1,3 @@ -project(Server) - create_resources(Resource ${CMAKE_BINARY_DIR}/Resources/ServerResources.hpp) add_executable(Server diff --git a/Projects/Client/Studio/CMakeLists.txt b/Projects/Client/Studio/CMakeLists.txt index 2f2ddf7..c1bbf3a 100644 --- a/Projects/Client/Studio/CMakeLists.txt +++ b/Projects/Client/Studio/CMakeLists.txt @@ -1,5 +1,3 @@ -project(Studio) - create_resources(Resource ${CMAKE_BINARY_DIR}/Resources/StudioResources.hpp) set(CMAKE_AUTOMOC ON) diff --git a/Projects/Engine/CMakeLists.txt b/Projects/Engine/CMakeLists.txt index 753a466..70059e6 100644 --- a/Projects/Engine/CMakeLists.txt +++ b/Projects/Engine/CMakeLists.txt @@ -1,6 +1,3 @@ -project(Engine) - - add_library(Engine STATIC Header/Helpers/Name.hpp Header/Helpers/Strings.hpp