Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
the real parent scope is? Maybe it's not what I think it is. - Robert Dailey On Thu, Oct 20, 2011 at 3:42 PM, Michael Hertling mhertl...@online.dewrote: On 10/20/2011 08:44 PM, Robert Dailey wrote: On Thu, Oct 20, 2011 at 12:56 PM, Michael Hertling mhertl...@online.de wrote: On 10

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
There isn't any way to do a trace from cmake gui is there? Maybe that's a separate feature request on its own :P I'll check out the trace and follow up with results. - Robert Dailey On Thu, Oct 20, 2011 at 4:16 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 10/20/2011 5:11 PM

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
AFTER this one (in the same directory CMakeLists.txt script) that DO NOT use MFC, I didn't want them to be affected by the flag. I'd still like to do this but it's no big deal. Removing the bottom 'set' fixed it. - Robert Dailey On Thu, Oct 20, 2011 at 4:44 PM, Robert Dailey rcdai

Re: [CMake] CMake MFC

2011-10-20 Thread Robert Dailey
class, dialog classes, etc) were removed, the remaining CPP files linked gave me this: LNK1104: cannot open file 'libc.lib' Now this is just confusing. What is this lib and why can't it find it? - Robert Dailey On Thu, Oct 20, 2011 at 3:38 PM, Robert Dailey rcdai...@gmail.com wrote: Those

Re: [CMake] CMake MFC

2011-10-20 Thread Robert Dailey
- means, but looks like maybe it is pulling that lib out from this lib? I don't know how that works but it's very sneaky... any idea what these command-line arguments are doing in a debug LIB file??? - Robert Dailey On Thu, Oct 20, 2011 at 6:52 PM, Robert Dailey rcdai...@gmail.com wrote: More

[CMake] CMAKE_MFC_FLAG not working in functions

2011-10-19 Thread Robert Dailey
compatible project transparent to the lower level CMakeLists scripts. Hiding away the flag and how it needs to be set is a big part of this, but I can't do it. Anyone know how I can make this work? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] CMake MFC

2011-10-18 Thread Robert Dailey
? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http

[CMake] Problem with CMAKE_CFG_INTDIR

2011-10-16 Thread Robert Dailey
? How can I get the $(IntDir) path instead? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow

Re: [CMake] install() question

2011-10-14 Thread Robert Dailey
On Fri, Oct 14, 2011 at 11:22 AM, Hendrik Sattler p...@hendrik-sattler.dewrote: Yes. Compilation of a project should always be possible without polluting the system. For other programs or libraries in the same source tree, install() is not the right thing. You have several options: a)

[CMake] Transitively including dependency source directories

2011-10-14 Thread Robert Dailey
know how to get to that target's header files. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

[CMake] install() question

2011-10-13 Thread Robert Dailey
. Any idea if install() can do this? I'm not really sure of the purpose for install(), so maybe I'm approaching this wrong. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Question about variables, cache, and scope

2011-10-13 Thread Robert Dailey
This works: set( project_count 0 CACHE INTERNAL ) function( define_project ) math( EXPR count ${project_count}+1 ) set( project_count ${count} CACHE INTERNAL ) endfunction() define_project() message(${project_count}) define_project() message(${project_count}) define_project()

Re: [CMake] Include source files on a per-configuration basis

2011-10-13 Thread Robert Dailey
it accordingly - Robert Dailey On Wed, Oct 5, 2011 at 3:47 PM, Robert Dailey rcdai...@gmail.com wrote: In my particular CMake project, I have three CPP files: a.cpp b.cpp c.cpp I want 'a.cpp' to be compiled in all configurations (release debug).br I only want 'b.cpp

Re: [CMake] Include source files on a per-configuration basis

2011-10-13 Thread Robert Dailey
On Thu, Oct 13, 2011 at 3:16 PM, David Cole david.c...@kitware.com wrote: On Thu, Oct 13, 2011 at 3:37 PM, Robert Dailey rcdai...@gmail.com wrote: In visual studio, there is a way to exclude a source file from the build on a per-configuration basis (debug vs release). The actual VCPROJ

Re: [CMake] install() question

2011-10-13 Thread Robert Dailey
On Thu, Oct 13, 2011 at 3:47 PM, Michael Hertling mhertl...@online.dewrote: You might use an installation component for the concerned headers: CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(INSTCOMP C) SET(CMAKE_VERBOSE_MAKEFILE ON) SET(F_PREFIX /dev/shm CACHE PATH ) FILE(WRITE

[CMake] Question about variables, cache, and scope

2011-10-10 Thread Robert Dailey
of my function, I do this: function( define_project ... ) math( EXPR count ${project_count}+1 ) set( project_count ${count} ) endfunction() However, 'project_count' is always 0 each time that the function is executed. How can I make this work? - Robert Dailey -- Powered

Re: [CMake] Question about variables, cache, and scope

2011-10-10 Thread Robert Dailey
${new_count} CACHE INTERNAL FORCE ) Thanks! - Robert Dailey On Mon, Oct 10, 2011 at 2:01 PM, Glenn Coombs glenn.coo...@gmail.comwrote: Calling a function pushs a new variable scope. All variables visible in the callers scope are copied into the new scope but changes by default only affect

[CMake] Source file specific properties

2011-10-09 Thread Robert Dailey
to all' so I am explicitly included in your reply, as I have mail delivery turned off for the mailing list. Thank you! - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

[CMake] STREQUAL not functioning?

2011-10-06 Thread Robert Dailey
() Any reason why this isn't working as documented? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] STREQUAL not functioning?

2011-10-06 Thread Robert Dailey
Well there you go, deleting the cache reconfiguring fixed it. That was weird. Thanks for the help! - Robert Dailey On Thu, Oct 6, 2011 at 1:50 PM, Robert Dailey rcdai...@gmail.com wrote: Ok interesting, it is working for me too. I guess my reproducible use case was invalid. (BTW

[CMake] Target-specific include directories?

2011-10-06 Thread Robert Dailey
-in functionality for this kind of behavior or if there is a different implementation I could use. Can anyone help me out? Thanks in advance. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

[CMake] Include source files on a per-configuration basis

2011-10-05 Thread Robert Dailey
this? I need something similar to the `debug` and `optimized` keywords that are accepted by the `target_link_libraries()` CMake operation. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] Problem with CMake 2.8

2009-10-27 Thread Robert Dailey
On Tue, Oct 27, 2009 at 6:30 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: Hello, I'm using the latest RC build of CMake 2.8 and I noticed a new annoyance. Please follow these steps: 1. Create a CMakeList.txt that sets up a project with any number of source

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
wrong. It should be: source/SpawnShadowEntityAction.cpp - Robert Dailey On Fri, Sep 18, 2009 at 4:16 PM, Robert Dailey rcdai...@gmail.com wrote: I'll see if I can get you guys a reproducible project. However, I hope you guys have access to the version of xcode I'm using. I'll also get

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
, I'll try to find time to provide a reproducible test project. - Robert Dailey On Mon, Sep 21, 2009 at 1:26 PM, Robert Dailey rcdai...@gmail.com wrote: I don't have a sample project ready yet, but I will provide the generated xcode project files in case you guys want to take a look at them

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
On Mon, Sep 21, 2009 at 2:48 PM, Robert Dailey rcdai...@gmail.com wrote: On Mon, Sep 21, 2009 at 1:43 PM, Brad King brad.k...@kitware.com wrote: Robert Dailey wrote: My paths are correct. I'm passing in the correct absolute paths into add_executable. I think that cmake is using the current

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
On Mon, Sep 21, 2009 at 4:03 PM, Brad King brad.k...@kitware.com wrote: Robert Dailey wrote: I've attached a test project that reproduces this issue. At the root test directory, create a new directory called 'build'. So you will have test/build. cd into test/build and run: cmake -G

Re: [CMake] Xcode paths not turning out right

2009-09-18 Thread Robert Dailey
On Fri, Sep 18, 2009 at 12:52 PM, Brad King brad.k...@kitware.com wrote: Robert Dailey wrote: The goal here is to try to build Xcode projects for building iPhone apps. My CMake logic for producing projects is rather complex, which is why I am hesitant to post it here. But basically I'm

