Author: spetreolle
Date: Sun Sep 12 15:12:20 2010
New Revision: 48755
URL:
http://svn.reactos.org/svn/reactos?rev=48755&view=rev
Log:
Add usetup to build.
Added:
branches/cmake-bringup/base/setup/usetup/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/base/CMakeLists.txt
branches/cmake-bringup/base/setup/CMakeLists.txt
Modified: branches/cmake-bringup/base/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/CMakeLists.t…
==============================================================================
--- branches/cmake-bringup/base/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/base/CMakeLists.txt [iso-8859-1] Sun Sep 12 15:12:20 2010
@@ -1,6 +1,6 @@
add_subdirectory(applications)
#add_subdirectory(services)
-#add_subdirectory(setup)
+add_subdirectory(setup)
#add_subdirectory(shell)
#add_subdirectory(system)
Modified: branches/cmake-bringup/base/setup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/setup/CMakeL…
==============================================================================
--- branches/cmake-bringup/base/setup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/base/setup/CMakeLists.txt [iso-8859-1] Sun Sep 12 15:12:20
2010
@@ -1,6 +1,6 @@
#add_subdirectory(reactos)
#add_subdirectory(setup)
-#add_subdirectory(usetup)
+add_subdirectory(usetup)
#add_subdirectory(vmwinst)
#add_subdirectory(welcome)
Added: branches/cmake-bringup/base/setup/usetup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/setup/usetup…
==============================================================================
--- branches/cmake-bringup/base/setup/usetup/CMakeLists.txt (added)
+++ branches/cmake-bringup/base/setup/usetup/CMakeLists.txt [iso-8859-1] Sun Sep 12
15:12:20 2010
@@ -1,0 +1,35 @@
+
+set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS>
<CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET>
<LINK_LIBRARIES> -Wl,-L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
+set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,-entry,_NtProcessStartup
-Wl,--enable-stdcall-fixup -Wl,--enable-auto-image-base -Wl,--kill-at
-Wl,-T,${REACTOS_SOURCE_DIR}/global.lds")
+
+add_executable(usetup WIN32
+ interface/usetup.c
+ interface/devinst.c
+ interface/consup.c
+ native/utils/keytrans.c
+ native/utils/console.c
+ native/fslist.c
+ native/console.c
+ bootsup.c
+ cabinet.c
+ chkdsk.c
+ drivesup.c
+ filesup.c
+ filequeue.c
+ format.c
+ fslist.c
+ genlist.c
+ inffile.c
+ inicache.c
+ mui.c
+ partlist.c
+ progress.c
+ registry.c
+ settings.c
+)
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/newinflib)
+include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+target_link_libraries(usetup mingw_main zlib newinflib ext2lib vfatlib
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a
+ mingw_common -lmsvcrt)
Propchange: branches/cmake-bringup/base/setup/usetup/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/cmake-bringup/base/setup/usetup/CMakeLists.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain