Add detect_cc

This commit is contained in:
Corentin Le Molgat
2018-03-02 09:56:34 +01:00
parent 6f0b6af5d5
commit 80e8676b21
2 changed files with 10 additions and 1 deletions

View File

@@ -77,6 +77,6 @@ ifeq ($(wildcard dependencies/install/include/gflags/gflags.h),)
endif
.PHONY: detect
detect: detect_port detect_python detect_java detect_csharp detect_fsharp
detect: detect_port detect_cc detect_python detect_java detect_csharp detect_fsharp
print-% : ; @echo $* = $($*)

View File

@@ -659,7 +659,16 @@ rcc: $(BIN_DIR)$S$(basename $(notdir $(EX)))$E
@echo running $(BIN_DIR)$S$(basename $(notdir $(EX)))$E
$(BIN_DIR)$S$(basename $(notdir $(EX)))$E $(ARGS)
.PHONY: detect_cc # Show variables used to build C++ OR-Tools.
detect_cc:
@echo CCC = $(CCC)
@echo CFLAGS = $(CFLAGS)
@echo OR_TOOLS_LIBS = $(OR_TOOLS_LIBS)
@echo OR_TOOLS_LNK = $(OR_TOOLS_LNK)
@echo OR_TOOLS_LD_FLAGS = $(OR_TOOLS_LD_FLAGS)
# Debug
.PHONY: printdir
printdir:
@echo LIB_DIR = $(LIB_DIR)
@echo BIN_DIR = $(BIN_DIR)