Re: [CMake] Xcode paths not turning out right

2009-09-18 Thread Robert Dailey
to be OK. - Robert Dailey On Fri, Sep 18, 2009 at 3:15 PM, David Cole david.c...@kitware.com wrote: Sounds like maybe you are using ${CMAKE_CURRENT_SOURCE_DIR} in a function or macro. (defined at the top level, but called from a lower level)... On Fri, Sep 18, 2009 at 4:12 PM

Re: [CMake] Xcode paths not turning out right

2009-09-18 Thread Robert Dailey
I'll see if I can get you guys a reproducible project. However, I hope you guys have access to the version of xcode I'm using. I'll also get you the version number next monday when I get back into work. On Fri, Sep 18, 2009 at 4:15 PM, Robert Dailey rcdai...@gmail.com wrote: Yeah, that's what

Re: [CMake] CMAKE_OSX_SYSROOT being ignored?

2009-09-17 Thread Robert Dailey
How is this work coming along? I'm using a build of CVS HEAD, which I believe is v2.7.2. Does this currently build the appropriate version of xcode projects? Also, where are the CMAKE_OSX_ variables documented on the Wiki? I can't seem to find them. - Robert Dailey On Fri, Jul 10, 2009

[CMake] Xcode paths not turning out right

2009-09-17 Thread Robert Dailey
it into add_executable like so: add_executable( foobar MACOSX_BUNDLE /Users/imac/work/redsword/projects/foobar/mysource.mm ) - Robert Dailey ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

[CMake] wxDev-C++ and CMake

2009-08-24 Thread Robert Dailey
Hello, Just wondering if CMake can support generating wxDev-C++ projects. From looking around at it myself, I don't see any support for this. I'm sure the developers have thought of this, but I'm still curious as to what they have to say. Thanks! - Robert Dailey

[CMake] Find module for the Subversion API

2009-08-13 Thread Robert Dailey
to maintain lists of paths and files for just so I can set up my project with that information. - Robert Dailey ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] VS2010 support

2009-07-22 Thread Robert Dailey
Keep up the great work Bill. Looks like they were able to reproduce the issue. Not much you can do until they fix it right? - Robert Dailey On Fri, Jul 10, 2009 at 9:34 AM, Bill Hoffman bill.hoff...@kitware.comwrote: Bill Hoffman wrote: CVS CMake has initial VS 2010 support

[CMake] CMake GCC on Windows

2009-07-20 Thread Robert Dailey
this is because I like Visual Studio to work out of, but as a compiler I like GCC a bit better. However, I still plan to write Windows applications using GCC. Sincerely, Robert Dailey ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] CMake GCC on Windows

2009-07-20 Thread Robert Dailey
Thanks for the response Bill. I guess I could always use CodeBlocks MinGW. Sincerely, Robert Dailey On Mon, Jul 20, 2009 at 10:47 AM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: Hello, I was wondering if it is possible to generate Visual Studio projects with CMake

Re: [CMake] CMake GCC on Windows

