-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
26 lines (19 loc) · 683 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cmake_minimum_required(VERSION 3.22)
include(cmake/AppleBuild.cmake)
project(
BasicGuiProjectSetupOpenGL
DESCRIPTION "Base gui project setup with SDL2 and OpenGL."
VERSION 1.0.0
LANGUAGES CXX)
set(PROJECT_COMPANY_NAME "My Company")
set(PROJECT_COMPANY_NAMESPACE "com.mycompany") # Reverse domain name notation
include(cmake/StandardProjectSettings.cmake)
include(GNUInstallDirs)
# Link this "library" to use the warnings specified in CompilerWarnings.cmake.
add_library(project_warnings INTERFACE)
include(cmake/CompilerWarnings.cmake)
set_project_warnings(project_warnings)
enable_testing()
add_subdirectory(packaging)
add_subdirectory(vendor)
add_subdirectory(src)