mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[ROSAPPS] Add devutils to cmake build. Thx for Amine Khaldi, Thomas Faber and learn_more for help. More will come.
svn path=/trunk/; revision=67308
This commit is contained in:
parent
1b57c10937
commit
c2a8bdf32d
8 changed files with 47 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
#add_subdirectory(gdb2)
|
||||
#add_subdirectory(gdihv)
|
||||
#add_subdirectory(genguid)
|
||||
#add_subdirectory(symdump)
|
||||
#add_subdirectory(syscalldump)
|
||||
add_subdirectory(gdb2)
|
||||
add_subdirectory(gdihv)
|
||||
add_subdirectory(genguid)
|
||||
add_subdirectory(symdump)
|
||||
add_subdirectory(syscalldump)
|
||||
add_subdirectory(vgafontedit)
|
||||
|
|
6
rosapps/applications/devutils/gdb2/CMakeLists.txt
Normal file
6
rosapps/applications/devutils/gdb2/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
set_cpp(WITH_RUNTIME)
|
||||
add_executable(gdb2 gdb2.cpp)
|
||||
set_module_type(gdb2 win32cui)
|
||||
add_importlibs(gdb2 user32 msvcrt kernel32)
|
||||
add_cd_file(TARGET gdb2 DESTINATION reactos/system32 FOR all)
|
14
rosapps/applications/devutils/gdihv/CMakeLists.txt
Normal file
14
rosapps/applications/devutils/gdihv/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
list(APPEND SOURCE
|
||||
gdihv.c
|
||||
gdihv.rc
|
||||
mainwnd.c
|
||||
handlelist.c
|
||||
proclist.c)
|
||||
|
||||
add_executable(gdihv ${SOURCE})
|
||||
set_module_type(gdihv win32cui)
|
||||
add_importlibs(gdihv user32 comctl32 psapi msvcrt kernel32)
|
||||
add_cd_file(TARGET gdihv DESTINATION reactos/system32 FOR all)
|
6
rosapps/applications/devutils/genguid/CMakeLists.txt
Normal file
6
rosapps/applications/devutils/genguid/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(genguid genguid.c genguid.rc)
|
||||
set_module_type(genguid win32cui)
|
||||
target_link_libraries(genguid uuid)
|
||||
add_importlibs(genguid ole32 msvcrt kernel32)
|
||||
add_cd_file(TARGET genguid DESTINATION reactos/system32 FOR all)
|
8
rosapps/applications/devutils/symdump/CMakeLists.txt
Normal file
8
rosapps/applications/devutils/symdump/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
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_cd_file(TARGET symdump DESTINATION reactos/system32 FOR all)
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#define _WINVER 0x501
|
||||
#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800
|
||||
#include <windows.h>
|
||||
#include <shlwapi.h>
|
||||
#include <dbghelp.h>
|
||||
|
|
6
rosapps/applications/devutils/syscalldump/CMakeLists.txt
Normal file
6
rosapps/applications/devutils/syscalldump/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(syscalldump syscalldump.c)
|
||||
set_module_type(syscalldump win32cui)
|
||||
target_link_libraries(syscalldump wine)
|
||||
add_importlibs(syscalldump dbghelp msvcrt kernel32)
|
||||
add_cd_file(TARGET syscalldump DESTINATION reactos/system32 FOR all)
|
|
@ -2,6 +2,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#define _WINVER 0x501
|
||||
#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800
|
||||
#include <windows.h>
|
||||
#include <shlwapi.h>
|
||||
#include <dbghelp.h>
|
||||
|
|
Loading…
Reference in a new issue