Author: dreimer
Date: Sun Apr 19 20:27:51 2015
New Revision: 67308
URL:
http://svn.reactos.org/svn/reactos?rev=67308&view=rev
Log:
[ROSAPPS] Add devutils to cmake build. Thx for Amine Khaldi, Thomas Faber and learn_more
for help. More will come.
Added:
trunk/rosapps/applications/devutils/gdb2/CMakeLists.txt (with props)
trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt (with props)
trunk/rosapps/applications/devutils/genguid/CMakeLists.txt (with props)
trunk/rosapps/applications/devutils/symdump/CMakeLists.txt (with props)
trunk/rosapps/applications/devutils/syscalldump/CMakeLists.txt (with props)
Modified:
trunk/rosapps/applications/devutils/CMakeLists.txt
trunk/rosapps/applications/devutils/symdump/symdump.c
trunk/rosapps/applications/devutils/syscalldump/syscalldump.c
Modified: trunk/rosapps/applications/devutils/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/CMak…
==============================================================================
--- trunk/rosapps/applications/devutils/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/CMakeLists.txt [iso-8859-1] Sun Apr 19 20:27:51
2015
@@ -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)
Added: trunk/rosapps/applications/devutils/gdb2/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/gdb2…
==============================================================================
--- trunk/rosapps/applications/devutils/gdb2/CMakeLists.txt (added)
+++ trunk/rosapps/applications/devutils/gdb2/CMakeLists.txt [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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)
Propchange: trunk/rosapps/applications/devutils/gdb2/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/gdih…
==============================================================================
--- trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt (added)
+++ trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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)
Propchange: trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rosapps/applications/devutils/genguid/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/geng…
==============================================================================
--- trunk/rosapps/applications/devutils/genguid/CMakeLists.txt (added)
+++ trunk/rosapps/applications/devutils/genguid/CMakeLists.txt [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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)
Propchange: trunk/rosapps/applications/devutils/genguid/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rosapps/applications/devutils/symdump/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/symd…
==============================================================================
--- trunk/rosapps/applications/devutils/symdump/CMakeLists.txt (added)
+++ trunk/rosapps/applications/devutils/symdump/CMakeLists.txt [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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)
Propchange: trunk/rosapps/applications/devutils/symdump/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rosapps/applications/devutils/symdump/symdump.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/symd…
==============================================================================
--- trunk/rosapps/applications/devutils/symdump/symdump.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/symdump/symdump.c [iso-8859-1] Sun Apr 19 20:27:51
2015
@@ -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>
Added: trunk/rosapps/applications/devutils/syscalldump/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/sysc…
==============================================================================
--- trunk/rosapps/applications/devutils/syscalldump/CMakeLists.txt (added)
+++ trunk/rosapps/applications/devutils/syscalldump/CMakeLists.txt [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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)
Propchange: trunk/rosapps/applications/devutils/syscalldump/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rosapps/applications/devutils/syscalldump/syscalldump.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/sysc…
==============================================================================
--- trunk/rosapps/applications/devutils/syscalldump/syscalldump.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/syscalldump/syscalldump.c [iso-8859-1] Sun Apr 19
20:27:51 2015
@@ -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>