Give lldb a clean null build.
authorNico Weber <nicolasweber@gmx.de>
Fri, 16 Jan 2015 00:35:05 +0000 (00:35 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 16 Jan 2015 00:35:05 +0000 (00:35 +0000)
`ninja lldb` used to always run "echo -n", which on OS X results in literally
echoing "-n" to the screen.  Just remove the command from add_custom_target,
then it only adds an alias and `ninja lldb` now reports "no work to do".

Other than that, no intended behavior change.

llvm-svn: 226233

lldb/scripts/CMakeLists.txt

index 652bb07..b002396 100644 (file)
@@ -18,7 +18,7 @@ if ( LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION )
          COMMENT "Python script building LLDB Python wrapper")  
        set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp PROPERTIES GENERATED 1)
 
-       ADD_CUSTOM_TARGET(swig_wrapper ALL echo -n
+       add_custom_target(swig_wrapper ALL
                DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp
                )
 
@@ -39,7 +39,7 @@ else ()
          COMMENT "Building lldb python wrapper")
        set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp PROPERTIES GENERATED 1)
 
-       ADD_CUSTOM_TARGET(swig_wrapper ALL echo -n
+       add_custom_target(swig_wrapper ALL
                DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp
                )