2009-07-20 Thread Robert Dailey
On Mon, Jul 20, 2009 at 11:16 AM, John Drescher dresche...@gmail.comwrote: On Mon, Jul 20, 2009 at 12:05 PM, Robert Daileyrcdai...@gmail.com wrote: Thanks for the response Bill. I guess I could always use CodeBlocks MinGW. Sincerely, Robert Dailey How about a single source folder

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
On Fri, Jul 3, 2009 at 2:54 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Jul 1, 2009 at 4:34 PM, Robert Dailey rcdai...@gmail.com wrote: Hi, If I have the following CMakeLists.txt: cmake_minimum_required( VERSION 2.6.4 ) project( project1 ) add_executable( project1 source1.cpp

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
On Fri, Jul 3, 2009 at 3:31 PM, Robert Dailey rcdai...@gmail.com wrote: On Fri, Jul 3, 2009 at 2:54 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Jul 1, 2009 at 4:34 PM, Robert Dailey rcdai...@gmail.com wrote: Hi, If I have the following CMakeLists.txt: cmake_minimum_required

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
On Fri, Jul 3, 2009 at 3:44 PM, James Bigler jamesbig...@gmail.com wrote: I was under the impression that project() created some kind of scope that allows you to reset certain variables. Subdirectories allow you to create a new scope, but you inherit all the values from the parent. I

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
On Fri, Jul 3, 2009 at 5:02 PM, Miguel A. Figueroa-Villanueva migu...@ieee.org wrote: On Fri, Jul 3, 2009 at 4:33 PM, Robert Dailey wrote: On Fri, Jul 3, 2009 at 3:31 PM, Robert Dailey wrote: On Fri, Jul 3, 2009 at 2:54 PM, James Bigler wrote: On Wed, Jul 1, 2009 at 4:34 PM, Robert Dailey

[CMake] project() and SLN files

2009-07-01 Thread Robert Dailey
Hi, If I have the following CMakeLists.txt: cmake_minimum_required( VERSION 2.6.4 ) project( project1 ) add_executable( project1 source1.cpp ) project( project2 ) add_executable( project2 source2.cpp ) project( project3 ) add_executable( project3 source3.cpp ) If I create visual studio 2008

[CMake] CMakeLists.txt?

2009-06-27 Thread Robert Dailey
Just curious about how you guys came up with the name 'CMakeLists.txt'. While I've grown to accept it, I still can't say I really understand the meaning of the name. Something that would make sense to me is CMakeScript.txt or CMakeFile. I am especially curious as to why you guys use an extension.

[CMake] Checking MSVC90 or higher?

2009-06-27 Thread Robert Dailey
There is a specific compiler flag that I'm telling CMake to use for the MSVC compiler, however this flag is only supported by MSVC90 and higher. Right now I'm doing this: if( MSVC90 ) ... endif() But how do I check something like this: if( MSVC_VERSION GREATER 9 OR MSVC_VERSION EQUAL 9 ) ...

Re: [CMake] Checking MSVC90 or higher?

2009-06-27 Thread Robert Dailey
On Sat, Jun 27, 2009 at 2:16 PM, Tyler Roscoe ty...@cryptio.net wrote: On Sat, Jun 27, 2009 at 01:41:58PM -0500, Robert Dailey wrote: There is a specific compiler flag that I'm telling CMake to use for the MSVC compiler, however this flag is only supported by MSVC90 and higher. Right now

Re: [CMake] Checking MSVC90 or higher?

2009-06-27 Thread Robert Dailey
On Sat, Jun 27, 2009 at 3:13 PM, Tyler Roscoe ty...@cryptio.net wrote: On Sat, Jun 27, 2009 at 02:30:36PM -0500, Robert Dailey wrote: The problem is that there is no central location for this data. I was referencing the useful variableshttp://www.cmake.org/Wiki/CMake_Useful_Variablespage

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Robert Dailey
entry in the cmake-gui or pass it with -D on the cmake command line: cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G NMake Makefiles ../source_dir nmake On Wed, Jun 24, 2009 at 8:43 PM, Robert Dailey rcdai...@gmail.com wrote: When I generate using NMake Makefiles generator, I build like this (I

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Robert Dailey
On Thu, Jun 25, 2009 at 10:48 AM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: Thanks for this information. Was this documented somewhere publicly? http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_BUILD_TYPE Thanks. I actually was not specific enough

[CMake] Question about CMake and NMake generation

2009-06-24 Thread Robert Dailey
When I generate using NMake Makefiles generator, I build like this (I run this command from inside the build directory): nmake /f Makefile Everything builds just fine, but is this a debug or release build? When you build with NMake, do you have a choice of which configuration you want to use? I'm

[CMake] VS Project Team Blog

2009-06-11 Thread Robert Dailey
To the CMake developers: The Visual Studio team has created a new blog to discuss the project system in Visual Studio 2010: http://blogs.msdn.com/vsproject/ This blog may contain information now and in the future that will help ease the implementation of VS2010 support.

[CMake] Determine if generator is Visual Studio

2009-06-09 Thread Robert Dailey
Is there a clean and compact way I can find out if Visual Studio targets are being built? Note that I want to be able to check this regardless of the version. I know I can check CMAKE_GENERATOR, but I would end up having to check around 8 strings for all possible versions of visual studio. Is

Re: [CMake] Determine if generator is Visual Studio

2009-06-09 Thread Robert Dailey
On second thought, I suppose what I really want to check for is MSVC in general, since you can still compile using MSVC without Visual Studio. On Tue, Jun 9, 2009 at 7:06 PM, Robert Dailey rcdai...@gmail.com wrote: Is there a clean and compact way I can find out if Visual Studio targets

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 8:18 AM, Pau Garcia i Quiles pgqui...@elpauer.orgwrote: Apart from every compiler making this different (i. e. different parameters for each compilers), what are the difficulties you see for making this a first-class feature? My Windows coworkers demand this feature

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 9:11 AM, Denis Scherbakov denis_scherba...@yahoo.com wrote: Apart from every compiler making this different (i. e. different parameters for each compilers), what are the difficulties you see for making this a first-class feature? My Windows coworkers demand

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 12:08 PM, John Drescher dresche...@gmail.com wrote: After installing the macro I presented in my first reply a month ago this has saved me several hours of compile time total on my main project. However the recent addition of a velociraptor has reduced this need

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 11:12 AM, David Cole david.c...@kitware.com wrote: On Mon, Jun 8, 2009 at 11:17 AM, John Drescher dresche...@gmail.comwrote: I've been reading this newsgroup for a while and I notice that most of the people complain that they miss some feature on Windows, but

Re: [CMake] Precompiled Headers

2009-06-07 Thread Robert Dailey
On Sat, Jun 6, 2009 at 11:22 PM, John Drescher dresche...@gmail.com wrote: Here is what I do for Vs2005 builds and CMake 2.6.4 I put this in the main CMakeLists.txt before any add_subdirectory(Libraries) snip You need to then create laGUIPCH.h laGUIPCH.cxx the .cxx file contains any

[CMake] Precompiled Headers

2009-06-06 Thread Robert Dailey
Hey guys, First of all I just want to let you guys know that I DID find this in my search: http://www.cmake.org/pipermail/cmake/2008-May/021483.html However, I do not feel as if a direct answer was given. Besides, that was over a year ago and I'm hoping some new developments have taken place. Is

Re: [CMake] VS2010 support

2009-06-03 Thread Robert Dailey
On Tue, Jun 2, 2009 at 8:09 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: Oops! I spoke too fast :) I found this: http://www.cmake.org/pipermail/cmake/2009-May/029660.html But, don't forget about this post: http://www.cmake.org/pipermail/cmake/2009-May/029782

[CMake] VS2010 support

2009-06-02 Thread Robert Dailey
Hey guys, I'm sure you've already started VS2010 support. How is that going? I'd like to test it out for you if you've already released support for it in 2.7. Let me know! Thanks. ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] VS2010 support

2009-06-02 Thread Robert Dailey
Oops! I spoke too fast :) I found this: http://www.cmake.org/pipermail/cmake/2009-May/029660.html On Tue, Jun 2, 2009 at 7:51 PM, Robert Dailey rcdai...@gmail.com wrote: Hey guys, I'm sure you've already started VS2010 support. How is that going? I'd like to test it out for you if you've

Re: [CMake] Relative include() calls

2009-05-28 Thread Robert Dailey
] Relative include() calls Date: Thu, 28 May 2009 09:36:33 +0200 On Thu, May 28, 2009 at 7:16 AM, Tyler Roscoe ty...@cryptio.net wrote: On Wed, May 27, 2009 at 11:27:28PM -0500, Robert Dailey wrote: From a CMakeLists.txt in my root source dir, I am calling: include( ../cmake

Re: [CMake] Relative include() calls

2009-05-28 Thread Robert Dailey
On Thu, May 28, 2009 at 11:06 AM, Tyler Roscoe ty...@cryptio.net wrote: On Thu, May 28, 2009 at 10:42:03AM -0500, Robert Dailey wrote: The most annoying thing about this solution, though, is that every single CMakeLists.txt that includes this module needs to make sure it has

[CMake] Relative include() calls

2009-05-27 Thread Robert Dailey
From a CMakeLists.txt in my root source dir, I am calling: include( ../cmake/common.cmake ) From common.cmake, I am calling: include( BoostUtils.cmake ) BoostUtils.cmake and common.cmake are side-by-side in the same directory on Windows. The second call to include() fails, because the working

[CMake] cmake-gui app: Remember position/size

2009-05-26 Thread Robert Dailey
Does the cmake-gui application on Windows have any option to enable the serialization of window size/position, as well as any divider position? I like to make the window slightly larger and move the divider upwards so that the output window (bottom) is larger than the variables list (top).

Re: [CMake] cmake-gui app: Remember position/size

2009-05-26 Thread Robert Dailey
On Tue, May 26, 2009 at 3:07 PM, Clinton Stimpson clin...@elemtech.comwrote: It doesn't have that option. Feel free to put it in the bug tracker, or it gets forgotten. I wanted to confirm before I create a bug report. Also feel free to submit a patch. I would love to, if I didn't have

Re: [CMake] Need advice for unit test structure

2009-05-20 Thread Robert Dailey
On Wed, May 20, 2009 at 9:38 PM, Philip Lowman phi...@yhbt.com wrote: On Wed, May 20, 2009 at 9:40 PM, Robert Dailey rcdai...@gmail.com wrote: I'm still looking to figure out how a single project can be configured to generate multiple executables. Can anyone clarify? A Visual Studio project

Re: [CMake] Problem with FindBoost.cmake

2009-05-17 Thread Robert Dailey
On Sun, May 17, 2009 at 12:16 PM, Philip Lowman phi...@yhbt.com wrote: On Sun, May 17, 2009 at 12:26 AM, Robert Dailey rcdai...@gmail.comwrote: Hi, I have built Boost 1.39 on Windows with static libraries, and they are named like so: libboost_filesystem-mt.lib When I try to do

[CMake] Searching for multiple libraries using find_library()

2009-05-17 Thread Robert Dailey
I'm creating a find_package module for the TBB library, and it has 2 libs: tbb.lib and tbbmalloc.lib. Both of these are part of TBB, and in my TBB_LIBRARIES variable I want to return both of them. However, I can only search for one of them at a time using find_library(). Is there a way to make it

[CMake] Problem with FindBoost.cmake

2009-05-16 Thread Robert Dailey
Hi, I have built Boost 1.39 on Windows with static libraries, and they are named like so: libboost_filesystem-mt.lib When I try to do this: find_package( Boost REQUIRED COMPONENTS filesystem ) I get an error saying it could not find boost_filesystem. If I rename the above library and remove

[CMake] CMake's Desktop Shortcut

2009-05-08 Thread Robert Dailey
When installing CMake 2.6.4 on Windows XP, I notice that the shortcut that the installer creates links to the deprecated GUI, or at least, that's what the shortcut's text says. If this GUI is deprecated, why is the installer encouraging its use by creating a link to it from the desktop? Unless

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
not generating true XCode projects? Perhaps we are misunderstanding? Some explanation would be helpful. Thanks. On Tue, Mar 31, 2009 at 2:28 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: Thanks David. Where can I find a platform-ambiguous version of the documentation

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 6:43 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: I actually have another question about the Xcode generator. I didn't want to create another thread for this. A co worker and myself noticed that the generated Xcode projects for MAC seem

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 7:25 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: What do you mean specified order? Why does the order of static libraries matter? And also what do you mean by repeats? Linkers on unix (including apple) require that the order of static

Re: [CMake] CMAKE_MODULE_PATH Question

2009-04-11 Thread Robert Dailey
The latter does not work for me. I don't know what to tell you. On Sat, Apr 11, 2009 at 6:43 AM, Daniel Nelson tor...@connect2.com wrote: On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote: Sorry, the missing $ was a typo. The problem was that I was doing: include( foo.cmake ) I

Re: [CMake] CMake and iPhone support

2009-04-10 Thread Robert Dailey
It seems that CMake, in general, does not support cross-compilation. It generates projects as if they will build targets on the current platform instead of for another. Correct me if I'm wrong. ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Need advice for unit test structure

2009-04-09 Thread Robert Dailey
On Wed, Apr 8, 2009 at 5:33 PM, Paul Oppenheim (Poppy Linden) po...@lindenlab.com wrote: Robert Dailey wrote: Obviously this creates a lot of clutter in the solution explorer window in Visual Studio. Is there a more recommended practice for structuring unit tests in CMake? Personal advice

[CMake] CMAKE_MODULE_PATH Question

2009-04-09 Thread Robert Dailey
I want to set a couple of custom directories of mine to be searched for cmake modules when I use include( foo.cmake ). However, I can't seem to get this to work. My code is basically: set( CMAKE_MODULE_PATH {CMAKE_SOURCE_DIR}/cmake ) include( foo.cmake ) This, however, does not work. It says it

Re: [CMake] CMAKE_MODULE_PATH Question

2009-04-09 Thread Robert Dailey
: You are missing a $ : set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ) To prepend, use this construct: set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) HTH, David On Thu, Apr 9, 2009 at 12:56 PM, Robert Dailey rcdai...@gmail.com wrote: I want to set a couple

Re: [CMake] Need advice for unit test structure

2009-04-09 Thread Robert Dailey
On Thu, Apr 9, 2009 at 12:59 PM, Paul Oppenheim (Poppy Linden) po...@lindenlab.com wrote: Robert Dailey wrote: Do you have unit tests that require failure to compile in order to be successful? If you do, placing these particular unit tests in a project with other tests that must compile

Re: [CMake] Need advice for unit test structure

2009-04-09 Thread Robert Dailey
On Thu, Apr 9, 2009 at 1:03 PM, Robert Dailey rcdai...@gmail.com wrote: On Thu, Apr 9, 2009 at 12:59 PM, Paul Oppenheim (Poppy Linden) po...@lindenlab.com wrote: Robert Dailey wrote: Do you have unit tests that require failure to compile in order to be successful? If you do, placing

[CMake] iPhone development with CMake (xcode generator)

2009-04-09 Thread Robert Dailey
For the Boost library, we have compiled it for both the iPhone device and iPhone simulator. However, I'm not sure how to tell the difference between the two from CMake when we have xcode as our generator. Perhaps there is a way I can generate multiple xcode configurations for both the device and

Re: [CMake] iPhone development with CMake (xcode generator)

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf a.neundorf-w...@gmx.net This is cross compiling, right ? Yes. You compile the ARM code for the device on a different platform. For example, on Windows I'd compile the ARM application and then transfer that binary to the device to be executed. Does Xcode support

