Re: [CMake] Flex/Bison

2007-02-09 Thread Tristan Carel
Hi, I have submited 2 new modules on the CMake bug tracker which provides couple of macros for Bison/Yacc. It hasn't been reviewed yet by the CMake crew, but the modules properly work for my use cases. bug num 4018 http://www.cmake.org/Bug/bug.php?op=show&bugid=4018&pos=4 Your feedback would be

[CMake] Flex/Bison

2007-02-09 Thread gga
I'm looking for a macro or library to handle Flex/Bison files/depencies from within cmake. Anyone? -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailma

Re: [CMake] cmake integration

2007-02-09 Thread Brandon J. Van Every
Pavel Volkovitskiy wrote: Brandon J. Van Every wrote: There's nothing stopping anyone from writing code like IF(KDE) FIND_LIBRARY(ASPELL_PATH ...) blah ELSE(KDE) blah ENDIF(KDE) but nobody's going to do that without a motive. It sounds like the real problem here is that conary is imprope

Re: [CMake] cmake integration

2007-02-09 Thread Eric Noulard
2007/2/9, Eric Noulard <[EMAIL PROTECTED]>: > which is really used during build - i really want to know it :) - really tough, I think you should not try to be smarter than the developpers of the package you are building. Now the discussion may go on the definition of the objectives of con

Re: [CMake] cmake integration

2007-02-09 Thread Eric Noulard
2007/2/9, Pavel Volkovitskiy <[EMAIL PROTECTED]>: > > but nobody's going to do that without a motive. It sounds like the > real problem here is that conary is improperly designed. > it's strange to find something if you are not going to use it It takes time, resources, but yeah it cheap :) I t

Re: [CMake] cmake integration

2007-02-09 Thread Pavel Volkovitskiy
Brandon J. Van Every wrote: Pavel Volkovitskiy wrote: It's not my CMakeList.txt, i use sim-im as example of program with cmake based buildsystem CMakeList.txt (from sim-im sources) always checks for ASPELL but doesn't uses it if USE_KDE=TRUE I want to know if this common practice (find eve

Re: [CMake] cmake integration

2007-02-09 Thread Pavel Volkovitskiy
Alan W. Irwin wrote: On 2007-02-09 20:50+0300 Pavel Volkovitskiy wrote: [...]now with cmake: It seems the only thing i can always add is CMAKE_INSTALL_PREFIX, there is no other standart variables for paths so one app will install plugins under /usr/lib/foo/, another will use /usr/lib64/bla/ o

Re: [CMake] swig and LINK_DIRECTORIES

2007-02-09 Thread Alan W. Irwin
On 2007-02-09 11:30-0700 Karl Merkley wrote: I have a file that I am swigging that needs to be linked with files that reside someplace else on the OS. How can I get the UseSWIG to look for the libraries in the correct place? Below is a truncated CMakeLists.txt that approximates what I am t

Re: [CMake] cmake integration

2007-02-09 Thread Brandon J. Van Every
Pavel Volkovitskiy wrote: It's not my CMakeList.txt, i use sim-im as example of program with cmake based buildsystem CMakeList.txt (from sim-im sources) always checks for ASPELL but doesn't uses it if USE_KDE=TRUE I want to know if this common practice (find everything even if you don't ne

Re: [CMake] cmake integration

2007-02-09 Thread Alan W. Irwin
On 2007-02-09 20:50+0300 Pavel Volkovitskiy wrote: [...]now with cmake: It seems the only thing i can always add is CMAKE_INSTALL_PREFIX, there is no other standart variables for paths so one app will install plugins under /usr/lib/foo/, another will use /usr/lib64/bla/ one app will use /usr/m

[CMake] swig and LINK_DIRECTORIES

2007-02-09 Thread Karl Merkley
I have a file that I am swigging that needs to be linked with files that reside someplace else on the OS. How can I get the UseSWIG to look for the libraries in the correct place? Below is a truncated CMakeLists.txt that approximates what I am trying to do. PROJECT(nurbs) FIND_PACKAGE

Re: [CMake] cmake integration

2007-02-09 Thread Pavel Volkovitskiy
Pavel Volkovitskiy wrote: you don't need to look how you should specify libdir: '--libdir, --lib-dir, '--dir-for-lib', etc', it's always named '--lib-dir' sorry, '--libdir' :) -- Pavel ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mail

Re: [CMake] cmake integration

2007-02-09 Thread Pavel Volkovitskiy
Eric Noulard wrote: 2007/2/9, Pavel Volkovitskiy <[EMAIL PROTECTED]>: > Looks like cmake's developers doesn't plan world domination? :) Or may be it's not possible to use generic rules to run cmake's based make-system? What do you mean by "generic rule" ? An exemple would be welcomed. sorry

