Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-14 Thread Jesper Eskilson
On 10/14/2010 10:22 PM, Michał Czuczman wrote: I would be interested in improving Java support in CMake. A source code parser which finds out names of generated output object files, as in the SCons Java support, is a must. That's what the current Java support in CMake lacks the most. I've sea

Re: [CMake] How to use Purify with CMake.

2010-10-14 Thread Bill Hoffman
On 10/14/2010 7:11 PM, Ben Boeckel wrote: william.croc...@analog.com wrote: Something like this is probably better (crudely adapted from something like this for test executables from here[1]): macro (purify exename) add_custom_target(purify-${exename}) add_custom_command(

Re: [CMake] How to use Purify with CMake.

2010-10-14 Thread Ben Boeckel
william.croc...@analog.com wrote: > Hello: > > I needed to build a purified version of my test program. > A search of the mailing list archives produced a number of > options, but they all had drawbacks. > > I came upon the solution below which seems to work well. > I introduce a new language "P

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-14 Thread Michał Czuczman
On 2010-10-07, 12:57:50, Bill Hoffman wrote: > On 10/7/2010 12:37 PM, Ryan Pavlik wrote: > >**>**>* On 10/07/2010 09:57 AM, Andreas Schneider wrote:*>>* On Thursday 07 > >October 2010 16:45:49 Andreas Schneider wrote:*>>>* My current problem is > >with javah (C header file generator). This*>>>*

[CMake] Undefined symbol _MAIN_ in shared library creation

2010-10-14 Thread Mario Rodríguez
Hi, I`m having this linking error compiling a Fortran project on a Visual studio 2008 solution with cmake 2.8.2. The project contains several files, but w/o any entry point... only a bunch of subroutines packed on a library... /OUT:..dll /VERSION:2.0 /LIBPATH:... /LIBPATH:

[CMake] How to use Purify with CMake.

2010-10-14 Thread william.croc...@analog.com
Hello: I needed to build a purified version of my test program. A search of the mailing list archives produced a number of options, but they all had drawbacks. I came upon the solution below which seems to work well. I introduce a new language "PURIFY" for the purposes of linking the purified ex

Re: [CMake] is it possible to include_directories in same build not by relative path?

2010-10-14 Thread Michael Wild
On 14. Oct, 2010, at 11:42 , Thomas Fannes wrote: > Hello, > > My project has the following structure: > > root > + lib > + libA > + libB > + test > + test1 > > test1 depends on libA and libB. > > For the include path in test1 I now have to write something like: > include_direct

Re: [CMake] Possible changes in CPackRPM.cmake in version 2.8.0

2010-10-14 Thread Eric Noulard
2010/10/14 Karl Krissian : >  Hi, > > I made the following changes to the file > /usr/share/cmake/Modules/CPackRPM.cmake to be able to use it for my > software: > > diff /home/karl/amilab_trunk/CMAKE/CPackRPM.cmake > /usr/share/cmake/Modules/CPackRPM.cmake > 283,285c283 > <                 COMMAND

Re: [CMake] CPACK "deb" package Problem

2010-10-14 Thread Eric Noulard
Hi Chang, 2010/10/14 Chang Yu Huang : > Here is my CMakeLists.txt file, and when I use the "make" and "make install" > command, I can successfully install all files into the file system. You think you do but in fact you don't :-], but keep reading. > However, when I use the "make package" comman

[CMake] test

2010-10-14 Thread Chang Yu Huang
test ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscr

[CMake] is it possible to include_directories in same build not by relative path?

2010-10-14 Thread Thomas Fannes
Hello, My project has the following structure: root + lib + libA + libB + test + test1 test1 depends on libA and libB. For the include path in test1 I now have to write something like: include_directories(../../lib/libA ../../lib/libB) isn't there an easier way as with linkin

[CMake] Possible changes in CPackRPM.cmake in version 2.8.0

2010-10-14 Thread Karl Krissian
Hi, I made the following changes to the file /usr/share/cmake/Modules/CPackRPM.cmake to be able to use it for my software: diff /home/karl/amilab_trunk/CMAKE/CPackRPM.cmake /usr/share/cmake/Modules/CPackRPM.cmake 283,285c283 < COMMAND sed {s/\\.//} < COMMAND sed

[CMake] CPACK "deb" package Problem

2010-10-14 Thread Chang Yu Huang
Here is my CMakeLists.txt file, and when I use the "make" and "make install" command, I can successfully install all files into the file system. However, when I use the "make package" command, there is no any file be packaged in "deb package", I would like to ask why, thanks a lot. CMakeLists.txt:

Re: [CMake] *.c compiled with C compiler after clearing CMAKE_C_SOURCE_FILE_EXTENSIONS

2010-10-14 Thread Jed Brown
On Wed, Oct 13, 2010 at 22:21, Alexander Neundorf wrote: > CMAKE__SOURCE_FILE_EXTENSIONS is used quite early in the > enable-language process, i.e. when the > CMakeFiles/CMakeCompiler.cmake file is generated. > If the variable is changed after that happened, it doesn't have an effect > anymore. T