-
Notifications
You must be signed in to change notification settings - Fork 63
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 #127 from AlwinEsch/Matrix-change
[Matrix] update CMakeLists.txt to 3.5, remove one -fPIC use and change include way
- Loading branch information
Showing
12 changed files
with
71 additions
and
34 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,15 +1,15 @@ | ||
find_package(PkgConfig) | ||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules (JSONCPP jsoncpp) | ||
pkg_check_modules(PC_JSONCPP jsoncpp) | ||
endif() | ||
|
||
if(NOT JSONCPP_FOUND) | ||
find_path(JSONCPP_INCLUDE_DIRS json/json.h | ||
PATH_SUFFIXES jsoncpp) | ||
find_library(JSONCPP_LIBRARIES jsoncpp) | ||
endif() | ||
find_path(JSONCPP_INCLUDE_DIRS json/json.h | ||
PATHS ${PC_JSONCPP_INCLUDEDIR} | ||
PATH_SUFFIXES jsoncpp) | ||
find_library(JSONCPP_LIBRARIES jsoncpp | ||
PATHS ${PC_JSONCPP_LIBDIR}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(JsonCpp DEFAULT_MSG JSONCPP_LIBRARIES JSONCPP_INCLUDE_DIRS) | ||
find_package_handle_standard_args(JsonCpp REQUIRED_VARS JSONCPP_LIBRARIES JSONCPP_INCLUDE_DIRS) | ||
|
||
mark_as_advanced(JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES) |
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,33 @@ | ||
version: BuildNr.{build} | ||
|
||
image: Visual Studio 2017 | ||
|
||
shallow_clone: true | ||
|
||
clone_folder: c:\projects\pvr.stalker | ||
|
||
environment: | ||
app_id: pvr.stalker | ||
|
||
matrix: | ||
- GENERATOR: "Visual Studio 15" | ||
CONFIG: Release | ||
- GENERATOR: "Visual Studio 15 Win64" | ||
CONFIG: Release | ||
- GENERATOR: "Visual Studio 15 Win64" | ||
CONFIG: Release | ||
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0" | ||
- GENERATOR: "Visual Studio 15 ARM" | ||
CONFIG: Release | ||
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0" | ||
|
||
build_script: | ||
- cd .. | ||
- git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git | ||
- cd %app_id% | ||
- mkdir build | ||
- cd build | ||
- mkdir -p definition\%app_id% | ||
- echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt | ||
- cmake -T host=x64 -G "%GENERATOR%" %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons | ||
- cmake --build . --config %CONFIG% --target %app_id% |
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
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