Comments (3)
Right, the --config Release
is missing indeed. It should match the configurationType
value. This should be fixed in the run-cmake task.
p.s. If you switch to Ninja
this would solve the problem, and you would get faster builds too.
from cppbuildtasks.
Thanks for the recommendation, but Ninja
does not support toolset specification (
Does run-cmake task support "environments" in CMakeSettingsJson
? Could use this solution.
from cppbuildtasks.
I am going to add a test to verify the whether the environment is correctly set up.
What compiler are you using? On windows the task sets the environment of the VS Developer Command Prompt, it would work if you use msvc with Ninja.
from cppbuildtasks.
Related Issues (20)
- Cache vcpkg packages HOT 4
- Allow mutliple triplets for install command HOT 3
- run-cmake should use the value of inheritEnvironments provided in CMakeSettings.json
- when run-vcpkg sets default triplet (e.g. VCPKG_TRIPLET env var), that should be re-used by run-cmake task HOT 1
- Caching fails when not using vcpkg as a submodule HOT 4
- Why it is highly recommended to use vcpkg as a Git submodule? HOT 2
- Should run-vcpgk offer an explicit --clean-after-build option? HOT 2
- task-vcpkg does not correctly detect need to bootstrap when vcpkg.exe is present HOT 1
- Enable setupOnly mode like the GitHub action. HOT 1
- running ctests HOT 1
- vcpkg workflow depicts not-existent 'save/restore cache actions'
- How to pass arguments to cmake generator HOT 1
- Action could not be found HOT 2
- Leverage the NPM packages published from repository https://github.com/lukka/run-cmake-vcpkg-action-libs
- trouble running vcpkg on osx agents in azure pipelines HOT 1
- CppBuildTask on Azure DevOps Server HOT 1
- Manifest mode
- Invalid generator for VS2019 x64 HOT 2
- runcmake fails when CMakeSettings.json has UTF8 BOM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppbuildtasks.