[ros-diffs] [akhaldi] 48348: [CMAKE] - Add debugsup lib to build.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Thu Jul 29 01:53:32 UTC 2010


Author: akhaldi
Date: Thu Jul 29 01:53:31 2010
New Revision: 48348

URL: http://svn.reactos.org/svn/reactos?rev=48348&view=rev
Log:
[CMAKE]
- Add debugsup lib to build.

Added:
    branches/cmake-bringup/lib/debugsup/CMakeLists.txt   (with props)
Modified:
    branches/cmake-bringup/lib/CMakeLists.txt

Modified: branches/cmake-bringup/lib/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/CMakeLists.txt?rev=48348&r1=48347&r2=48348&view=diff
==============================================================================
--- branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] Thu Jul 29 01:53:31 2010
@@ -7,6 +7,7 @@
 
 add_subdirectory(3rdparty)
 add_subdirectory(atl)
+add_subdirectory(debugsup)
 add_subdirectory(dnslib)
 add_subdirectory(drivers)
 add_subdirectory(epsapi)

Added: branches/cmake-bringup/lib/debugsup/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/debugsup/CMakeLists.txt?rev=48348&view=auto
==============================================================================
--- branches/cmake-bringup/lib/debugsup/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/debugsup/CMakeLists.txt [iso-8859-1] Thu Jul 29 01:53:31 2010
@@ -1,0 +1,15 @@
+
+ADD_CUSTOM_COMMAND(
+  OUTPUT ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup_ntdll.a
+  COMMAND native-winebuild -o ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.stubs.c --pedll ${REACTOS_SOURCE_DIR}/lib/debugsup/debugsup-ntos.spec --filename ntdll.dll
+  COMMAND ${MINGW_PREFIX}gcc -o ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.stubs.o ${CMAKE_C_FLAGS} -c ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.stubs.c
+  COMMAND native-winebuild -o ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.auto.def --def -E ${REACTOS_SOURCE_DIR}/lib/debugsup/debugsup-ntos.spec --filename ntdll.dll
+  COMMAND ${MINGW_PREFIX}dlltool --def ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.auto.def --kill-at --output-lib ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup_ntdll.a
+  COMMAND ${MINGW_PREFIX}ar -rc ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup_ntdll.a ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup-ntos_debugsup_ntdll.stubs.o
+  DEPENDS native-winebuild
+)
+
+SET_SOURCE_FILES_PROPERTIES(${REACTOS_BINARY_DIR}/lib/debugsup/debugsup_ntdll.a PROPERTIES GENERATED TRUE)
+
+ADD_CUSTOM_TARGET(debugsup_ntdll ALL DEPENDS ${REACTOS_BINARY_DIR}/lib/debugsup/debugsup_ntdll.a)
+

Propchange: branches/cmake-bringup/lib/debugsup/CMakeLists.txt
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list