-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
executable file
·30 lines (25 loc) · 975 Bytes
/
CMakeLists.txt
File metadata and controls
executable file
·30 lines (25 loc) · 975 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
# CMakeList.txt : CMake project for CV-Sandbox, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)
# This is the name of the executable
set(EXECUTABLE_NAME JACT)
# In UNIX, set PROJECT_SOURCES using the following command
# find . | grep .cpp
# Delete the ./ at the beginning of each file with block selection (alt + shift in Visual Studio)
set(PROJECT_SOURCES
"ui/app.cpp"
"ui/ui_utils.cpp"
"ui/ui_implementation.cpp"
"graphics/background.cpp"
"graphics/shader.cpp"
"main/main.cpp"
)
# In UNIX, set PROJECT_HEADERS using the following command
# find . | grep .hpp
# Delete the ./ at the beginning of each file with block selection (alt + shift in Visual Studio)
# Add source to this project's executable.
add_executable (${EXECUTABLE_NAME} ${PROJECT_SOURCES})
# Add tests and install targets if needed.
target_link_libraries (${EXECUTABLE_NAME} glad glm glfw imgui)
target_include_directories(${EXECUTABLE_NAME} PUBLIC src)