<commit_before>.PHONY: help_third_party # Generate list of Prerequisite targets with descriptions.
help_third_party:
	@echo Use one of the following Prerequisite targets:
	@$(GREP) "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.third_party.win.mk | $(SED) "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
	@echo off & echo(

# Checks if the user has overwritten default libraries and binaries.
USE_COINOR ?= ON
USE_SCIP ?= ON
USE_GLPK ?= OFF
PROTOC = "$(OR_TOOLS_TOP)\\bin\\protoc.exe"

# language targets
BUILD_PYTHON ?= OFF
BUILD_JAVA ?= OFF
BUILD_DOTNET ?= OFF
BUILD_TYPE ?= Release

# Main target.
dependencies:
	mkdir dependencies

.PHONY: third_party # Build OR-Tools Prerequisite
third_party: dependencies/ortools.sln | dependencies

THIRD_PARTY_TARGET = dependencies/ortools.sln


dependencies/ortools.sln: | dependencies
	cmake -S . -B dependencies -DBUILD_DEPS=ON \
	-DBUILD_PYTHON=$(BUILD_PYTHON) \
	-DBUILD_JAVA=$(BUILD_JAVA) \
	-DBUILD_DOTNET=$(BUILD_DOTNET) \
	-DBUILD_EXAMPLES=OFF \
	-DBUILD_SAMPLES=OFF \
	-DUSE_COINOR=$(USE_COINOR) \
	-DUSE_SCIP=$(USE_SCIP) \
	-DUSE_GLPK=$(USE_GLPK) \
	-DCMAKE_INSTALL_PREFIX=$(OR_ROOT_FULL)
<commit_msg>use other generator for make third_party on windows<commit_after>.PHONY: help_third_party # Generate list of Prerequisite targets with descriptions.
help_third_party:
	@echo Use one of the following Prerequisite targets:
	@$(GREP) "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.third_party.win.mk | $(SED) "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
	@echo off & echo(

# Checks if the user has overwritten default libraries and binaries.
USE_COINOR ?= ON
USE_SCIP ?= ON
USE_GLPK ?= OFF
PROTOC = "$(OR_TOOLS_TOP)\\bin\\protoc.exe"

# language targets
BUILD_PYTHON ?= OFF
BUILD_JAVA ?= OFF
BUILD_DOTNET ?= OFF
BUILD_TYPE ?= Release

# Main target.
dependencies:
	mkdir dependencies

.PHONY: third_party # Build OR-Tools Prerequisite
third_party: dependencies/ortools.sln | dependencies

THIRD_PARTY_TARGET = dependencies/ortools.sln
GENERATOR ?= "MMake Makefiles"

dependencies/ortools.sln: | dependencies
	cmake -S . -B dependencies -DBUILD_DEPS=ON \
	-DBUILD_PYTHON=$(BUILD_PYTHON) \
	-DBUILD_JAVA=$(BUILD_JAVA) \
	-DBUILD_DOTNET=$(BUILD_DOTNET) \
	-DBUILD_EXAMPLES=OFF \
	-DBUILD_SAMPLES=OFF \
	-DUSE_COINOR=$(USE_COINOR) \
	-DUSE_SCIP=$(USE_SCIP) \
	-DUSE_GLPK=$(USE_GLPK) \
	-DCMAKE_INSTALL_PREFIX=$(OR_ROOT_FULL) \
	-DCMAKE_BUILD_TYPE=Release \
	-G $(GENERATOR)

{'fraction_non_alphanumeric': 0.13839099624843684, 'fraction_numerical': 0.0016673614005835765, 'mean_word_length': 4.714285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6703499', 'n_tokens_mistral': 966, 'n_tokens_neox': 933, 'n_words': 185}