[CMake] Bootstrapping a compiler with cmake - ideas?

2010-09-17 Thread Christoph Höger
a configure script and the c-sources would live in the build directory. So how can we create such a distribution tarball? Is there anything in the cmake universe that could help us, or do we have to write a cmake script for that task? best regards, Christoph -- Christoph Höger Technische

[CMake] Jar resource files

2010-05-17 Thread Christoph Höger
Hi, does anyone know how to make cmake aware of non-class files for a .jar archive (like, e.g. MANIFEST.MF or other resources)? regards Christoph signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Powered by

Re: [CMake] add_custom_command weirdness

2010-03-31 Thread Christoph Höger
No. If this file was changed, that bevavior would be perfectly normal ;) On Tue, Mar 30, 2010 at 01:04:58PM -0400, David Cole wrote: That would happen if hcparser.y were changed. Does that file also change? Is it generated? 2010/3/30 Christoph Höger choe...@cs.tu-berlin.de Hi all

Re: [CMake] add_custom_command weirdness

2010-03-31 Thread Christoph Höger
: That would happen if hcparser.y were changed. Does that file also change? Is it generated? 2010/3/30 Christoph Höger choe...@cs.tu-berlin.de Hi all, I have a buildsystem here for a project containing several subprojects. All those subprojects have their own CMakeLists.txt in a subfolder

[CMake] add_custom_command weirdness

2010-03-30 Thread Christoph Höger
Hi all, I have a buildsystem here for a project containing several subprojects. All those subprojects have their own CMakeLists.txt in a subfolder. One of those subprojects needs to run a script to generate some sourcefiles: add_custom_command(OUTPUT ${typesh} ${typesc} COMMAND

[CMake] FlexLexer.h

2010-03-24 Thread Christoph Höger
Hi all, with find_package(FLEX) I can find the flex binary but obviously there is no way to get the FlexLexer.h, right? Any way to workaround that except for find_file? regards Christoph ___ Powered by www.kitware.com Visit other Kitware

[CMake] CPack NSIS documentation issue

2010-03-11 Thread Christoph Höger
Hi all, as you might know, CPack does support CPACK_NSIS_EXTRA_INSTALL_COMMANDS, what I found out is the following: 1. You cannot simply add !include directives here (I wanted to use the EnvVarUpdate function) 2. You need to escape your string twice, because it goes through two steps of cmake

Re: [CMake] CPack NSIS documentation issue

2010-03-11 Thread Christoph Höger
Oh, and I forgot to mention: 4. CPACK_NSIS_MODIFIY_PATH honors the bin/ layout, but is documented to set the PATH to the program directory. Is this some kind of fixed terminus in cmake? signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Re: [CMake] Linking external static libraries into dlls

2010-03-05 Thread Christoph Höger
Am Donnerstag, den 04.03.2010, 10:49 -0800 schrieb Tyler Roscoe: On Thu, Mar 04, 2010 at 06:30:02PM +0100, Christoph Höger wrote: I am currently trying to link a DLL with the netcdf_c++ static library in the hope I will not have to redistribute netcdf itself. (I thought the DLL could

[CMake] Linking external static libraries into dlls

2010-03-04 Thread Christoph Höger
Hi all, I am currently trying to link a DLL with the netcdf_c++ static library in the hope I will not have to redistribute netcdf itself. (I thought the DLL could contain the needed code itself). Therefore I used target_library_add({${myLib} ${netcdf_c++.lib}) While I can build that library