Re: [CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?

2013-08-21 Thread Alan W. Irwin
On 2013-08-21 22:41+0200 Alexander Neundorf wrote: On Tuesday 06 August 2013, Alan W. Irwin wrote: I have a project that installs a CMake script which will be executed by users using cmake -P . Where is a reasonable place to install ? Currently I am thinking of /share// what kind of files

Re: [CMake] [cmake-developers] CMake 2.8.12-rc1 Released

2013-08-21 Thread Alexander Neundorf
On Tuesday 20 August 2013, Robert Maynard wrote: > Introduced CMake Policy 21: > It is now an error to use relative paths to include_directories. Why is this necessary ? The documentation for this policy says: "The base path for such relative entries is not well defined." I don't understand t

Re: [CMake] find_package components required or not

2013-08-21 Thread Alexander Neundorf
On Thursday 15 August 2013, Lars Lars wrote: > Hello, > > The find_package macro provides the keywords "REQUIRED" and "COMPONENTS". > > > > The docs state: "The REQUIRED option stops processing with an error message > if the package cannot be found. A package-specific list of components may > b

Re: [CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?

2013-08-21 Thread Alexander Neundorf
On Tuesday 06 August 2013, Alan W. Irwin wrote: > I have a project that installs a CMake script which will be executed > by users using cmake -P . > > Where is a reasonable place to install ? Currently I > am thinking of > > /share// what kind of files are these ? Should they be executed manua

Re: [CMake] How does CMake decide which compiler it should use?

2013-08-21 Thread Alexander Neundorf
On Thursday 08 August 2013, Bo Berglund wrote: > I have one instance of C++Builder XE4 installed and when I run CMake > it goes about testing the compiler before reaching the point where I > can select any sources to generate makefiles for. > > But if I install two older versions of C++Builder in

Re: [CMake] Cmake hangs when a custom target for running cpack is added.

2013-08-21 Thread Alexander Neundorf
On Tuesday 06 August 2013, Anil Gunturu wrote: > Hi, > A custom target in the CMakeLists.txt to run cpack seems to create a > deadlock. For example the following code hangs after emitting: > CPack: Create package using RPM > CPack: Install projects > CPack: - Install directory: /home/agunturu/proje

Re: [CMake] read file content to a variable at build-time

2013-08-21 Thread Alexander Neundorf
On Thursday 01 August 2013, Rothbauer, Stefan wrote: > Hello, > > I set up cmake to use a external project. This 3rd party library writes out > a file which contains all include paths set by this library. For the > master cmake project I need to read this information at build time into a > cmake v

Re: [CMake] Re-running automoc all the time after #13494

2013-08-21 Thread Alexander Neundorf
On Thursday 08 August 2013, Jan Kundrát wrote: > Hi, is there a solution for automoc being re-run every time when the binary > directory is in the include path (see below)? can you please enter a ticket in the cmake bug tracker for that (if you haven't done so already) ? Thanks Alex -- Powered