[llvm] r201488 - LLVMExports.cmake: Exclude gtest since they are not installed.

NAKAMURA Takumi geek4civic at gmail.com
Sun Feb 16 04:14:03 PST 2014


Author: chapuni
Date: Sun Feb 16 06:14:03 2014
New Revision: 201488

URL: http://llvm.org/viewvc/llvm-project?rev=201488&view=rev
Log:
LLVMExports.cmake: Exclude gtest since they are not installed.

FIXME: gtest might be included if external project could refer to the build tree.

Modified:
    llvm/trunk/cmake/modules/Makefile

Modified: llvm/trunk/cmake/modules/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/Makefile?rev=201488&r1=201487&r2=201488&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/Makefile (original)
+++ llvm/trunk/cmake/modules/Makefile Sun Feb 16 06:14:03 2014
@@ -71,7 +71,7 @@ $(PROJ_OBJ_DIR)/LLVMExports.cmake: $(LLV
 	    echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \
 	  done && \
 	  cat "$(LLVMBuildCMakeExportsFrag)" \
-	) > $@
+	) | grep -v gtest > $@
 
 all-local:: $(addprefix $(PROJ_OBJ_DIR)/, $(OBJMODS))
 





More information about the llvm-commits mailing list