[ROSAPPS] Add sysutils/utils folder completely (except rosperf for now) / Fix two wrong output paths in roshttpd and ncftp / -Wno-error=unused-but-set-variable -> -Wno-unused-but-set-variable to make MSVC happy

svn path=/trunk/; revision=67437
This commit is contained in:
Daniel Reimer 2015-04-26 14:11:18 +00:00
parent d3a6637990
commit 8d599fac7d
15 changed files with 74 additions and 15 deletions

View file

@ -4,5 +4,5 @@ add_executable(symdump symdump.c)
set_module_type(symdump win32cui)
target_link_libraries(symdump wine)
add_importlibs(symdump dbghelp shlwapi msvcrt kernel32)
add_compile_flags("-Wno-error=unused-but-set-variable")
add_compile_flags("-Wno-unused-but-set-variable")
add_cd_file(TARGET symdump DESTINATION reactos/system32 FOR all)

View file

@ -72,4 +72,4 @@ add_executable(ncftp ${SOURCE} ncftp.rc)
set_module_type(ncftp win32cui)
add_target_compile_flags(ncftp "-Wno-unused-but-set-variable -Wno-implicit-function-declaration -Wno-format-extra-args")
add_importlibs(ncftp advapi32 user32 ws2_32 msvcrt kernel32)
add_cd_file(TARGET ncftp DESTINATION reactos FOR all)
add_cd_file(TARGET ncftp DESTINATION reactos/system32 FOR all)

View file

@ -16,4 +16,4 @@ list(APPEND SOURCE
add_executable(roshttpd ${SOURCE} common/roshttpd.rc)
set_module_type(roshttpd win32cui)
add_importlibs(roshttpd user32 ws2_32 msvcrt kernel32)
add_cd_file(TARGET roshttpd DESTINATION reactos FOR all)
add_cd_file(TARGET roshttpd DESTINATION reactos/system32 FOR all)

View file

@ -1,15 +1,11 @@
#add_subdirectory(binpatch)
add_subdirectory(binpatch)
add_subdirectory(cat)
#add_subdirectory(driver)
#add_subdirectory(infinst)
#add_subdirectory(nts2w32err)
#add_subdirectory(objdir)
#add_subdirectory(partinfo)
#add_subdirectory(pice)
#add_subdirectory(pnpdump)
add_subdirectory(driver)
add_subdirectory(infinst)
add_subdirectory(nts2w32err)
add_subdirectory(objdir)
add_subdirectory(partinfo)
add_subdirectory(ps)
#add_subdirectory(rosperf)
#add_subdirectory(sdkparse)
#add_subdirectory(stats)
#add_subdirectory(theme)
#add_subdirectory(tickcount)
add_subdirectory(stats)
add_subdirectory(tickcount)

View file

@ -0,0 +1,5 @@
add_executable(binpatch patch.c)
set_module_type(binpatch win32cui)
add_importlibs(binpatch ntdll msvcrt kernel32)
add_cd_file(TARGET binpatch DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,2 @@
add_subdirectory(load)
add_subdirectory(unload)

View file

@ -0,0 +1,5 @@
add_executable(load load.c)
set_module_type(load win32cui UNICODE)
add_importlibs(load ntdll user32 msvcrt kernel32)
add_cd_file(TARGET load DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(unload unload.c)
set_module_type(unload win32cui UNICODE)
add_importlibs(unload ntdll user32 msvcrt kernel32)
add_cd_file(TARGET unload DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(infinst infinst.c)
set_module_type(infinst win32cui)
add_importlibs(infinst ntdll user32 setupapi comdlg32 msvcrt kernel32)
add_cd_file(TARGET infinst DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(nts2w32err nts2w32err.c)
set_module_type(nts2w32err win32cui)
add_importlibs(nts2w32err ntdll msvcrt kernel32)
add_cd_file(TARGET nts2w32err DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(objdir objdir.c)
set_module_type(objdir win32cui)
add_importlibs(objdir ntdll msvcrt kernel32)
add_cd_file(TARGET objdir DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(partinfo partinfo.c)
set_module_type(partinfo win32cui)
add_importlibs(partinfo ntdll msvcrt kernel32)
add_cd_file(TARGET partinfo DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,16 @@
list(APPEND SOURCE
rosperf.c
lines.c
fill.c
scroll.c
text.c
alphablend.c
testlist.c
gradient.c)
add_executable(rosperf ${SOURCE} rosperf.rc)
set_module_type(rosperf win32cui UNICODE)
add_target_compile_flags(rosperf "-Wno-unused-but-set-variable")
add_importlibs(rosperf version msimg32 gdi32 shell32 advapi32 user32 ntdll msvcrt kernel32)
add_cd_file(TARGET rosperf DESTINATION reactos/system32 FOR all)

View file

@ -0,0 +1,5 @@
add_executable(stats stats.c)
set_module_type(stats win32cui UNICODE)
add_importlibs(stats ntdll msvcrt kernel32)
add_cd_file(TARGET stats DESTINATION reactos/bin FOR all)

View file

@ -0,0 +1,5 @@
add_executable(tickcount tickcount.c)
set_module_type(tickcount win32cui UNICODE)
add_importlibs(tickcount ntdll msvcrt kernel32)
add_cd_file(TARGET tickcount DESTINATION reactos/bin FOR all)