Perfect! Thanks Alan. Gerrick
On 7/15/08 4:19 PM, "Alan W. Irwin" <[EMAIL PROTECTED]> wrote: > On 2008-07-15 15:49-0500 Gerrick Bivins wrote: > >> Hello, >> I�m trying to add an extra option to the swig compile line (-package >> <packagename>) while generating java wrappers for my project. >> I�m running into a problem when using: >> SET(PACKAGE_NAME test) >> SET_SOURCE_FILES_PROPERTIES( ${INTERFACE_FILES} PROPERTIES CPLUSPLUS ON ) >> SET( CMAKE_SWIG_FLAGS "-package ${PACKAGE_NAME}" ) > > Try dropping the quotes, i.e., > > SET(CMAKE_SWIG_FLAGS -package ${PACKAGE_NAME}) > > That form works for the PLplot project. > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting software > package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > _______________________________________________ > > CMake mailing list > > CMake@cmake.org > > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake