[HOST-TOOLS]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 14 Apr 2013 14:18:34 +0000 (14:18 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 14 Apr 2013 14:18:34 +0000 (14:18 +0000)
Add log2lines to build.

svn path=/trunk/; revision=58755

reactos/tools/CMakeLists.txt
reactos/tools/log2lines/CMakeLists.txt [new file with mode: 0644]
reactos/tools/rsym/CMakeLists.txt

index 84f5f48..80d0d34 100644 (file)
@@ -11,6 +11,7 @@ add_subdirectory(cabman)
 add_subdirectory(cdmake)
 add_subdirectory(gendib)
 add_subdirectory(geninc)
+add_subdirectory(log2lines)
 add_subdirectory(mkhive)
 add_subdirectory(obj2bin)
 add_subdirectory(spec2def)
diff --git a/reactos/tools/log2lines/CMakeLists.txt b/reactos/tools/log2lines/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5768d3d
--- /dev/null
@@ -0,0 +1,17 @@
+list(APPEND SOURCE
+    cache.c
+    cmd.c
+    help.c
+    image.c
+    list.c
+    log2lines.c
+    match.c
+    options.c
+    revision.c
+    stat.c
+    util.c)    
+
+include_directories(${REACTOS_SOURCE_DIR}/tools/rsym)
+
+add_executable(log2lines ${SOURCE})
+target_link_libraries(log2lines rsym_common) 
index f6e5412..cc87067 100644 (file)
@@ -1,7 +1,9 @@
+add_library(rsym_common rsym_common.c)
 
 if(ARCH STREQUAL "i386")
-    add_executable(rsym rsym_common.c rsym.c)
+    add_executable(rsym rsym.c)
 elseif(ARCH STREQUAL "amd64")
-    add_executable(rsym rsym_common.c rsym64.c)
+    add_executable(rsym rsym64.c)
 endif()
+target_link_libraries(rsym rsym_common)
 add_executable(raddr2line rsym_common.c raddr2line.c)