Author: akhaldi
Date: Sat Aug 6 23:18:17 2011
New Revision: 53109
URL:
http://svn.reactos.org/svn/reactos?rev=53109&view=rev
Log:
[CMAKE]
* Set RC compiler for some modules.
Modified:
trunk/reactos/base/applications/cmdutils/find/CMakeLists.txt
trunk/reactos/base/applications/cmdutils/more/CMakeLists.txt
trunk/reactos/base/applications/cmdutils/reg/CMakeLists.txt
trunk/reactos/base/applications/cmdutils/xcopy/CMakeLists.txt
trunk/reactos/base/applications/findstr/CMakeLists.txt
trunk/reactos/base/applications/logoff/CMakeLists.txt
trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt
trunk/reactos/base/applications/mspaint/CMakeLists.txt
trunk/reactos/base/applications/mstsc/CMakeLists.txt
trunk/reactos/base/applications/network/ipconfig/CMakeLists.txt
trunk/reactos/base/applications/network/ping/CMakeLists.txt
trunk/reactos/base/applications/shutdown/CMakeLists.txt
trunk/reactos/base/applications/sndvol32/CMakeLists.txt
trunk/reactos/base/applications/write/CMakeLists.txt
trunk/reactos/base/setup/vmwinst/CMakeLists.txt
trunk/reactos/base/setup/welcome/CMakeLists.txt
trunk/reactos/base/shell/explorer/CMakeLists.txt
Modified: trunk/reactos/base/applications/cmdutils/find/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/find/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/find/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
add_executable(find find.c find.rc)
Modified: trunk/reactos/base/applications/cmdutils/more/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/more/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/more/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
add_executable(more more.c more.rc)
Modified: trunk/reactos/base/applications/cmdutils/reg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/reg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/reg/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
Modified: trunk/reactos/base/applications/cmdutils/xcopy/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/xcopy/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/xcopy/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,10 +1,10 @@
set_unicode()
+set_rc_compiler()
add_executable(xcopy xcopy.c rsrc.rc)
target_link_libraries(xcopy wine)
-
set_module_type(xcopy win32cui)
add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET xcopy DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/findstr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/findstr/…
==============================================================================
--- trunk/reactos/base/applications/findstr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/findstr/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
add_executable(findstr findstr.c findstr.rc)
Modified: trunk/reactos/base/applications/logoff/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/logoff/C…
==============================================================================
--- trunk/reactos/base/applications/logoff/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/logoff/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17
2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
list(APPEND SOURCE
misc.c
Modified: trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt [iso-8859-1] Sat Aug
6 23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
list(APPEND SOURCE
about.c
Modified: trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1] Sat Aug
6 23:18:17 2011
@@ -1,13 +1,14 @@
set_unicode()
+set_rc_compiler()
add_executable(eventvwr eventvwr.c eventvwr.rc)
set_module_type(eventvwr win32gui)
+add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
-add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
if(MSVC)
-add_importlibs(eventvwr ntdll)
+ add_importlibs(eventvwr ntdll)
endif()
add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mspaint/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
add_executable(mspaint
dialogs.c
Modified: trunk/reactos/base/applications/mstsc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/CM…
==============================================================================
--- trunk/reactos/base/applications/mstsc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17
2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
list(APPEND SOURCE
bitmap.c
Modified: trunk/reactos/base/applications/network/ipconfig/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ipconfig/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/network/ipconfig/CMakeLists.txt [iso-8859-1] Sat Aug
6 23:18:17 2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
add_executable(ipconfig ipconfig.c ipconfig.rc)
set_module_type(ipconfig win32cui)
Modified: trunk/reactos/base/applications/network/ping/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ping/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ping/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,16 +1,16 @@
-set_unicode()
add_definitions(-D__USE_W32_SOCKETS)
set_unicode()
+set_rc_compiler()
add_executable(ping ping.c ping.rc)
set_module_type(ping win32cui)
+add_importlibs(ping ws2_32 msvcrt kernel32)
-add_importlibs(ping ws2_32 msvcrt kernel32)
if(MSVC)
-add_importlibs(ping ntdll)
+ add_importlibs(ping ntdll)
endif()
add_cd_file(TARGET ping DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/shutdown/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown…
==============================================================================
--- trunk/reactos/base/applications/shutdown/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/shutdown/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,3 +1,5 @@
+
+set_rc_compiler()
list(APPEND SOURCE
misc.c
Modified: trunk/reactos/base/applications/sndvol32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndvol32…
==============================================================================
--- trunk/reactos/base/applications/sndvol32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndvol32/CMakeLists.txt [iso-8859-1] Sat Aug 6
23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
list(APPEND SOURCE
dialog.c
Modified: trunk/reactos/base/applications/write/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/write/CM…
==============================================================================
--- trunk/reactos/base/applications/write/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/write/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17
2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
add_executable(write write.c rsrc.rc)
set_module_type(write win32gui)
Modified: trunk/reactos/base/setup/vmwinst/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/vmwinst/CMakeLi…
==============================================================================
--- trunk/reactos/base/setup/vmwinst/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/setup/vmwinst/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
add_executable(vmwinst vmwinst.c vmwinst.rc)
Modified: trunk/reactos/base/setup/welcome/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/welcome/CMakeLi…
==============================================================================
--- trunk/reactos/base/setup/welcome/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/setup/welcome/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17 2011
@@ -1,5 +1,6 @@
set_unicode()
+set_rc_compiler()
add_executable(welcome welcome.c welcome.rc)
Modified: trunk/reactos/base/shell/explorer/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/CMakeL…
==============================================================================
--- trunk/reactos/base/shell/explorer/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/CMakeLists.txt [iso-8859-1] Sat Aug 6 23:18:17
2011
@@ -2,6 +2,7 @@
add_subdirectory(notifyhook)
set_unicode()
+set_rc_compiler()
#NOTE : explorer doesn't follow standard c++, and so doesn't compile with stlport
headers
#I'm not willing to do it if explorer_new is hanging around.