-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCMakeLists.txt
31 lines (22 loc) · 899 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
27
28
29
30
cmake_minimum_required(VERSION 3.9.0) # The version of CMake used when creating this project.
# Use solution folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Make sure DLL and EXE targets go to the same directory.
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
# Version information
set(VTSF_VERSION_MAJOR 1)
set(VTSF_VERSION_MINOR 0)
set(VTSF_VERSION_PATCH 0)
set(VTSF_VERSION_TWEAK 0)
set(VTSF_VERSION ${VTSF_VERSION_MAJOR}.${VTSF_VERSION_MINOR}.${VTSF_VERSION_PATCH}.${VTSF_VERSION_TWEAK} )
project(VolumeTiledForwardShading VERSION ${VTSF_VERSION} LANGUAGES CXX)
# Add Engine project
add_subdirectory(Engine)
# Add Game project
add_subdirectory(Game)
# Set the startup project.
set_directory_properties( PROPERTIES
VS_STARTUP_PROJECT Game
)