CGI/exercise1/CMakeLists.txt

13 lines
322 B
Text
Raw Normal View History

2018-09-06 12:35:43 +00:00
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})