MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015071 | CMake | CMake | public | 2014-08-08 11:47 | 2015-03-02 08:57 |
Reporter | Frank Benkstein | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0015071: building cmake on Windows against statically compiled openssl puts dlls into bin directory | ||||
Description | I am building a custom version of cmake 3.0.1 with 32bit Visual Studio 2010 on 64bit Windows 7. In my build script I build openssl statically and then build cmake with an installed version 3.0.0. It seems that cmake builds and links correctly agaist my own openssl. Unfortunately, the libea32.dll and ssleay32.dll from the locally installed cmake are also picked up and put into the install prefix. I tracked this down to these rules in my ninja file: # ============================================================================= # Write statements declared in CMakeLists.txt: # C:/Users/Frank/Projects/custom-cmake/cmake/src/Utilities/cmcurl/CMakeLists.txt # ============================================================================= <-- snip --> ############################################# # Custom command for bin\.\libeay32.dll build bin\.\libeay32.dll: CUSTOM_COMMAND C$:\usr\CMake-3.0.0\bin\libeay32.dll || Utilities\cmzlib\cmzlib.lib COMMAND = cmd.exe /C "cd /D C:\Users\Frank\Projects\custom-cmake\cmake\gen\cmake-build\Utilities\cmcurl && C:\usr\CMake-3.0.0\bin\cmake.exe -E copy C:/usr/CMake-3.0.0/bin/libeay32.dll C:/Users/Frank/Projects/custom-cmake/cmake/gen/cmake-build/bin/./libeay32.dll" DESC = Generating ../../bin/./libeay32.dll ############################################# # Custom command for bin\.\ssleay32.dll build bin\.\ssleay32.dll: CUSTOM_COMMAND C$:\usr\CMake-3.0.0\bin\ssleay32.dll || Utilities\cmzlib\cmzlib.lib COMMAND = cmd.exe /C "cd /D C:\Users\Frank\Projects\custom-cmake\cmake\gen\cmake-build\Utilities\cmcurl && C:\usr\CMake-3.0.0\bin\cmake.exe -E copy C:/usr/CMake-3.0.0/bin/ssleay32.dll C:/Users/Frank/Projects/custom-cmake/cmake/gen/cmake-build/bin/./ssleay32.dll" DESC = Generating ../../bin/./ssleay32.dll I found the responsible code block in Utilities/cmcurl/CMakeLists.txt but I have no idea how to fix it myself. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-08-08 11:47 | Frank Benkstein | New Issue | |||
2014-08-11 10:07 | Brad King | Note Added: 0036589 | |||
2014-08-28 05:11 | Frank Benkstein | Note Added: 0036686 | |||
2014-08-28 09:04 | Brad King | Note Added: 0036687 | |||
2014-09-17 05:27 | Frank Benkstein | Note Added: 0036818 | |||
2014-09-18 08:48 | Brad King | Status | new => resolved | ||
2014-09-18 08:48 | Brad King | Resolution | open => no change required | ||
2015-03-02 08:57 | Robert Maynard | Note Added: 0038125 | |||
2015-03-02 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|