From 4f8f6087e38af104cb2a403b214f48982e4db190 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 27 Nov 2014 19:09:07 +0000 Subject: [PATCH] [CMAKE] * Simplify compiling some single-source-file tools. svn path=/trunk/; revision=65506 --- reactos/tools/CMakeLists.txt | 17 ++++++++--------- reactos/tools/gendib/CMakeLists.txt | 2 -- reactos/tools/geninc/CMakeLists.txt | 2 -- reactos/tools/mkshelllink/CMakeLists.txt | 2 -- reactos/tools/obj2bin/CMakeLists.txt | 2 -- reactos/tools/spec2def/CMakeLists.txt | 2 -- reactos/tools/utf16le/CMakeLists.txt | 2 -- 7 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 reactos/tools/gendib/CMakeLists.txt delete mode 100644 reactos/tools/geninc/CMakeLists.txt delete mode 100644 reactos/tools/mkshelllink/CMakeLists.txt delete mode 100644 reactos/tools/obj2bin/CMakeLists.txt delete mode 100644 reactos/tools/spec2def/CMakeLists.txt delete mode 100644 reactos/tools/utf16le/CMakeLists.txt diff --git a/reactos/tools/CMakeLists.txt b/reactos/tools/CMakeLists.txt index 396b962e125..f3bf96418e1 100644 --- a/reactos/tools/CMakeLists.txt +++ b/reactos/tools/CMakeLists.txt @@ -6,22 +6,21 @@ if(MSVC) endif() add_executable(bin2c bin2c.c) +add_executable(gendib gendib/gendib.c) +add_executable(geninc geninc/geninc.c) +add_executable(mkshelllink mkshelllink/mkshelllink.c) +add_executable(obj2bin obj2bin/obj2bin.c) +add_executable(spec2def spec2def/spec2def.c) +add_executable(utf16le utf16le/utf16le.cpp) add_subdirectory(cabman) add_subdirectory(cdmake) -add_subdirectory(gendib) -add_subdirectory(geninc) -if(NOT MSVC) - add_subdirectory(log2lines) -endif() add_subdirectory(mkhive) -add_subdirectory(obj2bin) -add_subdirectory(spec2def) add_subdirectory(unicode) -add_subdirectory(mkshelllink) -add_subdirectory(utf16le) add_subdirectory(widl) add_subdirectory(wpp) + if(NOT MSVC) + add_subdirectory(log2lines) add_subdirectory(rsym) endif() diff --git a/reactos/tools/gendib/CMakeLists.txt b/reactos/tools/gendib/CMakeLists.txt deleted file mode 100644 index b78ad2a51d4..00000000000 --- a/reactos/tools/gendib/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(gendib gendib.c) diff --git a/reactos/tools/geninc/CMakeLists.txt b/reactos/tools/geninc/CMakeLists.txt deleted file mode 100644 index dedf28f4b54..00000000000 --- a/reactos/tools/geninc/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(geninc geninc.c) diff --git a/reactos/tools/mkshelllink/CMakeLists.txt b/reactos/tools/mkshelllink/CMakeLists.txt deleted file mode 100644 index 1f4814cd595..00000000000 --- a/reactos/tools/mkshelllink/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(mkshelllink mkshelllink.c) diff --git a/reactos/tools/obj2bin/CMakeLists.txt b/reactos/tools/obj2bin/CMakeLists.txt deleted file mode 100644 index 5a1aa786a09..00000000000 --- a/reactos/tools/obj2bin/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(obj2bin obj2bin.c) diff --git a/reactos/tools/spec2def/CMakeLists.txt b/reactos/tools/spec2def/CMakeLists.txt deleted file mode 100644 index 831258a46af..00000000000 --- a/reactos/tools/spec2def/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(spec2def spec2def.c) diff --git a/reactos/tools/utf16le/CMakeLists.txt b/reactos/tools/utf16le/CMakeLists.txt deleted file mode 100644 index 2b576fd322e..00000000000 --- a/reactos/tools/utf16le/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ - -add_executable(utf16le utf16le.cpp)