Add CMake files for the testbed

This commit is contained in:
Pierre Dejoue
2020-08-27 19:12:15 +02:00
parent 7125fdb13b
commit 05546087fb
2 changed files with 20 additions and 0 deletions

15
testbed/CMakeLists.txt Normal file
View File

@@ -0,0 +1,15 @@
# Dependencies
find_package(glfw3 3.3 REQUIRED)
find_package(OpenGL REQUIRED)
# Build testbed
add_executable(testbed
main.cc
)
target_link_libraries(testbed
PRIVATE
glfw
OpenGL::GL
poly2tri
)