MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014040 | CMake | Modules | public | 2013-03-25 16:24 | 2013-10-07 10:04 |
| Reporter | Javier | ||||
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | linux | OS | red hat | OS Version | 2.3 |
| Product Version | CMake 2.8.10.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014040: SWIG doesn't support -pacakge | ||||
| Description | I'm trying to generate java wrappers for a C++ interface. I need the wrappers to be in a specific package. This is achieved by passing -package <package> to swig. When I set SWIG_FLAGS to "-package com.something", swigs yields "Unrecognized option -package com.something" The reason for this is that in build.cmake, the space is escaped: ... && /usr/local/bin/swig -java -package\ com.something ... | ||||
| Steps To Reproduce | find_package(JNI REQUIRED) find_package(SWIG REQUIRED) include(${SWIG_USE_FILE}) include_directories(${JNI_INCLUDE_DIRS}) set_source_files_properties(example.i PROPERTIES CPLUSPLUS ON) set_source_files_properties(example.i PROPERTIES SWIG_FLAGS "-package com.something") swig_add_module(example java example.i example.cpp) | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-03-25 16:24 | Javier | New Issue | |||
| 2013-03-25 16:34 | Brad King | Note Added: 0032699 | |||
| 2013-03-26 08:26 | Javier | Note Added: 0032701 | |||
| 2013-03-26 08:31 | Brad King | Status | new => resolved | ||
| 2013-03-26 08:31 | Brad King | Resolution | open => no change required | ||
| 2013-10-07 10:04 | Robert Maynard | Note Added: 0034016 | |||
| 2013-10-07 10:04 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||