mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
[CMAKE]
* Set RC compiler for some modules. svn path=/trunk/; revision=53109
This commit is contained in:
parent
dc953e9159
commit
bab90b199e
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(find find.c find.rc)
|
||||
|
||||
set_module_type(find win32cui)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(more more.c more.rc)
|
||||
|
||||
set_module_type(more win32cui)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(findstr findstr.c findstr.rc)
|
||||
|
||||
set_module_type(findstr win32cui)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
logoff.c
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
|
|
|
@ -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)
|
||||
|
||||
if(MSVC)
|
||||
add_importlibs(eventvwr ntdll)
|
||||
add_importlibs(eventvwr ntdll)
|
||||
endif()
|
||||
|
||||
add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(mspaint
|
||||
dialogs.c
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
bitmap.c
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(ipconfig ipconfig.c ipconfig.rc)
|
||||
set_module_type(ipconfig win32cui)
|
||||
add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
|
||||
|
|
|
@ -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)
|
||||
|
||||
if(MSVC)
|
||||
add_importlibs(ping ntdll)
|
||||
add_importlibs(ping ntdll)
|
||||
endif()
|
||||
|
||||
add_cd_file(TARGET ping DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
shutdown.c
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
dialog.c
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(write write.c rsrc.rc)
|
||||
set_module_type(write win32gui)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(vmwinst vmwinst.c vmwinst.rc)
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
set_unicode()
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(welcome welcome.c welcome.rc)
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue