Re: [CMake] Finding Python3

2010-07-23 Thread Michael Hertling
On 07/23/2010 09:02 AM, Michael Wild wrote: > > On 23. Jul, 2010, at 6:29 , Michael Hertling wrote: > >> On 07/22/2010 10:36 AM, Michael Wild wrote: >>> >>> On 22. Jul, 2010, at 10:17 , Marcel Loose wrote: >>> [...] Hi Michael and others, I mostly agree with what your saying.

Re: [CMake] Generated file not found during generation

2010-07-23 Thread David Cole
Does the behavior change if you list the rc file first? Or if you list only the rc file as an OUTPUT? I vaguely remember there being some difference between "primary" OUTPUT and other files mentioned as OUTPUT values, but it's in the foggy past... Some experimentation or some reading of the add_cu

[CMake] Generated file not found during generation

2010-07-23 Thread Aaron_Wright
(This is a repeat email, but my last one may have been in reply to another message, which it should not have been. So I'm trying again, sorry.) I have a program that uses the Window's Event Log. Using the event log is a little goofy; it requires a message resource file. So I set up a custom com

Re: [CMake] Decide to include fortran during configure?

2010-07-23 Thread David Cole
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:enable_language if(option_is_on) enable_languauge(Fortran) endif() should work... On Fri, Jul 23, 2010 at 1:20 PM, James C. Sutherland < james.sutherl...@utah.edu> wrote: > I have a project that may need to use a fortran compiler de

[CMake] Decide to include fortran during configure?

2010-07-23 Thread James C. Sutherland
I have a project that may need to use a fortran compiler depending on the user configuration of the project. The problem is that I don't want to force usage of fortran (in the project() statement) since in some cases a user may not have a fortran compiler installed and I want the configure to proc

Re: [CMake] Windows library target names

2010-07-23 Thread Brian Davis
--snip-- I'm using Boost and I've never hard to work with special defines and compile flags. That's the power of proper automatic support. --end snip-- That's the power of Boost. These guys have really figured it out. I too would like to see some of the Boost.Build concepts make their way into C

Re: [CMake] How to exclude empty dirs from install

2010-07-23 Thread Brian Davis
--snip-- Because if they were excluded, we would have someone on the list next month asking why she can't create empty directories with install() commands. --end snip-- True point taken. Then we would have 2 people who are correct ... Olaf and this said hypothetic other person. With software th

Re: [CMake] how to set ar/ranlib flags per target - Solved

2010-07-23 Thread Hickel, Kelly
Michael, I tried your way of setting it, and that worked. I already had a toolchain file, so wasn't worried about setting it there, but your comment about using a toolchain file prompted me to look at why I was using it. Turns out that it was something I set up early on, and have since

[CMake] CPack Optional Component

2010-07-23 Thread Vincent LEFORT
Hello, i use CPack to pack my project. I use components (cpack_add_component) in it, and i do some links in start menu using "set(CPACK_NSIS_MENU_LINKS ...)". But, i want to make the link for example "Documentation" only if the component "Documentation" is checked. How i can do this trick ? Reg

Re: [CMake] Finding Python3

2010-07-23 Thread Michael Wild
On 23. Jul, 2010, at 8:59 , Branan Purvine-Riley wrote: > On Sunday 18 July 2010 12:07:43 you wrote: >> On Sunday 18 July 2010 09:15:17 Michael Hertling wrote: >>> On 07/18/2010 06:50 AM, Branan Riley wrote: I've mad a very cursory effort to add Python 3 support to CMake. All I've done

Re: [CMake] Finding Python3

2010-07-23 Thread Michael Wild
On 23. Jul, 2010, at 8:59 , Branan Purvine-Riley wrote: > On Sunday 18 July 2010 12:07:43 you wrote: >> On Sunday 18 July 2010 09:15:17 Michael Hertling wrote: >>> On 07/18/2010 06:50 AM, Branan Riley wrote: I've mad a very cursory effort to add Python 3 support to CMake. All I've done

Re: [CMake] Finding Python3

2010-07-23 Thread Michael Wild
On 23. Jul, 2010, at 6:29 , Michael Hertling wrote: > On 07/22/2010 10:36 AM, Michael Wild wrote: >> >> On 22. Jul, 2010, at 10:17 , Marcel Loose wrote: >> [...] >>> >>> Hi Michael and others, >>> >>> I mostly agree with what your saying. However, IMHO, you refer to a >>> "perfect world" situa