[CMake] CMake and SWIG...

2010-03-22 Thread Caron, Michael C. (US SSA)
Alright so I've got some very basic skeleton stuff put together using CMake and SWIG. I followed the Python example and poked and prodded at it to make a Java version of the same thing. Then added my stuff to it. So I've got: FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE

Re: [CMake] CMake and SWIG

2010-03-21 Thread David Cole
, Michael C. (US SSA) *Cc:* cmake@cmake.org *Subject:* Re: [CMake] CMake and SWIG If you open the file C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindSWIG.cmake and read through it, you will see exactly where CMake is looking for SWIG. It uses: FIND_PROGRAM(SWIG_EXECUTABLE swig

Re: [CMake] CMake and SWIG

2010-03-19 Thread Caron, Michael C. (US SSA)
] Sent: Thursday, March 18, 2010 4:16 PM To: Caron, Michael C. (US SSA) Cc: cmake@cmake.org Subject: Re: [CMake] CMake and SWIG If you open the file C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindSWIG.cmake and read through it, you will see exactly where CMake is looking for SWIG. It uses

[CMake] CMake and SWIG

2010-03-18 Thread Caron, Michael C. (US SSA)
I'm just starting to try and get CMake and SWIG to play nice together. All I've done is add: FIND_PACKAGE(SWIG REQUIRED) to an existing CMakeLists.txt file that has worked before now. With only this addition I get: CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules

Re: [CMake] CMake and SWIG

2010-03-18 Thread David Cole
If you open the file C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindSWIG.cmake and read through it, you will see exactly where CMake is looking for SWIG. It uses: FIND_PROGRAM(SWIG_EXECUTABLE swig) (which means it's only looking in the PATH...) So you can either: set(SWIG_EXECUTABLE

[CMake] CMake and SWIG and several broken modules

2007-12-01 Thread Hendrik Sattler
Hi, I trie to use cmake for an already existing project that currently uses autotools. There are several problems and some are related to bugs in module files or missing module features. The bugs are reported here as they are easy to fix and I don't want to do yet-another-registration: * the

Re: [CMake] CMake and SWIG and several broken modules

2007-12-01 Thread Hendrik Sattler
Am Samstag 01 Dezember 2007 schrieb Hendrik Sattler: * The UseSWIG.cmake module: - uses it's first argument as target name for the module and thus also as output name, better: - combine target name with the current language and set OUTPUT_NAME property on target to the

RE: [CMake] CMake and swig problem

2006-02-23 Thread Ian . Appru
: [CMake] CMake and swig problem At 09:45 AM 2/22/2006, [EMAIL PROTECTED] wrote: Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary=_=_NextPart_001_01C637BE.AF16F774 Hi, I am using the UseSWIG module on solaris to configure swig to generate a java