mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CMAKE]
* Remove unneeded set_rc_compiler. svn path=/trunk/; revision=57966
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE cacls.c cacls.rc)
|
||||
|
||||
add_executable(cacls ${SOURCE})
|
||||
|
||||
set_module_type(cacls win32cui UNICODE)
|
||||
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
|
||||
add_cd_file(TARGET cacls DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
|
||||
|
||||
add_executable(calc
|
||||
@@ -15,7 +13,7 @@ add_executable(calc
|
||||
set_module_type(calc win32gui UNICODE)
|
||||
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(calc ntdll)
|
||||
add_importlibs(calc ntdll)
|
||||
endif()
|
||||
add_pch(calc calc.h)
|
||||
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
charmap.c
|
||||
@@ -10,11 +8,7 @@ list(APPEND SOURCE
|
||||
charmap.rc)
|
||||
|
||||
add_executable(charmap ${SOURCE})
|
||||
|
||||
set_module_type(charmap win32gui UNICODE)
|
||||
|
||||
add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
|
||||
|
||||
add_pch(charmap precomp.h)
|
||||
|
||||
add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(doskey doskey.c doskey.rc)
|
||||
|
||||
set_module_type(doskey win32cui UNICODE)
|
||||
add_importlibs(doskey user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET doskey DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(find find.c find.rc)
|
||||
|
||||
set_module_type(find win32cui)
|
||||
add_importlibs(find user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET find DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(more more.c more.rc)
|
||||
|
||||
set_module_type(more win32cui)
|
||||
add_importlibs(more user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET more DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
add_executable(reg reg.c reg.rc)
|
||||
|
||||
set_module_type(reg win32cui UNICODE)
|
||||
add_importlibs(reg advapi32 user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(xcopy xcopy.c rsrc.rc)
|
||||
|
||||
target_link_libraries(xcopy wine)
|
||||
set_module_type(xcopy win32cui UNICODE)
|
||||
add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(control control.c control.rc)
|
||||
|
||||
set_module_type(control win32gui UNICODE)
|
||||
add_importlibs(control advapi32 shell32 msvcrt kernel32)
|
||||
add_cd_file(TARGET control DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
system.c
|
||||
display.c
|
||||
@@ -18,13 +16,8 @@ list(APPEND SOURCE
|
||||
d3dtest9.c)
|
||||
|
||||
add_executable(dxdiag ${SOURCE})
|
||||
|
||||
set_module_type(dxdiag win32gui UNICODE)
|
||||
|
||||
target_link_libraries(dxdiag dxguid)
|
||||
|
||||
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
|
||||
|
||||
add_pch(dxdiag precomp.h)
|
||||
|
||||
add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(findstr findstr.c findstr.rc)
|
||||
|
||||
set_module_type(findstr win32cui)
|
||||
add_importlibs(findstr user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET findstr DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
add_executable(fontview
|
||||
display.c
|
||||
fontview.c
|
||||
@@ -7,5 +6,4 @@ add_executable(fontview
|
||||
|
||||
set_module_type(fontview win32gui)
|
||||
add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
|
||||
|
||||
add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
set_cpp()
|
||||
set_rc_compiler()
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ set_cpp()
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(spider
|
||||
spider.cpp
|
||||
spigame.cpp
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(winmine
|
||||
main.c
|
||||
dialog.c
|
||||
@@ -11,5 +9,4 @@ add_executable(winmine
|
||||
set_module_type(winmine win32gui)
|
||||
target_link_libraries(winmine wine)
|
||||
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
|
||||
|
||||
add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
add_executable(hh main.c hh.rc)
|
||||
set_module_type(hh win32gui)
|
||||
add_importlibs(hh gdi32 user32 msvcrt kernel32)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
add_executable(iexplore main.c iexplore.rc)
|
||||
set_module_type(iexplore win32gui)
|
||||
add_importlibs(iexplore shdocvw msvcrt kernel32)
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(kbswitch kbswitch.c kbswitch.rc)
|
||||
|
||||
set_module_type(kbswitch win32gui UNICODE)
|
||||
add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt kernel32)
|
||||
|
||||
add_cd_file(TARGET kbswitch DESTINATION reactos/system32 FOR all)
|
||||
add_subdirectory(kbsdll)
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
logoff.c
|
||||
logoff.rc)
|
||||
|
||||
add_executable(logoff ${SOURCE})
|
||||
|
||||
set_module_type(logoff win32cui)
|
||||
add_importlibs(logoff advapi32 user32 msvcrt kernel32)
|
||||
add_pch(logoff precomp.h)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(magnify
|
||||
magnifier.c
|
||||
settings.c
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
console.c
|
||||
misc.c
|
||||
@@ -8,7 +6,6 @@ list(APPEND SOURCE
|
||||
mmc.rc)
|
||||
|
||||
add_executable(mmcclient ${SOURCE})
|
||||
|
||||
set_module_type(mmcclient win32gui UNICODE)
|
||||
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt kernel32)
|
||||
add_pch(mmcclient precomp.h)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(mplay32 mplay32.c mplay32.rc)
|
||||
|
||||
set_module_type(mplay32 win32gui UNICODE)
|
||||
add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt kernel32)
|
||||
add_cd_file(TARGET mplay32 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
toolspage.c
|
||||
srvpage.c
|
||||
@@ -12,7 +10,6 @@ list(APPEND SOURCE
|
||||
msconfig.rc)
|
||||
|
||||
add_executable(msconfig ${SOURCE})
|
||||
|
||||
set_module_type(msconfig win32gui UNICODE)
|
||||
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
|
||||
add_pch(msconfig precomp.h)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
devmgmt.c
|
||||
@@ -10,7 +8,6 @@ list(APPEND SOURCE
|
||||
devmgmt.rc)
|
||||
|
||||
add_executable(devmgmt ${SOURCE})
|
||||
|
||||
set_module_type(devmgmt win32gui UNICODE)
|
||||
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
|
||||
add_pch(devmgmt precomp.h)
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(eventvwr eventvwr.c eventvwr.rc)
|
||||
|
||||
set_module_type(eventvwr win32gui UNICODE)
|
||||
add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
|
||||
|
||||
if(MSVC)
|
||||
add_importlibs(eventvwr ntdll)
|
||||
endif()
|
||||
|
||||
add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
control.c
|
||||
@@ -24,11 +22,7 @@ list(APPEND SOURCE
|
||||
servman.rc)
|
||||
|
||||
add_executable(servman ${SOURCE})
|
||||
|
||||
set_module_type(servman win32gui UNICODE)
|
||||
|
||||
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
|
||||
|
||||
add_pch(servman precomp.h)
|
||||
|
||||
add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(mspaint
|
||||
dialogs.c
|
||||
dib.c
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
bitmap.c
|
||||
bsops.c
|
||||
@@ -24,11 +22,7 @@ list(APPEND SOURCE
|
||||
rdc.rc)
|
||||
|
||||
add_executable(mstsc ${SOURCE})
|
||||
|
||||
set_module_type(mstsc win32gui UNICODE)
|
||||
|
||||
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
|
||||
|
||||
add_pch(mstsc precomp.h)
|
||||
|
||||
add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(ipconfig ipconfig.c ipconfig.rc)
|
||||
set_module_type(ipconfig win32cui)
|
||||
add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
|
||||
|
||||
@@ -1,15 +1,9 @@
|
||||
|
||||
add_definitions(-D__USE_W32_SOCKETS)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(ping ping.c ping.rc)
|
||||
|
||||
set_module_type(ping win32cui UNICODE)
|
||||
add_importlibs(ping ws2_32 msvcrt kernel32)
|
||||
|
||||
if(MSVC)
|
||||
add_importlibs(ping ntdll)
|
||||
endif()
|
||||
|
||||
add_cd_file(TARGET ping DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -6,10 +6,7 @@ list(APPEND SOURCE
|
||||
text.c
|
||||
rsrc.rc)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(notepad ${SOURCE})
|
||||
|
||||
set_module_type(notepad win32gui UNICODE)
|
||||
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
|
||||
add_pch(notepad notepad.h)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
list(APPEND SOURCE
|
||||
aboutdlg.c
|
||||
available.c
|
||||
@@ -22,13 +21,10 @@ include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${REACTOS_BINARY_DIR}/include/reactos)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(rapps ${SOURCE})
|
||||
add_pch(rapps rapps.h)
|
||||
set_module_type(rapps win32gui UNICODE)
|
||||
target_link_libraries(rapps uuid)
|
||||
|
||||
add_importlibs(rapps advapi32 comctl32 gdi32 urlmon user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll)
|
||||
add_dependencies(rapps rappsmsg)
|
||||
add_message_headers(ANSI rappsmsg.mc)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
include_directories(BEFORE .)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -21,15 +19,9 @@ list(APPEND SOURCE
|
||||
regedit.rc)
|
||||
|
||||
add_executable(regedit ${SOURCE})
|
||||
|
||||
set_module_type(regedit win32gui UNICODE)
|
||||
|
||||
target_link_libraries(regedit uuid)
|
||||
|
||||
add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
|
||||
|
||||
add_pch(regedit regedit.h)
|
||||
|
||||
#add_subdirectory(clb)
|
||||
|
||||
add_cd_file(TARGET regedit DESTINATION reactos FOR all)
|
||||
#add_subdirectory(clb)
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
spec2def(clb.dll clb.spec)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_library(clb SHARED
|
||||
clb.c
|
||||
clb.rc
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(regedt32 regedt32.c resource.rc)
|
||||
|
||||
set_module_type(regedt32 win32gui UNICODE)
|
||||
add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
|
||||
add_cd_file(TARGET regedt32 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(3dtext
|
||||
3dtext.c
|
||||
settings.c
|
||||
@@ -11,5 +9,4 @@ add_pch(3dtext 3dtext.h)
|
||||
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
|
||||
target_link_libraries(3dtext scrnsave)
|
||||
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
|
||||
|
||||
add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(logon logon.c logon.rc)
|
||||
|
||||
set_module_type(logon win32gui UNICODE)
|
||||
set_target_properties(logon PROPERTIES SUFFIX ".scr")
|
||||
|
||||
target_link_libraries(logon scrnsave)
|
||||
add_importlibs(logon user32 gdi32 msvcrt kernel32)
|
||||
add_cd_file(TARGET logon DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(setup16
|
||||
main.c)
|
||||
|
||||
add_executable(setup16 main.c)
|
||||
set_module_type(setup16 win32gui UNICODE)
|
||||
add_importlibs(setup16 user32 gdi32 advapi32 msvcrt kernel32 shell32 setupapi)
|
||||
|
||||
add_cd_file(TARGET setup16 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
gui.c
|
||||
misc.c
|
||||
@@ -8,7 +6,6 @@ list(APPEND SOURCE
|
||||
shutdown.rc)
|
||||
|
||||
add_executable(shutdown ${SOURCE})
|
||||
|
||||
set_module_type(shutdown win32cui UNICODE)
|
||||
add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
|
||||
add_pch(shutdown precomp.h)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
set_cpp()
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(sndrec32
|
||||
audio_format.cpp
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
dialog.c
|
||||
misc.c
|
||||
@@ -9,7 +7,6 @@ list(APPEND SOURCE
|
||||
sndvol32.rc)
|
||||
|
||||
add_executable(sndvol32 ${SOURCE})
|
||||
|
||||
set_module_type(sndvol32 win32gui UNICODE)
|
||||
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
|
||||
add_pch(sndvol32 sndvol32.h)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
affinity.c
|
||||
@@ -23,7 +21,6 @@ list(APPEND SOURCE
|
||||
taskmgr.rc)
|
||||
|
||||
add_executable(taskmgr ${SOURCE})
|
||||
|
||||
set_module_type(taskmgr win32gui UNICODE)
|
||||
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
|
||||
add_pch(taskmgr precomp.h)
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(reactos reactos.c reactos.rc)
|
||||
|
||||
target_link_libraries(reactos uuid)
|
||||
|
||||
set_module_type(reactos win32gui UNICODE)
|
||||
add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET reactos DESTINATION reactos NO_CAB FOR bootcd)
|
||||
|
||||
@@ -1,21 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(vmwinst vmwinst.c vmwinst.rc)
|
||||
|
||||
target_link_libraries(vmwinst ${PSEH_LIB})
|
||||
|
||||
set_module_type(vmwinst win32gui UNICODE)
|
||||
add_importlibs(vmwinst
|
||||
advapi32
|
||||
comctl32
|
||||
comdlg32
|
||||
newdev
|
||||
user32
|
||||
setupapi
|
||||
shell32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_importlibs(vmwinst advapi32 comctl32 comdlg32 newdev user32 setupapi shell32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET vmwinst DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(welcome welcome.c welcome.rc)
|
||||
|
||||
set_module_type(welcome win32gui UNICODE)
|
||||
add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET welcome DESTINATION reactos NO_CAB FOR bootcd)
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
|
||||
|
||||
add_definitions(
|
||||
-DANONYMOUSUNIONS
|
||||
-D_DEBUG_MEM)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE main.c cmd.rc)
|
||||
|
||||
list(APPEND SOURCE
|
||||
alias.c
|
||||
assoc.c
|
||||
@@ -43,6 +38,7 @@ list(APPEND SOURCE
|
||||
internal.c
|
||||
label.c
|
||||
locale.c
|
||||
main.c
|
||||
memory.c
|
||||
misc.c
|
||||
mklink.c
|
||||
@@ -69,12 +65,11 @@ list(APPEND SOURCE
|
||||
verify.c
|
||||
vol.c
|
||||
where.c
|
||||
window.c)
|
||||
window.c
|
||||
cmd.rc)
|
||||
|
||||
add_executable(cmd ${SOURCE})
|
||||
|
||||
target_link_libraries(cmd wine)
|
||||
|
||||
set_module_type(cmd win32cui UNICODE)
|
||||
add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
|
||||
add_pch(cmd precomp.h)
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
|
||||
add_definitions(-DWIN32)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
list(APPEND SOURCE
|
||||
desktop.c
|
||||
dragdrop.c
|
||||
@@ -18,23 +15,8 @@ list(APPEND SOURCE
|
||||
explorer.rc)
|
||||
|
||||
add_executable(explorer_new ${SOURCE})
|
||||
|
||||
target_link_libraries(explorer_new uuid)
|
||||
|
||||
set_module_type(explorer_new win32gui UNICODE)
|
||||
add_importlibs(explorer_new
|
||||
advapi32
|
||||
gdi32
|
||||
user32
|
||||
comctl32
|
||||
ole32
|
||||
oleaut32
|
||||
shell32
|
||||
shlwapi
|
||||
version
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
add_importlibs(explorer_new advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 shlwapi version msvcrt kernel32 ntdll)
|
||||
add_pch(explorer_new precomp.h)
|
||||
|
||||
add_cd_file(TARGET explorer_new DESTINATION reactos FOR all)
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
add_subdirectory(notifyhook)
|
||||
|
||||
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.
|
||||
#jgardou
|
||||
@@ -53,7 +51,6 @@ list(APPEND SOURCE
|
||||
utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
|
||||
|
||||
add_executable(explorer ${SOURCE})
|
||||
|
||||
set_subsystem(explorer windows)
|
||||
set_entrypoint(explorer wWinMainCRTStartup)
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(diskpart
|
||||
active.c
|
||||
@@ -44,6 +43,6 @@ add_executable(diskpart
|
||||
set_module_type(diskpart win32cui UNICODE)
|
||||
add_importlibs(diskpart user32 msvcrt kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(diskpart ntdll)
|
||||
add_importlibs(diskpart ntdll)
|
||||
endif()
|
||||
add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all)
|
||||
add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(format format.c format.rc)
|
||||
|
||||
set_module_type(format win32cui)
|
||||
add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(regsvr32 regsvr32.c regsvr32.rc)
|
||||
|
||||
set_module_type(regsvr32 win32gui UNICODE)
|
||||
add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET regsvr32 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
include_directories(.)
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(rundll32 rundll32.c rundll32.rc)
|
||||
|
||||
set_module_type(rundll32 win32gui UNICODE)
|
||||
add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET rundll32 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(runonce runonce.c runonce.rc)
|
||||
|
||||
set_module_type(runonce win32gui UNICODE)
|
||||
add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET runonce DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
add_executable(subst subst.c subst.rc)
|
||||
|
||||
set_module_type(subst win32cui UNICODE)
|
||||
add_importlibs(subst msvcrt kernel32 user32 ntdll)
|
||||
add_cd_file(TARGET subst DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -209,9 +209,6 @@ function(set_module_type_toolchain MODULE TYPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(set_rc_compiler)
|
||||
endfunction()
|
||||
|
||||
function(add_delay_importlibs MODULE)
|
||||
foreach(LIB ${ARGN})
|
||||
target_link_libraries(${MODULE} lib${LIB}_delayed)
|
||||
|
||||
@@ -117,9 +117,6 @@ function(set_module_type_toolchain MODULE TYPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(set_rc_compiler)
|
||||
endfunction()
|
||||
|
||||
#define those for having real libraries
|
||||
set(CMAKE_IMPLIB_CREATE_STATIC_LIBRARY "LINK /LIB /NOLOGO <LINK_FLAGS> /OUT:<TARGET> <OBJECTS>")
|
||||
set(CMAKE_STUB_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> /Cp /Fo<OBJECT> /c /Ta <SOURCE>")
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(access.cpl access.spec)
|
||||
|
||||
add_library(access SHARED
|
||||
@@ -11,17 +9,9 @@ add_library(access SHARED
|
||||
mouse.c
|
||||
sound.c
|
||||
access.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/access.def)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/access.def)
|
||||
|
||||
set_module_type(access cpl UNICODE)
|
||||
|
||||
add_importlibs(access
|
||||
msvcrt
|
||||
user32
|
||||
gdi32
|
||||
advapi32
|
||||
comctl32
|
||||
kernel32)
|
||||
|
||||
add_importlibs(access user32 gdi32 advapi32 comctl32 msvcrt kernel32)
|
||||
add_pch(access access.h)
|
||||
add_cd_file(TARGET access DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(appwiz.cpl appwiz.spec)
|
||||
|
||||
add_library(appwiz SHARED
|
||||
@@ -10,17 +8,7 @@ add_library(appwiz SHARED
|
||||
${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
|
||||
|
||||
set_module_type(appwiz cpl UNICODE)
|
||||
|
||||
target_link_libraries(appwiz uuid)
|
||||
|
||||
add_importlibs(appwiz
|
||||
msvcrt
|
||||
user32
|
||||
ole32
|
||||
advapi32
|
||||
comctl32
|
||||
shell32
|
||||
kernel32)
|
||||
|
||||
add_importlibs(appwiz user32 ole32 advapi32 comctl32 shell32 msvcrt kernel32)
|
||||
add_pch(appwiz appwiz.h)
|
||||
add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
add_definitions(-D_WIN32)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(desk.cpl desk.spec)
|
||||
|
||||
add_library(desk SHARED
|
||||
@@ -27,7 +25,6 @@ add_library(desk SHARED
|
||||
${CMAKE_CURRENT_BINARY_DIR}/desk.def)
|
||||
|
||||
set_module_type(desk cpl UNICODE)
|
||||
|
||||
target_link_libraries(desk uuid)
|
||||
|
||||
add_importlibs(desk
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(hdwwiz.cpl hdwwiz.spec)
|
||||
|
||||
add_library(hdwwiz SHARED hdwwiz.c hdwwiz.rc ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
|
||||
|
||||
set_module_type(hdwwiz cpl UNICODE)
|
||||
|
||||
add_importlibs(hdwwiz
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(inetcpl.cpl inetcpl.spec)
|
||||
@@ -15,26 +13,8 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
|
||||
|
||||
add_library(inetcpl SHARED ${SOURCE})
|
||||
|
||||
set_module_type(inetcpl cpl UNICODE)
|
||||
|
||||
target_link_libraries(inetcpl wine)
|
||||
|
||||
add_importlibs(inetcpl
|
||||
advapi32
|
||||
comctl32
|
||||
user32
|
||||
gdi32
|
||||
shlwapi
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_delay_importlibs(inetcpl
|
||||
cryptui
|
||||
wininet
|
||||
ole32
|
||||
urlmon)
|
||||
|
||||
add_importlibs(inetcpl advapi32 comctl32 user32 gdi32 shlwapi msvcrt kernel32 ntdll)
|
||||
add_delay_importlibs(inetcpl cryptui wininet ole32 urlmon)
|
||||
add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(input.dll input.spec)
|
||||
|
||||
add_library(input SHARED
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(intl.cpl intl.spec)
|
||||
|
||||
add_library(intl SHARED
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(joy.cpl joy.spec)
|
||||
|
||||
add_library(joy SHARED joy.c joy.rc ${CMAKE_CURRENT_BINARY_DIR}/joy.def)
|
||||
|
||||
set_module_type(joy cpl UNICODE)
|
||||
|
||||
target_link_libraries(joy uuid)
|
||||
|
||||
add_importlibs(joy
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(mmsys.cpl mmsys.spec)
|
||||
|
||||
add_library(mmsys SHARED
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(powercfg.cpl powercfg.spec)
|
||||
|
||||
add_library(powercfg SHARED
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(sysdm.cpl sysdm.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -18,7 +16,6 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
|
||||
|
||||
add_library(sysdm SHARED ${SOURCE})
|
||||
|
||||
set_module_type(sysdm cpl UNICODE)
|
||||
|
||||
add_importlibs(sysdm
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(telephon.cpl telephon.spec)
|
||||
|
||||
add_library(telephon SHARED telephon.c telephon.rc ${CMAKE_CURRENT_BINARY_DIR}/telephon.def)
|
||||
|
||||
set_module_type(telephon cpl UNICODE)
|
||||
|
||||
target_link_libraries(telephon uuid)
|
||||
|
||||
add_importlibs(telephon
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(timedate.cpl timedate.spec)
|
||||
|
||||
add_library(timedate SHARED
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(usrmgr.cpl usrmgr.spec)
|
||||
|
||||
add_library(usrmgr SHARED
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(wined3dcfg.cpl wined3dcfg.spec)
|
||||
|
||||
add_library(wined3dcfg SHARED
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -21,11 +19,7 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(dplayx SHARED ${SOURCE})
|
||||
set_module_type(dplayx win32dll)
|
||||
|
||||
target_link_libraries(dplayx
|
||||
wine
|
||||
uuid
|
||||
dxguid)
|
||||
target_link_libraries(dplayx wine uuid dxguid)
|
||||
|
||||
add_importlibs(dplayx
|
||||
advapi32
|
||||
@@ -37,4 +31,3 @@ add_importlibs(dplayx
|
||||
ntdll)
|
||||
|
||||
add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
|
||||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3d8.dll d3d8.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -25,9 +22,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
||||
|
||||
add_library(d3d8 SHARED ${SOURCE})
|
||||
|
||||
set_module_type(d3d8 win32dll UNICODE)
|
||||
|
||||
target_link_libraries(d3d8 uuid wine)
|
||||
|
||||
add_importlibs(d3d8
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
|
||||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3d9.dll d3d9.spec ADD_IMPORTLIB)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -28,9 +25,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
|
||||
|
||||
add_library(d3d9 SHARED ${SOURCE})
|
||||
|
||||
set_module_type(d3d9 win32dll UNICODE)
|
||||
|
||||
target_link_libraries(d3d9 uuid wine)
|
||||
|
||||
add_importlibs(d3d9
|
||||
@@ -45,4 +40,3 @@ add_importlibs(d3d9
|
||||
add_dependencies(d3d9 wineheaders)
|
||||
add_pch(d3d9 d3d9_private.h)
|
||||
add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_24.dll d3dx9_24.spec ADD_IMPORTLIB)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_24 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_24 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_24
|
||||
wine)
|
||||
target_link_libraries(d3dx9_24 wine)
|
||||
|
||||
add_importlibs(d3dx9_24
|
||||
d3dx9_36
|
||||
@@ -30,4 +25,3 @@ add_importlibs(d3dx9_24
|
||||
|
||||
add_dependencies(d3dx9_24 wineheaders)
|
||||
add_cd_file(TARGET d3dx9_24 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_25.dll d3dx9_25.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_25 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_25 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_25
|
||||
wine)
|
||||
target_link_libraries(d3dx9_25 wine)
|
||||
|
||||
add_importlibs(d3dx9_25
|
||||
d3dx9_36
|
||||
@@ -31,4 +26,3 @@ add_importlibs(d3dx9_25
|
||||
|
||||
add_dependencies(d3dx9_25 wineheaders)
|
||||
add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_26.dll d3dx9_26.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_26.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_26 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_26 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_26
|
||||
wine)
|
||||
target_link_libraries(d3dx9_26 wine)
|
||||
|
||||
add_importlibs(d3dx9_26
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_27.dll d3dx9_27.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_27 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_27 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_27
|
||||
wine)
|
||||
target_link_libraries(d3dx9_27 wine)
|
||||
|
||||
add_importlibs(d3dx9_27
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_28.dll d3dx9_28.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_28.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_28 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_28 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_28
|
||||
wine)
|
||||
target_link_libraries(d3dx9_28 wine)
|
||||
|
||||
add_importlibs(d3dx9_28
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_29.dll d3dx9_29.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_29 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_29 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_29
|
||||
wine)
|
||||
target_link_libraries(d3dx9_29 wine)
|
||||
|
||||
add_importlibs(d3dx9_29
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_30.dll d3dx9_30.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_30.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_30 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_30 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_30
|
||||
wine)
|
||||
target_link_libraries(d3dx9_30 wine)
|
||||
|
||||
add_importlibs(d3dx9_30
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_31.dll d3dx9_31.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_31 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_31 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_31
|
||||
wine)
|
||||
target_link_libraries(d3dx9_31 wine)
|
||||
|
||||
add_importlibs(d3dx9_31
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_32.dll d3dx9_32.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_32.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_32 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_32 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_32
|
||||
wine)
|
||||
target_link_libraries(d3dx9_32 wine)
|
||||
|
||||
add_importlibs(d3dx9_32
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_33.dll d3dx9_33.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_33.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_33 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_33 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_33
|
||||
wine)
|
||||
target_link_libraries(d3dx9_33 wine)
|
||||
|
||||
add_importlibs(d3dx9_33
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_34.dll d3dx9_34.spec)
|
||||
|
||||
@@ -9,14 +8,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_34.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_34 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_34 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_34
|
||||
wine)
|
||||
target_link_libraries(d3dx9_34 wine)
|
||||
|
||||
add_importlibs(d3dx9_34
|
||||
d3d9
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_35.dll d3dx9_35.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_35.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_35 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_35 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_35
|
||||
wine)
|
||||
target_link_libraries(d3dx9_35 wine)
|
||||
|
||||
add_importlibs(d3dx9_35
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
|
||||
|
||||
@@ -18,9 +17,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_36 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_36 win32dll)
|
||||
target_link_libraries(d3dx9_36 uuid wine)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_37.dll d3dx9_37.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_37.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_37 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_37 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_37
|
||||
wine)
|
||||
target_link_libraries(d3dx9_37 wine)
|
||||
|
||||
add_importlibs(d3dx9_37
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_38.dll d3dx9_38.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_38.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_38 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_38 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_38
|
||||
wine)
|
||||
target_link_libraries(d3dx9_38 wine)
|
||||
|
||||
add_importlibs(d3dx9_38
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_39.dll d3dx9_39.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_39.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_39 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_39 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_39
|
||||
wine)
|
||||
target_link_libraries(d3dx9_39 wine)
|
||||
|
||||
add_importlibs(d3dx9_39
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_40.dll d3dx9_40.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_40.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_40 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_40 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_40
|
||||
wine)
|
||||
target_link_libraries(d3dx9_40 wine)
|
||||
|
||||
add_importlibs(d3dx9_40
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_41.dll d3dx9_41.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_41.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_41 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_41 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_41
|
||||
wine)
|
||||
target_link_libraries(d3dx9_41 wine)
|
||||
|
||||
add_importlibs(d3dx9_41
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3dx9_42.dll d3dx9_42.spec)
|
||||
|
||||
@@ -8,14 +7,10 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(d3dx9_42 SHARED ${SOURCE})
|
||||
set_module_type(d3dx9_42 win32dll)
|
||||
|
||||
target_link_libraries(d3dx9_42
|
||||
wine)
|
||||
target_link_libraries(d3dx9_42 wine)
|
||||
|
||||
add_importlibs(d3dx9_42
|
||||
d3dx9_36
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
spec2def(deskadp.dll deskadp.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -9,9 +8,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
|
||||
|
||||
add_library(deskadp SHARED ${SOURCE})
|
||||
|
||||
set_module_type(deskadp win32dll UNICODE)
|
||||
|
||||
target_link_libraries(deskadp uuid)
|
||||
|
||||
add_importlibs(deskadp
|
||||
@@ -24,5 +21,4 @@ add_importlibs(deskadp
|
||||
ntdll)
|
||||
|
||||
add_pch(deskadp precomp.h)
|
||||
|
||||
add_cd_file(TARGET deskadp DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(deskmon.dll deskmon.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -10,9 +8,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
|
||||
|
||||
add_library(deskmon SHARED ${SOURCE})
|
||||
|
||||
set_module_type(deskmon win32dll UNICODE)
|
||||
|
||||
target_link_libraries(deskmon uuid)
|
||||
|
||||
add_importlibs(deskmon
|
||||
@@ -25,5 +21,4 @@ add_importlibs(deskmon
|
||||
ntdll)
|
||||
|
||||
add_pch(deskmon precomp.h)
|
||||
|
||||
add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(devcpux.dll devcpux.spec)
|
||||
|
||||
add_library(devcpux SHARED processor.c processor.rc ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
|
||||
|
||||
set_module_type(devcpux win32dll UNICODE)
|
||||
|
||||
add_importlibs(devcpux
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
spec2def(fontext.dll fontext.spec)
|
||||
|
||||
add_library(fontext SHARED
|
||||
@@ -9,7 +8,6 @@ add_library(fontext SHARED
|
||||
${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
|
||||
|
||||
set_module_type(fontext win32dll UNICODE)
|
||||
|
||||
target_link_libraries(fontext uuid)
|
||||
|
||||
add_importlibs(fontext
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(slayer.dll slayer.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -9,9 +7,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
|
||||
|
||||
add_library(slayer SHARED ${SOURCE})
|
||||
|
||||
set_module_type(slayer win32dll UNICODE)
|
||||
|
||||
target_link_libraries(slayer uuid)
|
||||
|
||||
add_importlibs(slayer
|
||||
@@ -25,5 +21,4 @@ add_importlibs(slayer
|
||||
ntdll)
|
||||
|
||||
add_pch(slayer precomp.h)
|
||||
|
||||
add_cd_file(TARGET slayer DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
set_rc_compiler()
|
||||
spec2def(acledit.dll acledit.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -9,9 +8,7 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
||||
|
||||
add_library(acledit SHARED ${SOURCE})
|
||||
|
||||
set_module_type(acledit win32dll UNICODE)
|
||||
add_importlibs(acledit msvcrt kernel32 ntdll)
|
||||
add_pch(acledit acleditint.h)
|
||||
add_cd_file(TARGET acledit DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
spec2def(aclui.dll aclui.spec)
|
||||
set_rc_compiler()
|
||||
|
||||
add_definitions(-DSUPPORT_UXTHEME)
|
||||
|
||||
@@ -12,9 +11,7 @@ list(APPEND SOURCE
|
||||
sidcache.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
||||
|
||||
add_library(aclui SHARED
|
||||
${SOURCE}
|
||||
aclui.rc)
|
||||
add_library(aclui SHARED ${SOURCE} aclui.rc)
|
||||
|
||||
if(NOT MSVC)
|
||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||
@@ -23,7 +20,6 @@ if(NOT MSVC)
|
||||
endif()
|
||||
|
||||
set_module_type(aclui win32dll UNICODE)
|
||||
|
||||
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
|
||||
add_pch(aclui precomp.h)
|
||||
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user