Re: [CMake] Build problem : beginner

2011-03-27 Thread Martin O'Brien
I can't say for certain without seeing all of it, but it sure doesn't look like there's any source code there, so I would assume that it's a binary distribution. Either way, those '*.cmake' files aren't what cmake uses directly to build things. You would need a 'CMakeLists.txt' file, which

Re: [CMake] cpack issue: %1 is not a valid Win32 application

2011-02-24 Thread Martin O'Brien
I haven't really read most if this thread, so this may not apply, but this dialog box can be caused by trying to run a Win64 application on Win32, or trying to run any binary other than Win32 with a format that Windows understands on Win32. Mm On Feb 24, 2011 7:28 PM, thehighhat

Re: [CMake] Prevent make (linux) from fowling dependencies out of cwd

2011-02-24 Thread Martin O'Brien
Do you mean not even build subdirectories? On Feb 24, 2011 11:09 PM, Mark Miller mille...@llnl.gov wrote: I am on a large project that uses CMake. I do my development primarily on Linux. Prior to introduction of CMake, the makefiles we produced would be such that I could cd into some directory

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Martin O'Brien
Just out of curiosity, Matt, what (if anything) did you use to generate the Ninja files? Gyp? Thanks, mm -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Matt Williams Sent: Saturday, February 12, 2011 5:15 PM To: Nicolas Desprès Cc:

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Martin O'Brien
Cool. Thanks, mm -Original Message- From: Matt Williams [mailto:li...@milliams.com] Sent: Saturday, February 12, 2011 5:48 PM To: Martin O'Brien Cc: CMake ML Subject: Re: [CMake] Ninja: a small build system closest in spirit to Make On 12 February 2011 23:26, Martin O'Brien

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Martin O'Brien
While I too find myself sometimes wanting convenience scripts - some people find the use of '-DENABLE_whatever=ON' instead of --enable-whatever' foreign, for example - the problem with them, IMO, is that they're impossible to make crossplatform without requiring the presence of some tool - perl,

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Martin O'Brien
, February 08, 2011 3:26 AM To: Martin O'Brien Cc: cmake@cmake.org Subject: Re: [CMake] Automatic out of source build's possible? 2011/2/8 Martin O'Brien martin.matthew.obr...@gmail.com: While I too find myself sometimes wanting convenience scripts - some people find the use of '-DENABLE_whatever

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Martin O'Brien
must be *before* the -P option. Very nasty, especially for people who never used CMake before. Michael On 02/08/2011 09:27 AM, Martin O'Brien wrote: Absolutely, and that is what I do in some cases, but in the particular case that I described - which is what I had in mind; I should have been clearer

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Martin O'Brien
, especially for people who never used CMake before. Yes right I was caught by that in the past. On 02/08/2011 09:27 AM, Martin O'Brien wrote: Absolutely, and that is what I do in some cases, but in the particular case that I described - which is what I had in mind; I should have been clearer

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Martin O'Brien
[mailto:eric.noul...@gmail.com] Sent: Tuesday, February 08, 2011 4:39 AM To: Martin O'Brien Cc: cmake@cmake.org Subject: Re: [CMake] Automatic out of source build's possible? 2011/2/8 Martin O'Brien martin.matthew.obr...@gmail.com: I've resisted the urge to patch, since I really don't want to be dependent

Re: [CMake] Question about dependencies

2011-02-08 Thread Martin O'Brien
You have a number of typos there - are you sure that's not the problem? CMAKE_BINAARY_DIR Factfile v. Facfile FACTILE v. FACTFILE Mm On Feb 8, 2011 6:48 PM, Carminati Federico federico.carmin...@cern.ch wrote: Hello, May be this is a very simple question but... I have a fully qualified path

Re: [CMake] try_compile generates assertion failure in MSVC 2010

2011-02-04 Thread Martin O'Brien
Are you doing something with floating point? mm -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Friday, February 04, 2011 7:13 AM To: Dominik Szczerba Cc: CMake mailing list Subject: Re: [CMake] try_compile generates

Re: [CMake] try_compile generates assertion failure in MSVC 2010

2011-02-04 Thread Martin O'Brien
You might want to take a look at this CL options: -fp -Qfast_transcendentals -QIfist -Qimprecise_fwaits -Qsafe_fp_loads You might give -fp:except a try, not that I have any idea of whether it will help or not. mm -Original Message- From: cmake-boun...@cmake.org

Re: [CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Martin O'Brien
the former's results. [...] If you can better explain what do you want to do with the LOCATION of your target may be someone can help. Regards, Michael @ Martin O'Brien: On my side, everything works as usual. ___ Powered by www.kitware.com Visit other

Re: [CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Martin O'Brien
Sorry, Nizar - I unintentionally hijacked the thread. I wasn't commenting on your problem. My bad, mm -Original Message- From: Nizar Khalifa Sallem [mailto:nksal...@laas.fr] Sent: Sunday, January 09, 2011 4:49 PM To: Martin O'Brien Cc: cmake@cmake.org Subject: Re: [CMake] Restrictions

Re: [CMake] Fwd: TARGET_LINK_LIBRARIES not working for MSVC

2011-01-08 Thread Martin O'Brien
If you're seeing a 'Librarian' tab instead of a 'Linker' tab, then you're building a static library, not a dll. I'm not sure which you are expecting. Could you post the results of the build? Seeing the actual errors would help. mm -Original Message- From: cmake-boun...@cmake.org

Re: [CMake] Fwd: TARGET_LINK_LIBRARIES not working for MSVC

2011-01-08 Thread Martin O'Brien
Glad I could help. mm From: Avanindra Singh [mailto:avanindra.si...@gmail.com] Sent: Saturday, January 08, 2011 3:45 PM To: Martin O'Brien Cc: CMake mailing list Subject: Re: [CMake] Fwd: TARGET_LINK_LIBRARIES not working for MSVC Hi Martin, You are right. I messed up between

Re: [CMake] Ensuring spaces in CFLAGS reach Visual Studio project files

2010-12-19 Thread Martin O'Brien
Alternatively, consider using a configured header file that gets included in the places that need those definitions. They're much easier to deal with than trying to wrap your head around escapings and multiple platforms and compilers. This is what I do. Much, much easier than dealing with