mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user