View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011014 | CMake | CMake | public | 2010-07-20 12:20 | 2011-01-12 07:33 | ||||
Reporter | Eric Huhtala | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0011014: missing dependency on def file for nmake | ||||||||
Description | When I look at the dll dependencies in the generated nmake files, there's no line for the def file, so editing the def file doesn't cause the dll to be relinked. The link line does have "/def:myLib.def" as I'd expect. | ||||||||
Additional Information | This is what my CMakeLists.txt file looks like # requiredFiles is a list of c++ files if (WIN32) set (requiredFiles ${requiredFiles} myLib.def) endif (WIN32) add_library(myLib SHARED ${requiredFiles}) install(TARGETS myLib DESTINATION ${INSTALL_DIR}) | ||||||||
Tags | def, depend, dependency, nmake | ||||||||
Attached Files | 0011014.patch [^] (663 bytes) 2010-08-12 10:40 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0021718) Eric Huhtala (reporter) 2010-08-11 17:04 edited on: 2010-08-11 17:05 |
I found a work around that works for me for now: add_custom_target(def_dependency COMMAND del "\"${CMAKE_CURRENT_BINARY_DIR}\\myLib.dll\"" > CMakeFiles\def_dependency DEPENDS myLib.def ) |
(0021734) Eric Huhtala (reporter) 2010-08-12 10:43 |
I just attached 0011014.patch which fixed the issue for me. I wasn't sure if this was the appropriate method to submit a patch. If there's something else I should do, could someone please let me know? |
(0024163) Brad King (manager) 2010-12-15 11:33 |
I rebased the patch since the code it touches moved. Applied, thanks: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3e279971 [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-07-20 12:20 | Eric Huhtala | New Issue | |
2010-07-20 12:22 | Eric Huhtala | Tag Attached: def | |
2010-07-20 12:22 | Eric Huhtala | Tag Attached: depend | |
2010-07-20 12:22 | Eric Huhtala | Tag Attached: dependency | |
2010-07-20 12:22 | Eric Huhtala | Tag Attached: nmake | |
2010-08-11 17:04 | Eric Huhtala | Note Added: 0021718 | |
2010-08-11 17:05 | Eric Huhtala | Note Edited: 0021718 | |
2010-08-12 10:40 | Eric Huhtala | File Added: 0011014.patch | |
2010-08-12 10:43 | Eric Huhtala | Note Added: 0021734 | |
2010-12-15 10:58 | David Cole | Assigned To | => Brad King |
2010-12-15 10:58 | David Cole | Status | new => assigned |
2010-12-15 11:33 | Brad King | Note Added: 0024163 | |
2010-12-15 11:33 | Brad King | Status | assigned => closed |
2010-12-15 11:33 | Brad King | Resolution | open => fixed |
2011-01-12 07:33 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-12 07:33 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |