add_executable(Exponent main.cc GLProgramLoader.cc Quad.cc Mesh.cc texture.cc ) target_link_libraries(Exponent PUBLIC glfw glm::glm ${PNG_LIBRARY}) target_link_libraries(Exponent PRIVATE spdlog::spdlog) target_include_directories(Exponent PUBLIC ${CMAKE_SOURCE_DIR}/include ${PNG_INCLUDE_DIR}) target_compile_definitions(Exponent PUBLIC "$<$:DEBUG>") target_compile_definitions(Exponent PRIVATE GLFW_INCLUDE_NONE) file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/shaders/shader.frag" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/shaders/") file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/shaders/shader.vert" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/shaders/") file(COPY "${CMAKE_SOURCE_DIR}/res/" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/res")