CGI/exercise1/CMakeLists.txt
2018-09-06 14:35:43 +02:00

13 lines
No EOL
322 B
CMake

set(GLSL_FILES shader.vert shader.frag)
ProcessGLSLFiles(GLSL_FILES)
include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include )
add_executable(Exercise1 MACOSX_BUNDLE
glsl.cpp
src/main.cpp
src/Viewer.cpp include/Viewer.h
${GLSL_FILES})
target_link_libraries(Exercise1 CG1Common ${LIBS})