-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing cmake file, adding cmake settings json
add build helper script extend windows build script to use vcpkg Adding check for invalid windows options
- Loading branch information
peterychang
committed
Apr 17, 2019
1 parent
6c06548
commit 9d6fc4e
Showing
4 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "x64-Debug", | ||
"generator": "Visual Studio 14 2015 Win64", | ||
"configurationType": "Debug", | ||
"inheritEnvironments": [ | ||
"msvc_x64_x64" | ||
], | ||
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}", | ||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", | ||
"cmakeCommandArgs": "", | ||
"buildCommandArgs": "/INCREMENTAL /Od /Zi /analyze-", | ||
"ctestCommandArgs": "" | ||
}, | ||
{ | ||
"name": "x64-Release", | ||
"generator": "Visual Studio 14 2015 Win64", | ||
"configurationType": "RelWithDebInfo", | ||
"inheritEnvironments": [ | ||
"msvc_x64_x64" | ||
], | ||
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}", | ||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", | ||
"cmakeCommandArgs": "", | ||
"buildCommandArgs": "/GL /O2 /Gy /Oi /Ob2 /Ot /Oy /GT /MD", | ||
"ctestCommandArgs": "" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@echo off | ||
|
||
IF %1.==. GOTO USAGE | ||
|
||
pushd %1 | ||
set VCPKG_PATH=%CD% | ||
popd | ||
|
||
cmake %~dp0 -G "Visual Studio 14 2015 Win64" -DCMAKE_TOOLCHAIN_FILE=%VCPKG_PATH%\scripts\buildsystems\vcpkg.cmake | ||
msbuild vowpal_wabbit.sln /p:Configuration=Release | ||
GOTO FINISH | ||
|
||
:USAGE | ||
ECHO Usage: build_windows.sh [vcpkg_rootdir] | ||
GOTO FINISH | ||
|
||
:FINISH |
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