ICT290 / res / models / obj / as2 / 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 AS2models CONFIGURE_DEPENDS "*.obj")
file(COPY ${AS2models} DESTINATION ${CMAKE_BINARY_DIR}/res/models/obj/as2)

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