aboutsummaryrefslogtreecommitdiff
path: root/computer-graphics-experiment/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-12-04 20:57:26 +0800
committercrupest <crupest@outlook.com>2021-12-04 20:57:26 +0800
commit42dedb18738d36e5cb3024a4c46fe7fb1e1354fa (patch)
treeffa1aa85dd4a162eaa1821ac8a5761c7459c9c14 /computer-graphics-experiment/CMakeLists.txt
parent78ce0ddf1ab18e67d62b0f6b05ab010b0e4bb8c0 (diff)
downloadlife-42dedb18738d36e5cb3024a4c46fe7fb1e1354fa.tar.gz
life-42dedb18738d36e5cb3024a4c46fe7fb1e1354fa.tar.bz2
life-42dedb18738d36e5cb3024a4c46fe7fb1e1354fa.zip
...
Diffstat (limited to 'computer-graphics-experiment/CMakeLists.txt')
-rw-r--r--computer-graphics-experiment/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/computer-graphics-experiment/CMakeLists.txt b/computer-graphics-experiment/CMakeLists.txt
new file mode 100644
index 0000000..b9557d4
--- /dev/null
+++ b/computer-graphics-experiment/CMakeLists.txt
@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 3.14)
+
+set(CMAKE_TOOLCHAIN_FILE $ENV{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake
+ CACHE STRING "Vcpkg toolchain file")
+
+set(CMAKE_CXX_STANDARD 20)
+
+project(computer-graphics-experiment)
+
+find_package(glad CONFIG REQUIRED)
+find_package(glfw3 CONFIG REQUIRED)
+
+add_executable(4 4.cpp)
+target_link_libraries(4 PRIVATE glad::glad glfw)