From: Jonas Devlieghere Date: Fri, 17 Jan 2020 06:30:03 +0000 (-0800) Subject: [lldb/Cmake] Add a CMakeLists.txt to the utils directory... X-Git-Url: https://git.jankratochvil.net/?p=lldb.git;a=commitdiff_plain;h=e1f6b68d1fd117b92953d2e21567dd8dad759a8b [lldb/Cmake] Add a CMakeLists.txt to the utils directory... ... and include it from the main CMakeLists.txt instead of including the utility subdirectories directly. This is consistent with the other subdirectories and limits the scope of future changes. --- diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt index 573b855..00b0611 100644 --- a/lldb/CMakeLists.txt +++ b/lldb/CMakeLists.txt @@ -92,8 +92,7 @@ option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LL if(LLDB_INCLUDE_TESTS) add_subdirectory(test) add_subdirectory(unittests) - add_subdirectory(utils/lit-cpuid) - add_subdirectory(utils/lldb-dotest) + add_subdirectory(utils) endif() if (LLDB_ENABLE_PYTHON) diff --git a/lldb/utils/CMakeLists.txt b/lldb/utils/CMakeLists.txt new file mode 100644 index 0000000..d08f66f --- /dev/null +++ b/lldb/utils/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(lit-cpuid) +add_subdirectory(lldb-dotest)