Skip to content
Snippets Groups Projects
Commit 6e7c7f6b authored by Tim Meyran's avatar Tim Meyran
Browse files

Merge branch 'PhysicsEngine' into 'master'

Fixed resource target destination

See merge request !1
parents 59c90ef1 635a22b5
Branches
No related tags found
1 merge request!1Fixed resource target destination
......@@ -89,21 +89,21 @@ target_link_libraries(${PROJECT_NAME} glew_s glfw glm stb_image)
#Copy shaders
add_custom_target(copy_shaders ALL
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${PROJECT_SOURCE_DIR}/shaders" "${CMAKE_CURRENT_BINARY_DIR}/shaders"
"${PROJECT_SOURCE_DIR}/shaders" "${CMAKE_BINARY_DIR}/shaders"
COMMENT "Copy shaders to build tree"
VERBATIM)
#Copy textures
add_custom_target(copy_textures ALL
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${PROJECT_SOURCE_DIR}/textures" "${CMAKE_CURRENT_BINARY_DIR}/textures"
"${PROJECT_SOURCE_DIR}/textures" "${CMAKE_BINARY_DIR}/textures"
COMMENT "Copy textures to build tree"
VERBATIM)
#Copy models
add_custom_target(copy_models ALL
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${PROJECT_SOURCE_DIR}/models" "${CMAKE_CURRENT_BINARY_DIR}/models"
"${PROJECT_SOURCE_DIR}/models" "${CMAKE_BINARY_DIR}/models"
COMMENT "Copy models to build tree"
VERBATIM)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment