Author: jgardou
Date: Sat Sep 25 13:38:44 2010
New Revision: 48869
URL:
http://svn.reactos.org/svn/reactos?rev=48869&view=rev
Log:
[CMAKE]
- Add win32cui module type to gcc toolchain
- Add cacls to build
Added:
branches/cmake-bringup/base/applications/cacls/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/base/applications/CMakeLists.txt
branches/cmake-bringup/gcc.cmake
Modified: branches/cmake-bringup/base/applications/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/base/applications/CMakeLists.txt [iso-8859-1] Sat Sep 25
13:38:44 2010
@@ -1,5 +1,5 @@
-#add_subdirectory(cacls)
+add_subdirectory(cacls)
add_subdirectory(calc)
#add_subdirectory(charmap)
#add_subdirectory(cmdutils)
Added: branches/cmake-bringup/base/applications/cacls/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/cacls/CMakeLists.txt (added)
+++ branches/cmake-bringup/base/applications/cacls/CMakeLists.txt [iso-8859-1] Sat Sep 25
13:38:44 2010
@@ -1,0 +1,12 @@
+
+add_definitions(-DUNICODE -D_UNICODE)
+
+add_executable(cacls
+ cacls.c
+ cacls.rc)
+
+set_module_type(cacls win32cui)
+
+add_importlibs(cacls advapi32 ntdll user32 shell32 msvcrt)
+
+add_dependencies(cacls psdk)
Propchange: branches/cmake-bringup/base/applications/cacls/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: branches/cmake-bringup/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/gcc.cmake?rev=488…
==============================================================================
--- branches/cmake-bringup/gcc.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/gcc.cmake [iso-8859-1] Sat Sep 25 13:38:44 2010
@@ -57,6 +57,10 @@
set_subsystem(${MODULE} windows)
set_entrypoint(${MODULE} wWinMainCRTStartup)
endif()
+ if(${TYPE} MATCHES win32cui)
+ set_subsystem(${MODULE} windows)
+ set_entrypoint(${MODULE} mainCRTStartup)
+ endif()
endmacro()
endif()