forked from microsoft/vcpkg
-
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.
xalan-c: Install headers correctly (microsoft#4565)
* Add SKIP_CLEAN option to vcpkg_install_msbuild Also add vcpkg_clean_msbuild function to factor out clean logic and allow re-use in portfiles. * xalan-c: Correct header globbing * vcpkg_install_msbuild: SKIP_CLEAN documentation correction * [xalan-c] Add explicit check for localmsgindex header. [docs] Regenerate
- Loading branch information
1 parent
03f4ab3
commit 6d5eba6
Showing
13 changed files
with
120 additions
and
14 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,20 @@ | ||
# vcpkg_add_to_path | ||
|
||
Add a directory to the PATH environment variable | ||
|
||
## Usage | ||
```cmake | ||
vcpkg_add_to_path([PREPEND] <${PYTHON3_DIR}>) | ||
``` | ||
|
||
## Parameters | ||
### <positional> | ||
The directory to add | ||
|
||
### PREPEND | ||
Prepends the directory. | ||
|
||
The default is to append. | ||
|
||
## Source | ||
[scripts/cmake/vcpkg_add_to_path.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_add_to_path.cmake) |
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,15 @@ | ||
# vcpkg_clean_msbuild | ||
|
||
Clean intermediate files generated by `vcpkg_install_msbuild()`. | ||
|
||
## Usage | ||
```cmake | ||
vcpkg_clean_msbuild() | ||
``` | ||
|
||
## Examples | ||
|
||
* [xalan-c](https://github.com/Microsoft/vcpkg/blob/master/ports/xalan-c/portfile.cmake) | ||
|
||
## Source | ||
[scripts/cmake/vcpkg_clean_msbuild.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_clean_msbuild.cmake) |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# vcpkg_test_cmake | ||
|
||
Tests a built package for CMake `find_package()` integration. | ||
|
||
## Usage: | ||
```cmake | ||
vcpkg_test_cmake(PACKAGE_NAME <name> [MODULE]) | ||
``` | ||
|
||
## Parameters: | ||
|
||
### PACKAGE_NAME | ||
The expected name to find with `find_package()`. | ||
|
||
### MODULE | ||
Indicates that the library expects to be found via built-in CMake targets. | ||
|
||
|
||
## Source | ||
[scripts/cmake/vcpkg_test_cmake.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_test_cmake.cmake) |
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,4 +1,4 @@ | ||
Source: xalan-c | ||
Version: 1.11-3 | ||
Version: 1.11-4 | ||
Description: Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types | ||
Build-Depends: xerces-c |
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
File renamed without changes.
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,19 @@ | ||
## # vcpkg_clean_msbuild | ||
## | ||
## Clean intermediate files generated by `vcpkg_install_msbuild()`. | ||
## | ||
## ## Usage | ||
## ```cmake | ||
## vcpkg_clean_msbuild() | ||
## ``` | ||
## | ||
## ## Examples | ||
## | ||
## * [xalan-c](https://github.com/Microsoft/vcpkg/blob/master/ports/xalan-c/portfile.cmake) | ||
|
||
function(vcpkg_clean_msbuild) | ||
file(REMOVE_RECURSE | ||
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg | ||
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel | ||
) | ||
endfunction() |
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