[Lldb-commits] [lldb] r226233 - Give lldb a clean null build.

Nico Weber nicolasweber at gmx.de
Thu Jan 15 16:35:05 PST 2015


Author: nico
Date: Thu Jan 15 18:35:05 2015
New Revision: 226233

URL: http://llvm.org/viewvc/llvm-project?rev=226233&view=rev
Log:
Give lldb a clean null build.

`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.

Modified:
    lldb/trunk/scripts/CMakeLists.txt

Modified: lldb/trunk/scripts/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/CMakeLists.txt?rev=226233&r1=226232&r2=226233&view=diff
==============================================================================
--- lldb/trunk/scripts/CMakeLists.txt (original)
+++ lldb/trunk/scripts/CMakeLists.txt Thu Jan 15 18:35:05 2015
@@ -18,7 +18,7 @@ if ( LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API
 	  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
 		)
 





More information about the lldb-commits mailing list