Re: [CMake] cmake integration

2007-02-09 Thread Eric Noulard
2007/2/9, Pavel Volkovitskiy <[EMAIL PROTECTED]>: > Looks like cmake's developers doesn't plan world domination? :) Or may be it's not possible to use generic rules to run cmake's based make-system? What do you mean by "generic rule" ? An exemple would be welcomed. I have another question to

Re: [CMake] cmake integration

2007-02-09 Thread Pavel Volkovitskiy
Pavel Volkovitskiy wrote: Hello! I'm trying to implement initial cmake support for conary (distributed software management system, http://wiki.rpath.com/wiki/Conary) PS: Note, i'm not official developer of it right now it has good support for configure based applications let's for example we

Re: [CMake] QT4_ADD_RESOURCES fails to find dependencies in resource-files with aliases

2007-02-09 Thread Michael G. Hansen
Alexander Neundorf wrote: >> I am using aliases in my Qt-resource-files like this: >> filename/on/disk.ext >> >> This prevents QT4_ADD_RESOURCES from finding the dependency on >> "filename/on/disk.ext" because the regular expression used for this does >> not expect the alias-parameter. I tried to c

Re: [CMake] Newbie: How to generate .err files during compile

2007-02-09 Thread Eric Noulard
2007/2/9, dieter oberkofler <[EMAIL PROTECTED]>: 3) The suggestion by Alexander to use a wrapper seems the way to go and I just need to figure out how to get the individual error file name. I think your script will be given the C/C++ compile command line arguments as its own argument one of the

RE: [CMake] Newbie: How to generate .err files during compile

2007-02-09 Thread dieter oberkofler
To your feedback: 1) We are very much used to have one error file for each source file because this is how our editor (good old CodeWrite) expects to get the errors and because it is very convenient to check the results after a complete build. Especially if run on a remote server or as a distribut

Re: [CMake] linking

2007-02-09 Thread Alexander Neundorf
Original-Nachricht Datum: Fri, 9 Feb 2007 11:26:45 +0100 Von: "Hector Franco Penya" <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] CC: cmake@cmake.org Betreff: Re: [CMake] linking > Thank Bill, > but it doesn't resolve the problem, the shell still displays the same > error. Please r

Re: [CMake] linking

2007-02-09 Thread Hector Franco Penya
Thank Bill, but it doesn't resolve the problem, the shell still displays the same error. now the CMakeLists.txt contains: SET(CMAKE_CXX_FLAGS "-fPIC -D_REENTRANT -g -c -I./binreloc -I../../include -I./Counters -Wall -Wextra -DGCC_HASCLASSVISIBILITY -DAUTILITYLIB_API_EXPORTS -DENABLE_BINRELOC "

Re: [CMake] Newbie: How to generate .err files during compile

2007-02-09 Thread Eric Noulard
2007/2/9, Alexander Neundorf <[EMAIL PROTECTED]>: Original-Nachricht Datum: Fri, 9 Feb 2007 08:37:47 +0100 Von: "d.1234567890" <[EMAIL PROTECTED]> An: CMake@cmake.org CC: Betreff: [CMake] Newbie: How to generate .err files during compile > Sorry if I double post but: > I was w

Re: [CMake] Newbie: How to generate .err files during compile

2007-02-09 Thread Alexander Neundorf
Original-Nachricht Datum: Fri, 9 Feb 2007 08:37:47 +0100 Von: "d.1234567890" <[EMAIL PROTECTED]> An: CMake@cmake.org CC: Betreff: [CMake] Newbie: How to generate .err files during compile > Sorry if I double post but: > I was wondering, if someone could help me to understand ho