Skip to content

Adds toolset command line flag #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Options:
-g, --prefer-gnu use GNU compiler instead of default CMake compiler, if
available (Posix) [boolean]
-G, --generator use specified generator [string]
-t, --toolset use specified toolset [string]
-T, --target only build the specified target [string]
-C, --prefer-clang use Clang compiler instead of default CMake compiler,
if available (Posix) [boolean]
Expand Down
7 changes: 7 additions & 0 deletions bin/cmake-js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ var yargs = require("yargs")
describe: "use specified generator",
type: "string"
},
t: {
alias: "toolset",
demand: false,
describe: "use specified toolset",
type: "string"
},
T: {
alias: "target",
demand: false,
Expand Down Expand Up @@ -170,6 +176,7 @@ var options = {
debug: argv.debug,
cmakePath: argv.c || null,
generator: argv.G,
toolset: argv.t,
target: argv.T,
preferMake: argv.m,
preferXcode: argv.x,
Expand Down
2 changes: 1 addition & 1 deletion lib/es5/appCMakeJSConfig.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/es5/buildSystem.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/es5/cMake.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading