The bulk of the work to create an OpenGL context on windows and load the some of the functions required to get a triangle rendering using modern OpenGL
15 lines
228 B
CMake
15 lines
228 B
CMake
include(${CMAKE_SCRIPTS_DIR}/googletest.cmake)
|
|
|
|
add_executable(
|
|
opengl-starter-test
|
|
test_main.cpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
opengl-starter-test
|
|
gtest_main
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(opengl-starter-test)
|