microsoft / microsoft/vscode-cmake-tools

CMAKE_INSTALL_PREFIX for install process

Open
#1,511 7 comments 1 reaction 0 assignees View on GitHub
enhancement Feature: install help wanted stale-exempt
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

With cmake (directly) it is possible to install a project with "temporarily" setting the install prefix, in the sense that CMAKE_INSTALL_PREFIX is not changed within the CmakeCache file.
The corresponding command would look like this:
`cmake --install . --config --prefix `
Is there a way to do this with cmake-tools, i.e., I guess `cmake.install`?

Contributor guide

Open the contributing guide

Research direction

Start by locating the cmake.install command and its handling of install options. Compare its behavior with CMake's `cmake --install . --prefix ` command; done means a temporary prefix can be supplied without changing CMAKE_INSTALL_PREFIX in the CMakeCache.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.