-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
30 lines (25 loc) · 797 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
30 lines (25 loc) · 797 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
cmake_minimum_required(VERSION 4.0)
project(graphics
VERSION "0.0.1.1"
DESCRIPTION "Cross Platform LearnOpenGL Implementaion"
HOMEPAGE_URL "https://codeberg.org/printfdebugging/learnopengl"
LANGUAGES "C"
)
include(GNUInstallDirs)
#[[
CMAKE_PREFIX_PATH points to the install directory of the project.
it looks for `libfoo.pc` files in ${CMAKE_PREFIX_PATH}/lib/pkgconfig
directory.
]]
set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/install")
set(CMAKE_COLOR_DIAGNOSTICS ON)
set(BUILD_SHARED_LIBS ON)
add_subdirectory(cmake/stb)
add_subdirectory(cmake/cgltf)
add_subdirectory(external/cglm SYSTEM)
add_subdirectory(external/glfw)
add_subdirectory(external/glad)
add_subdirectory(external/harfbuzz)
add_subdirectory(external/miniaudio)
add_subdirectory(engine)
add_subdirectory(projects/game)