cmake_minimum_required(VERSION 2.8) project(ray) set(CMAKE_CXX_FLAGS "-g -Wall") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) add_executable(ray60 primaryRays60.cpp) add_executable(test001 main.cpp) add_executable(skybox skybox.cpp) add_executable(diffuse primaryRaysDiffuse.cpp) add_executable(light primaryRaysLightSource.cpp) add_executable(bonus bonus.cpp)