ARGTABLE3_VERSION = 3.3.0

.PHONY: all
all: debug release static-debug static-release static-md-debug static-md-release

.PHONY: debug
debug:
	@echo "Running debug target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Debug -o shared=True

.PHONY: release
release:
	@echo "Running release target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Release -o shared=True

.PHONY: static-debug
static-debug:
	@echo "Running static-debug target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Debug -s compiler.runtime=static

.PHONY: static-release
static-release:
	@echo "Running static-release target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Release -s compiler.runtime=static

.PHONY: static-md-debug
static-md-debug:
	@echo "Running static-md-debug target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Debug -s compiler.runtime=dynamic

.PHONY: static-md-release
static-md-release:
	@echo "Running static-md-release target"
	@conan create . --version=$(ARGTABLE3_VERSION) --build=missing -s build_type=Release -s compiler.runtime=dynamic

.PHONY: clean
clean:
	@echo "Running clean target"
	@rm -rf test_package/build
	@rm -f test_package/CMakeUserPresets.json
