Author: jgardou
Date: Mon Jul 25 22:15:08 2011
New Revision: 52877
URL:
http://svn.reactos.org/svn/reactos?rev=52877&view=rev
Log:
[CMAKE]
- add nativedll module type for msvc
- error out in msvc toolchain if unknown module type is set
Modified:
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=52877…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Mon Jul 25 22:15:08 2011
@@ -118,6 +118,10 @@
set_image_base(${MODULE} 0x00010000)
add_linkerflag(${MODULE} "/DRIVER")
add_dependencies(${MODULE} bugcodes)
+ elseif(${TYPE} MATCHES nativedll)
+ set_subsystem(${MODULE} native)
+ else()
+ message(FATAL_ERROR "Unknown module type : ${TYPE}")
endif()
endmacro()