-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
58 lines (44 loc) · 1.38 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
project(S2Engine)
cmake_minimum_required(VERSION 3.1)
#Setting
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE Debug)
######MANAGER######
set(ManagerFileCpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Manager/EnvironmentManager.cpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Manager/LoggerManager.cpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Manager/MemoryManager.cpp
)
set(ManagerFileH
${CMAKE_SOURCE_DIR}/S2Engine/include/Manager/EnvironmentManager.h
${CMAKE_SOURCE_DIR}/S2Engine/include/Manager/MemoryManager.h
)
##################
######CORE######
set(CoreFileH
${CMAKE_SOURCE_DIR}/S2Engine/include/Core/Singleton.h
)
##################
######LOGGER######
set(LoggerFileH
${CMAKE_SOURCE_DIR}/S2Engine/include/Logger/Logger.h
${CMAKE_SOURCE_DIR}/S2Engine/include/Logger/FileLog.h
)
set(LoggerFileCpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Logger/Logger.cpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Logger/FileLog.cpp
)
##################
######MEMORY######
set(MemoryFileH
${CMAKE_SOURCE_DIR}/S2Engine/include/Memory/Memory.h
${CMAKE_SOURCE_DIR}/S2Engine/include/Memory/StackAllocator.h
)
set(MemoryFileCpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Memory/Memory.cpp
${CMAKE_SOURCE_DIR}/S2Engine/source/Memory/StackAllocator.cpp
)
##################
#INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/S2Engine/include/)
#adding_Other_CMakeLists.txt
ADD_SUBDIRECTORY(S2Engine/source/Entry)