Author: jgardou
Date: Sun Jul 17 11:34:14 2011
New Revision: 52709
URL:
http://svn.reactos.org/svn/reactos?rev=52709&view=rev
Log:
[CMAKE]
- touch dlldata.c files to avoid to recompile them on a rebuild
Modified:
trunk/reactos/cmake/idl-support.cmake
Modified: trunk/reactos/cmake/idl-support.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/idl-support.cmake?re…
==============================================================================
--- trunk/reactos/cmake/idl-support.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/idl-support.cmake [iso-8859-1] Sun Jul 17 11:34:14 2011
@@ -103,10 +103,10 @@
# Extra pass to generate dlldata
if(MSVC)
- #nobody told how to generate it, so mark it as generated
+ #touch it, so we're sure it's older than its dependencies
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
- COMMAND echo test
+ COMMAND ${CMAKE_COMMAND} -E touch
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
DEPENDS ${DLLDATA_DEPENDENCIES})
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
PROPERTIES GENERATED TRUE)
else()