mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[CMAKE]
- More work on the base modules. svn path=/branches/cmake-bringup/; revision=49062
This commit is contained in:
parent
8db8028cbd
commit
2541969bd0
32 changed files with 62 additions and 54 deletions
|
@ -13,4 +13,4 @@ add_pch(sndvol32 ${CMAKE_CURRENT_SOURCE_DIR}/sndvol32.h ${SOURCE})
|
|||
|
||||
set_module_type(sndvol32 win32gui)
|
||||
|
||||
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32)
|
||||
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_definitions(-D__ROS_LONG64__)
|
||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
add_definitions(-Dfileno=_fileno)
|
||||
add_definitions(-Disatty=_isatty)
|
||||
add_definitions(
|
||||
-D__ROS_LONG64__
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-Dfileno=_fileno
|
||||
-Disatty=_isatty)
|
||||
|
||||
add_executable(winhlp32
|
||||
callback.c
|
||||
|
@ -17,5 +19,4 @@ add_executable(winhlp32
|
|||
set_module_type(winhlp32 win32gui)
|
||||
|
||||
target_link_libraries(winhlp32 wine)
|
||||
|
||||
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32)
|
||||
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -6,6 +6,6 @@ add_subdirectory(spoolsv)
|
|||
add_subdirectory(svchost)
|
||||
add_subdirectory(tcpsvcs)
|
||||
add_subdirectory(telnetd)
|
||||
add_subdirectory(tftpd)
|
||||
#add_subdirectory(tftpd)
|
||||
add_subdirectory(umpnpmgr)
|
||||
add_subdirectory(wlansvc)
|
||||
|
|
|
@ -11,5 +11,5 @@ add_executable(audiosrv
|
|||
audiosrv.rc)
|
||||
|
||||
set_module_type(audiosrv win32cui)
|
||||
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt)
|
||||
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt kernel32)
|
||||
|
||||
|
|
|
@ -18,4 +18,4 @@ add_pch(eventlog ${CMAKE_CURRENT_SOURCE_DIR}/eventlog.h ${SOURCE})
|
|||
|
||||
set_module_type(eventlog win32cui)
|
||||
|
||||
add_importlibs(eventlog advapi32 rpcrt4 msvcrt)
|
||||
add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -16,4 +16,4 @@ add_pch(rpcss ${CMAKE_CURRENT_SOURCE_DIR}/rpcss.h ${SOURCE})
|
|||
|
||||
set_module_type(rpcss win32cui)
|
||||
|
||||
add_importlibs(rpcss advapi32 rpcrt4 msvcrt)
|
||||
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -6,4 +6,4 @@ add_executable(spoolsv spoolsv.c spoolsv.rc)
|
|||
target_link_libraries(spoolsv wine)
|
||||
|
||||
set_module_type(spoolsv win32cui)
|
||||
add_importlibs(spoolsv advapi32 msvcrt)
|
||||
add_importlibs(spoolsv advapi32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
add_executable(svchost svchost.c svchost.rc)
|
||||
|
||||
set_module_type(svchost win32cui)
|
||||
add_importlibs(svchost advapi32 msvcrt)
|
||||
add_importlibs(svchost advapi32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -16,5 +16,5 @@ add_executable(tcpsvcs ${CMAKE_CURRENT_BINARY_DIR}/tcpsvcs_tcpsvcs.h.gch ${SOURC
|
|||
|
||||
add_pch(tcpsvcs ${CMAKE_CURRENT_SOURCE_DIR}/tcpsvcs.h ${SOURCE})
|
||||
set_module_type(tcpsvcs win32cui)
|
||||
add_importlibs(tcpsvcs ws2_32 advapi32 msvcrt)
|
||||
add_importlibs(tcpsvcs ws2_32 advapi32 msvcrt kernel32 ntdll)
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@ add_executable(telnetd
|
|||
target_link_libraries(telnetd wine)
|
||||
|
||||
set_module_type(telnetd win32cui)
|
||||
add_importlibs(telnetd advapi32 ws2_32 msvcrt)
|
||||
add_importlibs(telnetd advapi32 ws2_32 msvcrt kernel32 ntdll)
|
||||
|
||||
|
|
|
@ -4,4 +4,4 @@ add_executable(tftpd tftpd.cpp)
|
|||
target_link_libraries(tftpd wine)
|
||||
|
||||
set_module_type(tftpd win32cui)
|
||||
add_importlibs(tftpd advapi32 ws2_32 msvcrt)
|
||||
add_importlibs(tftpd advapi32 ws2_32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -13,4 +13,6 @@ add_importlibs(umpnpmgr
|
|||
advapi32
|
||||
rpcrt4
|
||||
userenv
|
||||
msvcrt)
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
|
|
@ -11,4 +11,6 @@ add_importlibs(wlansvc
|
|||
advapi32
|
||||
rpcrt4
|
||||
iphlpapi
|
||||
msvcrt)
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(reactos
|
||||
reactos.c
|
||||
reactos.rc)
|
||||
add_executable(reactos reactos.c reactos.rc)
|
||||
|
||||
target_link_libraries(reactos uuid)
|
||||
|
||||
|
@ -13,4 +11,6 @@ add_importlibs(reactos
|
|||
user32
|
||||
comctl32
|
||||
setupapi
|
||||
msvcrt)
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(setup
|
||||
setup.c
|
||||
setup.rc)
|
||||
add_executable(setup setup.c setup.rc)
|
||||
|
||||
set_module_type(setup win32gui)
|
||||
add_importlibs(setup userenv msvcrt)
|
||||
add_importlibs(setup userenv msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/lib/newinflib)
|
|||
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
||||
|
||||
add_executable(usetup WIN32
|
||||
add_executable(usetup
|
||||
interface/usetup.c
|
||||
interface/devinst.c
|
||||
interface/consup.c
|
||||
|
@ -38,5 +38,4 @@ target_link_libraries(usetup
|
|||
mingw_common)
|
||||
|
||||
set_module_type(usetup nativecui)
|
||||
|
||||
add_dependencies(usetup psdk buildno_header)
|
||||
add_importlibs(usetup kernel32 ntdll)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(vmwinst
|
||||
vmwinst.c
|
||||
vmwinst.rc)
|
||||
add_executable(vmwinst vmwinst.c vmwinst.rc)
|
||||
|
||||
target_link_libraries(vmwinst pseh)
|
||||
|
||||
|
@ -16,4 +14,6 @@ add_importlibs(vmwinst
|
|||
user32
|
||||
setupapi
|
||||
shell32
|
||||
msvcrt)
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(welcome
|
||||
welcome.c
|
||||
welcome.rc)
|
||||
add_executable(welcome welcome.c welcome.rc)
|
||||
|
||||
set_module_type(welcome win32gui)
|
||||
add_importlibs(welcome gdi32 user32 msvcrt)
|
||||
add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -20,9 +20,9 @@ add_executable(explorer_new ${CMAKE_CURRENT_BINARY_DIR}/explorer_new_precomp.h.g
|
|||
|
||||
target_link_libraries(explorer_new uuid)
|
||||
|
||||
add_pch(explorer_new ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
|
||||
add_pch(explorer_new ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
set_module_type(explorer_new win32gui)
|
||||
add_importlibs(explorer_new
|
||||
add_importlibs(explorer_new
|
||||
advapi32
|
||||
gdi32
|
||||
user32
|
||||
|
@ -31,4 +31,6 @@ add_importlibs(explorer_new
|
|||
oleaut32
|
||||
shell32
|
||||
shlwapi
|
||||
msvcrt)
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
|
|
@ -4,3 +4,4 @@ add_executable(autochk WIN32 autochk.c autochk.rc)
|
|||
set_module_type(autochk nativecui)
|
||||
|
||||
target_link_libraries(autochk mingw_common nt)
|
||||
add_importlibs(autochk kernel32 ntdll)
|
|
@ -5,4 +5,4 @@ add_executable(bootok bootok.c bootok.rc)
|
|||
|
||||
set_module_type(bootok win32cui)
|
||||
|
||||
add_importlibs(bootok advapi32 msvcrt)
|
||||
add_importlibs(bootok advapi32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -5,4 +5,4 @@ add_executable(expand expand.c expand.rc)
|
|||
|
||||
set_module_type(expand win32cui)
|
||||
|
||||
add_importlibs(expand lz32 setupapi user32 msvcrt)
|
||||
add_importlibs(expand lz32 setupapi user32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -6,4 +6,4 @@ add_executable(format format.c format.rc)
|
|||
|
||||
set_module_type(format win32cui)
|
||||
|
||||
add_importlibs(format ntdll user32 fmifs msvcrt)
|
||||
add_importlibs(format ntdll user32 fmifs msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -7,4 +7,4 @@ add_executable(lsass lsass.c lsass.rc)
|
|||
|
||||
set_module_type(lsass win32gui)
|
||||
|
||||
add_importlibs(lsass advapi32 lsasrv msvcrt)
|
||||
add_importlibs(lsass advapi32 lsasrv msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -9,5 +9,7 @@ add_executable(msiexec
|
|||
|
||||
set_module_type(msiexec win32gui)
|
||||
|
||||
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt)
|
||||
target_link_libraries(msiexec uuid wine)
|
||||
|
||||
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt kernel32 ntdll)
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ add_executable(regsvr32 regsvr32.c regsvr32.rc)
|
|||
|
||||
set_module_type(regsvr32 win32gui)
|
||||
|
||||
add_importlibs(regsvr32 user32 shell32 ole32 msvcrt)
|
||||
add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -7,4 +7,4 @@ add_executable(rundll32 rundll32.c rundll32.rc)
|
|||
|
||||
set_module_type(rundll32 win32gui)
|
||||
|
||||
add_importlibs(rundll32 user32 msvcrt)
|
||||
add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -5,4 +5,4 @@ add_executable(runonce runonce.c runonce.rc)
|
|||
|
||||
set_module_type(runonce win32gui)
|
||||
|
||||
add_importlibs(runonce advapi32 user32 msvcrt)
|
||||
add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -22,5 +22,5 @@ add_pch(services ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${SOURCE})
|
|||
|
||||
set_module_type(services win32cui)
|
||||
|
||||
add_importlibs(services user32 advapi32 rpcrt4 msvcrt)
|
||||
add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
|
||||
|
|
|
@ -24,8 +24,9 @@ list(APPEND SOURCE
|
|||
|
||||
add_executable(smss WIN32 ${CMAKE_CURRENT_BINARY_DIR}/smss_smss.h.gch ${SOURCE})
|
||||
|
||||
target_link_libraries(smss mingw_common nt smlib)
|
||||
|
||||
add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE})
|
||||
|
||||
set_module_type(smss nativecui)
|
||||
add_importlibs(smss ntdll)
|
||||
target_link_libraries(smss mingw_common nt smlib)
|
||||
|
|
|
@ -5,7 +5,8 @@ set_rc_compiler()
|
|||
|
||||
add_executable(userinit userinit.c userinit.rc)
|
||||
|
||||
target_link_libraries(userinit wine)
|
||||
|
||||
set_module_type(userinit win32gui)
|
||||
|
||||
add_importlibs(userinit user32 gdi32 advapi32 shell32 shlwapi msvcrt)
|
||||
target_link_libraries(userinit wine)
|
||||
add_importlibs(userinit user32 gdi32 advapi32 shell32 shlwapi msvcrt kernel32 ntdll)
|
||||
|
|
|
@ -10,9 +10,10 @@ list(APPEND SOURCE
|
|||
|
||||
add_executable(winlogon ${CMAKE_CURRENT_BINARY_DIR}/winlogon_winlogon.h.gch ${SOURCE})
|
||||
|
||||
target_link_libraries(winlogon wine)
|
||||
|
||||
add_pch(winlogon ${CMAKE_CURRENT_SOURCE_DIR}/winlogon.h ${SOURCE})
|
||||
|
||||
set_module_type(winlogon win32gui)
|
||||
|
||||
add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt)
|
||||
target_link_libraries(winlogon wine)
|
||||
add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt kernel32 ntdll)
|
||||
|
|
Loading…
Reference in a new issue