Compare commits
4 Commits
conan
...
189d314990
Author | SHA1 | Date | |
---|---|---|---|
189d314990
|
|||
28be43db02 | |||
55a24fbaf0
|
|||
3b170324f4 |
8
Makefile
8
Makefile
@@ -1,6 +1,6 @@
|
|||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
.PHONY: viewcoverage coverage setup help install uninstall diagrams buildr buildd test clean updatebadge doc doc-install init clean-test conan-debug conan-release conan-create conan-upload conan-clean conan-sample
|
.PHONY: viewcoverage coverage setup help install uninstall diagrams buildr buildd test clean updatebadge doc doc-install init clean-test debug release conan-create conan-upload conan-clean sample
|
||||||
|
|
||||||
f_release = build_Release
|
f_release = build_Release
|
||||||
f_debug = build_Debug
|
f_debug = build_Debug
|
||||||
@@ -196,8 +196,7 @@ debug: ## Build debug version using Conan
|
|||||||
@conan install . \
|
@conan install . \
|
||||||
-s build_type=Debug \
|
-s build_type=Debug \
|
||||||
--build=missing \
|
--build=missing \
|
||||||
-of $(f_debug) \
|
-of $(f_debug)
|
||||||
--profile=debug
|
|
||||||
@cmake -S . -B $(f_debug) \
|
@cmake -S . -B $(f_debug) \
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DENABLE_TESTING=ON \
|
-DENABLE_TESTING=ON \
|
||||||
@@ -210,8 +209,7 @@ release: ## Build release version using Conan
|
|||||||
@conan install . \
|
@conan install . \
|
||||||
-s build_type=Release \
|
-s build_type=Release \
|
||||||
--build=missing \
|
--build=missing \
|
||||||
-of $(f_debug) \
|
-of $(f_debug)
|
||||||
--profile=release
|
|
||||||
@if [ -d ./$(f_release) ]; then rm -rf ./$(f_release); fi
|
@if [ -d ./$(f_release) ]; then rm -rf ./$(f_release); fi
|
||||||
@mkdir $(f_release)
|
@mkdir $(f_release)
|
||||||
@conan install . -s build_type=Release --build=missing -of $(f_release)
|
@conan install . -s build_type=Release --build=missing -of $(f_release)
|
||||||
|
Reference in New Issue
Block a user