View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000882 | CMake | CMake | public | 2004-05-26 22:15 | 2007-08-28 13:09 | ||||
Reporter | Eric Wing | ||||||||
Assigned To | |||||||||
Priority | urgent | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000882: Broken behavior with quotes between 1.8.3 and 2.0beta | ||||||||
Description | Behavior with quotes seems to have changed between 1.8.3 and 2.0beta. The ARGS line used to work in 1.8.3, but no longer works in 2.0beta: ADD_CUSTOM_COMMAND( OUTPUT ${wxLua_BINARY_DIR}/Import/wxLuaWrap${LUAWRAP_NAME}.hpp DEPENDS ${LUA_PROGRAM} ${wxLua_SOURCE_DIR}/Import/wxLuaWrap.i ${wxLua_SOURCE_DIR}/Import/wxLuaWrap.lua ${wxLua_SOURCE_DIR}/Import/Overrides.hpp COMMAND ${LUA_PROGRAM} ARGS -e"${LUAWRAP_MODE} inpath='${wxLua_SOURCE_DIR}/Import/' outpath='${wxLua_BINARY_DIR}/Import/'" ${wxLua_SOURCE_DIR}/Import/wxLuaWrap.lua ) Notice the double quote after -e and the very last double quote (after Import/'). In 1.8.3, these quotes were passed to the command line (expected behavior). But in 2.0beta, the quotes disappear causing my command to fail. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0001152) Brad King (manager) 2004-06-01 10:14 |
This code was actually only working before due to a bug in the 1.8.3 parser. If you want double-quotes to make it through the cmake command parsing, you have to escape them with a backslash. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-08-28 13:08 | Zack Galbreath | Note Deleted: 0008290 | |
2007-08-28 13:08 | Zack Galbreath | Assigned To | Jeff Lee => |
2007-08-28 13:08 | Zack Galbreath | Status | new => closed |
2007-08-28 13:08 | Zack Galbreath | Resolution | reopened => no change required |
2007-08-28 13:08 | Zack Galbreath | Summary | Goodsite => Broken behavior with quotes between 1.8.3 and 2.0beta |
2007-08-28 13:09 | Zack Galbreath | Project | InfoVis => CMake |
2007-08-28 13:09 | Zack Galbreath | Category | CPack => CMake |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |