[CMake] implements Comparable

2011-10-08 Thread EXT-Harris, Scott H
Hi, How can I get SWIG to generate a java class that implements Comparable? Let's say I have a C++ class X and an SWIG interface X that generates a compareTo(X rhs) method. If I use the Java class generated by SWIG in a TreeMap then the second put will throw this exception: CREATION

Re: [CMake] implements Comparable

2011-10-08 Thread EXT-Harris, Scott H
Darn - sorry, I posted this to the wrong mail list. From: EXT-Harris, Scott H Sent: Saturday, October 08, 2011 5:04 PM To: cmake@cmake.org Cc: EXT-Harris, Scott H Subject: implements Comparable Hi, How can I get SWIG to generate a java class that implements Comparable? Let's say I have a C

[CMake] variables from configuration file

2011-09-29 Thread EXT-Harris, Scott H
Hi, I am using cmake-2.8.6-rc4. In my configuration file, config/cmake/linux.cmake, I have: set ( COMPILER_HOME /home/harris_s/cots/linux/v12.1/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1 ) and generated my makefiles like: cmake -C config/cmake/linux.cmake . and I would like to use