1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00
OpenMW/cmake/OpenMWMacros.cmake

13 lines
318 B
CMake
Raw Normal View History

2011-10-22 11:55:06 +00:00
macro (add_openmw_dir dir)
set (files)
foreach (u ${ARGN})
file (GLOB ALL RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${dir}/${u}.*")
foreach (f ${ALL})
list (APPEND files "${f}")
list (APPEND OPENMW_FILES "${f}")
endforeach (f)
2011-10-22 11:55:06 +00:00
endforeach (u)
2011-10-22 14:46:28 +00:00
source_group ("apps\\openmw\\${dir}" FILES ${files})
2011-10-22 11:55:06 +00:00
endmacro (add_openmw_dir)