Re: [CMake] Combo Box cache variables

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf a.neundorf-w...@gmx.net Yes, there is I think, in cmake cvs, but I think this is not yet in a released version, but I'm not sure. Check the documentation for set_property( ... CACHE ...) and for Properties on Cache Entries. I'm using CMake 2.6.4 RC4. Is it

Re: [CMake] iPhone development with CMake (xcode generator)

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf a.neundorf-w...@gmx.net On Thursday 09 April 2009, Robert Dailey wrote: 2009/4/9 Alexander Neundorf a.neundorf-w...@gmx.net ... Does Xcode support this out of the box ? Support *what* outside of the box? If you're talking about cross compiling, then yes

Re: [CMake] Combo Box cache variables

2009-04-09 Thread Robert Dailey
On Thu, Apr 9, 2009 at 3:58 PM, Bill Hoffman bill.hoff...@kitware.comwrote: I'm using CMake 2.6.4 RC4. Is it included in this build? No. Thanks, Bill. When can I expect to see this feature? More specifically, what version of CMake will it be included in?

Re: [CMake] Combo Box cache variables

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf a.neundorf-w...@gmx.net On Thursday 09 April 2009, Robert Dailey wrote: I think it would be useful to have a combo box type for cache variables. This would allow the user to select from a list of pre-defined values in the cmake-gui application. I'm not sure how

Re: [CMake] Combo Box cache variables

2009-04-09 Thread Robert Dailey
On Thu, Apr 9, 2009 at 4:16 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: On Thu, Apr 9, 2009 at 3:58 PM, Bill Hoffman bill.hoff...@kitware.commailto: bill.hoff...@kitware.com wrote: I'm using CMake 2.6.4 RC4. Is it included in this build? No. Thanks

