-#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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
#include <stdio.h>
#define _WINVER 0x501
+#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800
#include <windows.h>
#include <shlwapi.h>
#include <dbghelp.h>
--- /dev/null
+
+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)
#include <stdlib.h>
#include <ctype.h>
#define _WINVER 0x501
+#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800
#include <windows.h>
#include <shlwapi.h>
#include <dbghelp.h>