ICT290 / res / models / obj / as1 / CMakeLists.txt
CMakeLists.txt
Raw
# Manual re-run of CMake is required to detect and copy new data files into the build directory
# OBJ
file(GLOB AS1models CONFIGURE_DEPENDS "*.obj")
file(COPY ${AS1models} DESTINATION ${CMAKE_BINARY_DIR}/res/models/obj/as1)

file(GLOB AS1MTL CONFIGURE_DEPENDS "*.mtl")
file(COPY ${AS1MTL} DESTINATION ${CMAKE_BINARY_DIR}/res/models/obj/as1)