-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVAR.cmake
34 lines (30 loc) · 916 Bytes
/
VAR.cmake
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
set(EXT_LIB_DIR "${PROJECT_SOURCE_DIR}/external/lib")
set(EXT_INC_DIR "${PROJECT_SOURCE_DIR}/external/inc")
set(SHARED_INC_DIR "${PROJECT_SOURCE_DIR}/shared")
set(ASSET_INC_DIR "${PROJECT_SOURCE_DIR}/assets")
set(GLM_INC_DIR "${CMAKE_INSTALL_PREFIX}/include")
set(IMGUI_INC_DIR "${PROJECT_SOURCE_DIR}/external/imgui")
# lib
set(FMT_LIB "${EXT_LIB_DIR}/fmt/libfmt.9.1.0.dylib")
set(GLFW_LIB "${EXT_LIB_DIR}/GLFW/libglfw.3.dylib")
set(GLAD2_LIB glad2)
set(STB_IMAGE_LIB stb_image)
set(FSTREAM_GUARD_LIB fstream_guard)
set(SHADER_LIB shader opengl_status_checker)
set(ASSET_LIB assets)
set(CAMERA_LIB camera)
set(TIME_LIB time)
set(TEXTURE_LIB texture)
set(IMGUI_LIB imgui)
# lib collection
set(GL_LIB
${GLFW_LIB}
${GLAD2_LIB})
set(UTIL_LIBS
${FMT_LIB}
${FSTREAM_GUARD_LIB}
${SHADER_LIB}
${ASSET_LIB}
${CAMERA_LIB}
${TIME_LIB}
${TEXTURE_LIB})