[ros-diffs] [jgardou] 49418: [CMAKE] - improve win32k/CMakeLists.txt

jgardou at svn.reactos.org jgardou at svn.reactos.org
Mon Nov 1 22:55:57 UTC 2010


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/win32k/CMakeLists.txt?rev=49418&r1=49417&r2=49418&view=diff
==============================================================================
--- 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)




More information about the Ros-diffs mailing list