forked from dev-cafe/cmake-cookbook
-
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.
Merge pull request dev-cafe#339 from robertodr/fix-appveyor
Fix some recipes on AppVeyor
- Loading branch information
Showing
26 changed files
with
94 additions
and
72 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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
Abstract to be written ... | ||
|
||
- [fortran-example](fortran-example/) | ||
- [example](example/) |
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,20 @@ | ||
# set minimum cmake version | ||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
|
||
# project name and language | ||
project(recipe-01 LANGUAGES NONE) | ||
|
||
# detect python | ||
find_package(PythonInterp REQUIRED) | ||
|
||
# Execute a tiny Python script | ||
execute_process( | ||
COMMAND | ||
${PYTHON_EXECUTABLE} "-c" "print('Hello, world!')" | ||
RESULT_VARIABLE _status | ||
OUTPUT_VARIABLE _hello_world | ||
ERROR_QUIET | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
message(STATUS "RESULT_VARIABLE is: ${_status}") | ||
message(STATUS "OUTPUT_VARIABLE is: ${_hello_world}") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
appveyor: | ||
env: | ||
- VERBOSE_OUTPUT: 'True' | ||
definitions: | ||
- CMAKE_BUILD_TYPE: 'Release' | ||
- CMAKE_CONFIGURATION_TYPES: 'Release' | ||
- MS_WIN64: 'ON' |
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,7 @@ | ||
appveyor: | ||
env: | ||
- VERBOSE_OUTPUT: 'True' | ||
definitions: | ||
- CMAKE_BUILD_TYPE: 'Release' | ||
- CMAKE_CONFIGURATION_TYPES: 'Release' | ||
- MS_WIN64: 'ON' |
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 |
---|---|---|
|
@@ -2,4 +2,8 @@ appveyor: | |
env: | ||
- BOOST_ROOT: 'C:\Libraries\boost_1_66_0' | ||
- BOOST_INCLUDEDIR: 'C:\Libraries\boost_1_66_0' | ||
- BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_66_0\lib32-msvc-14.0' | ||
- BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_66_0\lib64-msvc-14.0' | ||
|
||
travis-osx: | ||
definitions: | ||
- BOOST_ROOT: '/usr/local/opt/[email protected]' |
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,2 +1,6 @@ | ||
appveyor: | ||
definitions: | ||
- gtest_disable_pthreads: 'ON' | ||
|
||
targets: | ||
- test |
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,2 +1,6 @@ | ||
appveyor: | ||
definitions: | ||
- gtest_disable_pthreads: 'ON' | ||
|
||
targets: | ||
- test |
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,2 +1,12 @@ | ||
appveyor: | ||
env: | ||
- BOOST_ROOT: 'C:\Libraries\boost_1_66_0' | ||
- BOOST_INCLUDEDIR: 'C:\Libraries\boost_1_66_0' | ||
- BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_66_0\lib64-msvc-14.0' | ||
|
||
travis-osx: | ||
definitions: | ||
- BOOST_ROOT: '/usr/local/opt/[email protected]' | ||
|
||
targets: | ||
- test |
2 changes: 1 addition & 1 deletion
2
chapter-07/recipe-04/cxx-example-3.5/external/upstream/eigen3/CMakeLists.txt
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
2 changes: 1 addition & 1 deletion
2
chapter-07/recipe-04/cxx-example/external/upstream/eigen3/CMakeLists.txt
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,12 +1,14 @@ | ||
appveyor: | ||
env: | ||
- BOOST_INCLUDEDIR: 'C:\Libraries\boost_1_66_0\boost' | ||
- BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_66_0\lib32-msvc-14.0' | ||
|
||
targets: | ||
- test | ||
- BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_66_0\lib64-msvc-14.0' | ||
|
||
travis-osx: | ||
definitions: | ||
- BOOST_ROOT: '/usr/local/opt/[email protected]' | ||
failing_generators: | ||
- 'Unix Makefiles' | ||
- 'Ninja' | ||
|
||
targets: | ||
- test |
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 |
---|---|---|
|
@@ -21,7 +21,6 @@ travis-osx: | |
- CMAKE_C_COMPILER: 'clang' | ||
- CMAKE_CXX_COMPILER: 'clang++' | ||
- CMAKE_Fortran_COMPILER: 'gfortran' | ||
- BOOST_ROOT: '/usr/local/opt/[email protected]' | ||
|
||
local: | ||
definitions: | ||
|