[CMake] Question about Xcode and framework support on Mac

2009-04-09 Thread Robert Dailey
What support cmake has for building an xcode project that allows building targets for multiple SDKs. For example, a single project that allows building for 10.3, 10.4, and 10.5 of the Mac OSX SDK. Or 2.2.0 and 2.0.0 of the iPhoneSDK for both hardware and simulator.

[CMake] find_package question

2009-04-09 Thread Robert Dailey
I'm reading the guidelines for find package modules here: http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMakeview=markup No where in here do I see any mention of uppercase variable names. For example, if my find package is: FindFoo.cmake My return variables are:

[CMake] CMake and iPhone support

2009-04-09 Thread Robert Dailey
Can CMake generate an Xcode project for iPhone SDK development (For both the simulator and device SDKs)? From the looks of it we cannot do that, especially when we use MACOSX_BUNDLE in add_executable(). ___ Powered by www.kitware.com Visit other Kitware

[CMake] cmake-gui question

2009-04-05 Thread Robert Dailey
I noticed that in the cmake-gui application (Windows), the drop-down box is on the binary directory edit field and not the source directory field. This seems backwards to me. Was this decision arbitrary or by design? If the latter, why? Would it be possible to move the history listing to the

Re: [CMake] cmake-gui question

2009-04-05 Thread Robert Dailey
, Eric Noulard eric.noul...@gmail.com wrote: 2009/4/5 Robert Dailey rcdai...@gmail.com: I noticed that in the cmake-gui application (Windows), The behavior is the same on Linux. the drop-down box is on the binary directory edit field and not the source directory field. This seems

Re: [CMake] Disabling RTTI in a portable way

2009-04-03 Thread Robert Dailey
3, 2009 at 2:08 AM, Eric Noulard eric.noul...@gmail.com wrote: 2009/4/2 Robert Dailey rcdai...@gmail.com: Is there a portable way of disabling Runtime Type Information (RTTI) through CMake? I hope I don't have to strangle CMake too much to get this basic functionality... Disabling rtti

[CMake] CMake could really use a debugger...

2009-04-02 Thread Robert Dailey
I can't tell you how hard it is to hunt down strange behavior in CMake. Often times I would save myself 30 minutes of time on each of the hard bug fixes if I could just step through each line of logic as it was being executed and view the values of variables in a watch window of some sort. Does

Re: [CMake] CMake could really use a debugger...

2009-04-02 Thread Robert Dailey
and view variable values dynamically, no such tool can be made for it. CMake has to support the required hooks. On Thu, Apr 2, 2009 at 11:42 AM, Bill Hoffman bill.hoff...@kitware.comwrote: Robert Dailey wrote: I can't tell you how hard it is to hunt down strange behavior in CMake. Often times

Re: [CMake] CMake could really use a debugger...

2009-04-02 Thread Robert Dailey
with the prompt and make usable frontends for people who prefer a GUI solution to debugging like Visual Studio. On Thu, Apr 2, 2009 at 12:57 PM, James Bigler jamesbig...@gmail.com wrote: On Thu, Apr 2, 2009 at 11:51 AM, Robert Dailey rcdai...@gmail.com wrote: That's the thing that has the Returning

Re: [CMake] CMake could really use a debugger...

2009-04-02 Thread Robert Dailey
On Thu, Apr 2, 2009 at 1:38 PM, Jed Brown j...@59a2.org wrote: On Thu 2009-04-02 13:17, Robert Dailey wrote: It would be great to see CMake provide some more debug-related commands later. Perhaps CMake could even implement its own prompt. It would be extremely useful to be able to set

Re: [CMake] CMake could really use a debugger...

2009-04-02 Thread Robert Dailey
haha, good one. I replied on an impulse. I didn't even think about googling it :) Thanks for the link ;) On Thu, Apr 2, 2009 at 2:55 PM, Sean McBride s...@rogue-research.comwrote: On 4/2/09 2:49 PM, Robert Dailey said: What is GDB? Sorry, can't resist: http://lmgtfy.com/?q=GDB

<    2   3   4   5   6   7   8   9   >