-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
33 lines (27 loc) · 801 Bytes
/
CMakeLists.txt
File metadata and controls
33 lines (27 loc) · 801 Bytes
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
cmake_minimum_required (VERSION 3.25.0)
project(NeoELF)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Dependencies
find_package(OpenGL REQUIRED)
find_package(glfw3 REQUIRED)
find_package(glm REQUIRED)
find_package(glad REQUIRED)
find_package(assimp REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(stb REQUIRED)
find_package(Freetype REQUIRED)
find_package(OpenAL REQUIRED)
find_package(vorbis REQUIRED)
find_package(lua REQUIRED)
find_package(sol2 REQUIRED)
find_package(Bullet REQUIRED)
find_package(fmtlog REQUIRED)
find_package(catch2 REQUIRED)
# NeoELF library
add_subdirectory(Lib)
# Unit tests
add_subdirectory (Test)
# Engine application
add_subdirectory (App)
# App as startup project
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT NeoElfApp)