forked from bblanchon/pdfium-binaries
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
7 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
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
set SOURCE_DIR=%CD%\example | ||
set PDFium_DIR=%CD%\staging | ||
set CMAKE_GENERATOR=Visual Studio 15 2017 | ||
set CMAKE_GENERATOR=Visual Studio 16 2019 | ||
|
||
if "%PLATFORM%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64 | ||
if "%PLATFORM%"=="x64" (set CMAKE_GENERATOR_PLATFORM=x64) | ||
else (set CMAKE_GENERATOR_PLATFORM=Win32) | ||
|
||
@echo on | ||
|
||
mkdir build | ||
cd build | ||
cmake -G "%CMAKE_GENERATOR%" "%SOURCE_DIR%" | ||
cmake -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_PLATFORM%" "%SOURCE_DIR%" | ||
cmake --build . | ||
ctest --output-on-failure . |