Re: [CMake] add_custom_target problem

2010-06-09 Thread Hariharan Iyer
On Wednesday 09 June 2010 09:35 PM, Michael Wild wrote: On 9. Jun, 2010, at 17:47 , Hariharan Iyer wrote: This may not be only because of using add_custom_target, but I have the following problem. I have a custom target that depends on a generated file, as: add_custom_target(foo DEPENDS bar)

Re: [CMake] add_custom_target problem

2010-06-09 Thread Michael Wild
On 9. Jun, 2010, at 17:47 , Hariharan Iyer wrote: > This may not be only because of using add_custom_target, but I have the > following problem. I have a custom target that depends on a generated file, > as: > add_custom_target(foo DEPENDS bar) > > where "bar" is a generated file, generated us

Re: [CMake] Project initialization file path

2010-06-09 Thread Michael Wild
On 9. Jun, 2010, at 17:26 , Aby Louw wrote: > Hi, > > > I have a Linux project that reads an initialization file on startup to > get some file names and variables. > > When doing an in-source or out of source build, I generate the > initialization file in the CMAKE_BINARY_DIR and then also gen

[CMake] add_custom_target problem

2010-06-09 Thread Hariharan Iyer
This may not be only because of using add_custom_target, but I have the following problem. I have a custom target that depends on a generated file, as: add_custom_target(foo DEPENDS bar) where "bar" is a generated file, generated using add_custom_command. If I build the "foo" target by itself

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-06-09 Thread Ryan Pavlik
So, I made a little typo - you don't probably want to supply the PATHS argument at all. PATH_SUFFIXES are tacked on to the end of every place CMake looks, so the number of places searched is (# of cmake default places + 1 for hints path) * (# of PATH_SUFFIXES arguments + 1 for no suffix) fin

[CMake] Project initialization file path

2010-06-09 Thread Aby Louw
Hi, I have a Linux project that reads an initialization file on startup to get some file names and variables. When doing an in-source or out of source build, I generate the initialization file in the CMAKE_BINARY_DIR and then also generate the C file that reads this file so that I know the corre

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-06-09 Thread Ryan Pavlik
On 05/27/2010 03:29 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: Ryan Pavlik [mailto:rpav...@iastate.edu] Sent: Wed 5/26/2010 5:37 PM To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ No, the "ROOT_DIR" variable

[CMake] CPack NSIS translation

2010-06-09 Thread Vincent LEFORT
Hello, i want to use CPack to generate my installer instead of NSIS directly. Is it possible to have translation of my installer using CPack/CMake ? *For example :* At the beginning, NSIS will ask the language of the installer and after, all the text will be in the selected language. I don't fin

Re: [CMake] Data dir

2010-06-09 Thread Yegor Yefremov
> I am working on a CPack/NSIS based installer for MariaDB. The early > parts were really easy to do, but now it becomes more complicated. > > First problem: I have a set of files with the bootstrap MySQL/MariaDB > database files. Some users might not want to install these, if they are > installin

Re: [CMake] Data dir

2010-06-09 Thread Bo Thorsen
Den 09-06-2010 14:25, Yegor Yefremov skrev: I am working on a CPack/NSIS based installer for MariaDB. The early parts were really easy to do, but now it becomes more complicated. First problem: I have a set of files with the bootstrap MySQL/MariaDB database files. Some users might not want to in

[CMake] Data dir

2010-06-09 Thread Bo Thorsen
Hi everyone, I am working on a CPack/NSIS based installer for MariaDB. The early parts were really easy to do, but now it becomes more complicated. First problem: I have a set of files with the bootstrap MySQL/MariaDB database files. Some users might not want to install these, if they are in

[CMake] No FortranCInterface mangling known with (VCExpress & Intel Ifort 2008)

2010-06-09 Thread Giraudon Cyril
Hello, I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP. When I try to generate the fortran binding of a project a "No FortranCInterface mangling known for mysub" message (reported hereafter) is printed. It seems CMake can't deal with the couple (Visual Studio Express 2008,