Author: akhaldi
Date: Fri Apr 13 21:35:00 2012
New Revision: 56343

URL: http://svn.reactos.org/svn/reactos?rev=56343&view=rev
Log:
[NTKRNLMP]
* Properly set the exports to refer to ntkrnlmp.exe instead of ntoskrnl.exe.

Modified:
    trunk/reactos/ntoskrnl/CMakeLists.txt

Modified: trunk/reactos/ntoskrnl/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/CMakeLists.txt?rev=56343&r1=56342&r2=56343&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] Fri Apr 13 21:35:00 2012
@@ -273,8 +273,7 @@
     se/token.c
     vf/driver.c
     wmi/wmi.c
-    ntoskrnl.rc
-    ${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
+    ntoskrnl.rc)
 
 if(ARCH MATCHES i386)
     list(APPEND SOURCE
@@ -423,7 +422,9 @@
 
 endif()
 
-add_executable(ntoskrnl ${SOURCE})
+add_executable(ntoskrnl
+    ${SOURCE}
+    ${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
 
 if (ARCH MATCHES i386)
   set_entrypoint(ntoskrnl KiSystemStartup 4)
@@ -462,7 +463,12 @@
 add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB FOR all)
 
 if(BUILD_MP)
-    add_executable(ntkrnlmp ${SOURCE})
+    spec2def(ntkrnlmp.exe ntoskrnl.spec)
+
+    add_executable(ntkrnlmp
+        ${SOURCE}
+        ${CMAKE_CURRENT_BINARY_DIR}/ntkrnlmp.def)
+
     add_target_compile_definitions(ntkrnlmp CONFIG_SMP)
 
     if(ARCH MATCHES i386)


Reply via email to