Author: akhaldi
Date: Sat Jun 13 11:05:03 2015
New Revision: 68117
URL:
http://svn.reactos.org/svn/reactos?rev=68117&view=rev
Log:
[CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files.
CORE-9806
Modified:
trunk/reactos/cmake/CMakeMacros.cmake
Modified: trunk/reactos/cmake/CMakeMacros.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?re…
==============================================================================
--- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Sat Jun 13 11:05:03 2015
@@ -800,3 +800,7 @@
else()
set(ROSSYM_LIB "")
endif()
+
+function(add_rc_deps _target_rc)
+ set_source_files_properties(${_target_rc} PROPERTIES OBJECT_DEPENDS
"${ARGN}")
+endfunction()