Author: jgardou
Date: Mon Nov 1 22:55:56 2010
New Revision: 49418
URL:
http://svn.reactos.org/svn/reactos?rev=49418&view=rev
Log:
[CMAKE]
- improve win32k/CMakeLists.txt
Modified:
branches/cmake-bringup/subsystems/win32/win32k/CMakeLists.txt
Modified: branches/cmake-bringup/subsystems/win32/win32k/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/win32/…
==============================================================================
--- branches/cmake-bringup/subsystems/win32/win32k/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/subsystems/win32/win32k/CMakeLists.txt [iso-8859-1] Mon Nov 1
22:55:56 2010
@@ -145,7 +145,12 @@
objects/xformobj.c
stubs/stubs.c
stubs/umpdstubs.c
- win32k.rc)
+ win32k.rc
+ win32k_${ARCH}.def)
+
+if(NOT MSVC)
+ set_source_files_properties(win32k_${ARCH}.def PROPERTIES EXTERNAL_OBJECT TRUE)
+endif()
list(APPEND GENDIB_GENERATED
${CMAKE_CURRENT_BINARY_DIR}/dib/dib8gen.c
@@ -180,7 +185,6 @@
set_module_type(win32k kernelmodedriver)
target_link_libraries(win32k
- ${CMAKE_CURRENT_SOURCE_DIR}/win32k_i386.def
${PSEH_LIB}
dxguid
libcntpr)