-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more options for xerces-c recipe
As specified in http://xerces.apache.org/xerces-c/build-3.html#CMake there are a number of project specific options for configuring xerces-c. Currently, only the `XMLCh` type could be configured through a conan option. This commit adds corresponding conan options for all of the other options (i.e. network accessor, transcoder, message loader and mutex manager) that were previously hardcoded. Since not every value of these options is valid on every platform this commit also adds proper validation of the user input to detect invalid configurations. Setting the default value for the conan options is a bit more complicated because for some options this value is not the same for all platforms. Therefore, the `default_options` have been dropped in favor of setting the `options` manually from within `config_options()` if not set by the user.
- Loading branch information
Showing
1 changed file
with
57 additions
and
22 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