Skip to content
Snippets Groups Projects
Commit f7c178ec authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Makefiles are no longer supported. Adding pseudo-break with their impending...

Makefiles are no longer supported. Adding pseudo-break with their impending removal to make sure that people who are interested will notice
parent 84a498de
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,16 @@ GMOCK_HEADERS = $(GMOCK_DIR)/include/gmock/*.h \
# House-keeping build targets.
all : $(GTEST_LIBS) $(TESTS)
ifndef GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND
.PHONY all:
$(info "The Make buildsystem is no longer supported")
$(info "You can temporarily set GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1")
$(info "i.e make GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1 all")
$(info "But this is going away very soon. ")
$(exit 1)
else
all: $(GTEST_LIBS) $(TESTS)
endif
clean :
rm -f $(GTEST_LIBS) $(TESTS) *.o
......
......@@ -44,7 +44,16 @@ GTEST_HEADERS = $(GTEST_DIR)/include/gtest/*.h \
# House-keeping build targets.
all : $(GTEST_LIBS) $(TESTS)
ifndef GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND
.PHONY all:
$(info "The Make buildsystem is no longer supported")
$(info "You can temporarily set GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1")
$(info "i.e make GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1 all")
$(info "But this is going away very soon. ")
$(exit 1)
else
all: $(GTEST_LIBS) $(TESTS)
endif
clean :
rm -f $(GTEST_LIBS) $(TESTS) *.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment