Created
December 19, 2023 00:09
-
-
Save navono/576e75ee93645ea21222f958fb323c36 to your computer and use it in GitHub Desktop.
Compile C++ with conan and CMake in Windows Batch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO ON | |
set BASEDIR=%~dp0 | |
PUSHD %BASEDIR% | |
RMDIR /Q /S release | |
mkdir release | |
REM for connan | |
conan install . -if=./release --build=missing -s build_type=Release --profile=default-x86 | |
cd release | |
cmake .. -A Win32 | |
cmake --build . --config Release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment