[ros-diffs] [jgardou] 53556: [CMAKE] - handle '0' entry point in set_module_type_function
jgardou at svn.reactos.org
jgardou at svn.reactos.org
Sat Sep 3 18:24:39 UTC 2011
Author: jgardou
Date: Sat Sep 3 18:24:38 2011
New Revision: 53556
URL: http://svn.reactos.org/svn/reactos?rev=53556&view=rev
Log:
[CMAKE]
- handle '0' entry point in set_module_type_function
Modified:
trunk/reactos/cmake/CMakeMacros.cmake
Modified: trunk/reactos/cmake/CMakeMacros.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?rev=53556&r1=53555&r2=53556&view=diff
==============================================================================
--- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Sat Sep 3 18:24:38 2011
@@ -264,9 +264,10 @@
endif()
# set entry point
- if(__module_ENTRYPOINT)
+ if(__module_ENTRYPOINT OR (__module_ENTRYPOINT STREQUAL "0"))
list(GET __module_ENTRYPOINT 0 __entrypoint)
list(LENGTH __module_ENTRYPOINT __length)
+ message(STATUS "Entrypoint ${__entrypoint}, module ${MODULE}")
if(${__length} EQUAL 2)
list(GET __module_ENTRYPOINT 1 __entrystack)
elseif(NOT ${__length} EQUAL 1)
More information about the Ros-diffs
mailing list