diff options
author | Stephen Sorley <ssorley@monetra.com> | 2017-10-09 15:39:29 (GMT) |
---|---|---|
committer | Stephen Sorley <ssorley@monetra.com> | 2017-10-13 17:07:37 (GMT) |
commit | e1409101c99f7a3487990e9927e8bd0e275f564f (patch) | |
tree | e5c0ecb010bc9bbfc11aeea8a2e65bbe9eafd14a /Source/CPack/WiX/cmCMakeToWixPath.h | |
parent | e258fe03968d27871d6a57e3f4571bc8fbba6b9b (diff) | |
download | CMake-e1409101c99f7a3487990e9927e8bd0e275f564f.zip CMake-e1409101c99f7a3487990e9927e8bd0e275f564f.tar.gz CMake-e1409101c99f7a3487990e9927e8bd0e275f564f.tar.bz2 |
cpack wix: support WiX generator on Cygwin
Cygwin-built CMake now converts paths from Cygwin to Windows form
(using cygpath -w) before they're passed to WiX.
The Wix generator on Cygwin requires the libuuid-dev package when
building CMake. However, the DLL it links to is installed by default
as part of Cygwin's core libs, so it does not need to be distributed.
If libuuid-dev isn't available, CMake is simply built without Wix
support on Cygwin.
Diffstat (limited to 'Source/CPack/WiX/cmCMakeToWixPath.h')
-rw-r--r-- | Source/CPack/WiX/cmCMakeToWixPath.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmCMakeToWixPath.h b/Source/CPack/WiX/cmCMakeToWixPath.h new file mode 100644 index 0000000..8bb9e04 --- /dev/null +++ b/Source/CPack/WiX/cmCMakeToWixPath.h @@ -0,0 +1,12 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cmCMakeToWixPath_h +#define cmCMakeToWixPath_h + +#include "cmConfigure.h" //IWYU pragma: keep + +#include <string> + +std::string CMakeToWixPath(const std::string& cygpath); + +#endif // cmCMakeToWixPath_h |