Author: akhaldi
Date: Wed Jul 28 00:08:02 2010
New Revision: 48320
URL:
http://svn.reactos.org/svn/reactos?rev=48320&view=rev
Log:
[CMAKE]
- Add pseh to build.
Added:
branches/cmake-bringup/lib/pseh/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.tx…
==============================================================================
--- branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] Wed Jul 28 00:08:02 2010
@@ -13,7 +13,7 @@
add_subdirectory(fslib)
add_subdirectory(lsalib)
add_subdirectory(nls)
-#add_subdirectory(pseh)
+add_subdirectory(pseh)
add_subdirectory(recyclebin)
add_subdirectory(rossym)
add_subdirectory(rtl)
Added: branches/cmake-bringup/lib/pseh/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/pseh/CMakeLis…
==============================================================================
--- branches/cmake-bringup/lib/pseh/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/pseh/CMakeLists.txt [iso-8859-1] Wed Jul 28 00:08:02 2010
@@ -1,0 +1,16 @@
+
+file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.c
${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.S)
+
+get_directory_property(defines COMPILE_DEFINITIONS)
+
+foreach(arg ${defines})
+ set(result_defs "${result_defs} -D${arg}")
+endforeach(arg ${defines})
+
+set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o
<OBJECT> ${result_defs} -D__ASM__ <FLAGS> -c <SOURCE>")
+
+file(GLOB SOURCE "*.c")
+
+add_library(pseh ${ARCH_SOURCE} ${SOURCE})
+add_dependencies(pseh psdk)
+
Propchange: branches/cmake-bringup/lib/pseh/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native