Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
jects 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, 201

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 wrote: > On 10/20/2011 5:11 PM, R

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
I can see what 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 wrote: > On 10/20/2011 08:44 PM, Robert Dailey wrote: > > On Thu, Oct 20, 2011 at 12:56 PM, Michael Hertling >wrote: > &g

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
Those quotes do look suspicious but for some reason they work just fine in Cygwin. Basically I load vsvars32.bat into my cygwin environment, and I have modified the paths in that batch file to the "short path" format since our makefile build scripts do not play friendly with spaces in the file pat

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
.0_DBG.OBJ/uploadlog.pdb libnspr4.lib libplc4.lib libplds4.lib c:/cygwin/bin/cp.exe -fup WINNT5.0_DBG.OBJ/uploadlog.exe WINNT5.0_DBG.OBJ/uploadlog.pdb WINNT5.0_DBG.OBJ/uploadlog.map WINNT5.0_DBG.OBJ/uploadlog.pdb WINNT5.0_DBG.OBJ/uploadlog.map ../../../work/B1/WINNT5.0_DBG.OBJ/bin - R

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
d to start there. Once I open the generated VS2008 solution, is there anything in project settings I can look at to maybe see something suspicious? Just let me know what I need to do and I"ll post the information you need. Thanks in advance... ----- Robert Dailey On Thu, Oct 20, 2011 at 1

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
On Thu, Oct 20, 2011 at 12:56 PM, Michael Hertling wrote: > On 10/20/2011 06:59 PM, Robert Dailey wrote: > > Let me ask this, > > > > What would be the parent of a function located in the root CMakeLists > file > > but called from a subordinate CMakeLists

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
I did this and it links just fine... hmmm. Let me grep my source tree for "mfc4" and see what I get. I really am running out of ideas, I don't know what else to look for. ----- Robert Dailey On Thu, Oct 20, 2011 at 11:46 AM, Bill Hoffman wrote: > On 10/20/2011 12:35 PM, R

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
Let me ask this, What would be the parent of a function located in the root CMakeLists file but called from a subordinate CMakeLists file? - Robert Dailey On Thu, Oct 20, 2011 at 11:55 AM, Michael Wild wrote: > On 10/20/2011 05:41 PM, Robert Dailey wrote: > > On Thu, Oct 20

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
I'm generating for VS2003 in this case. Also with the searching I did I was not able to find an existing bug report related to this issue. - Robert Dailey On Thu, Oct 20, 2011 at 10:43 AM, David Cole wrote: > Are you using VS10? > > Is it this already known pro

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
I just tried with VS2008 and I get the same: fatal error LNK1104: cannot open file 'mfc40.lib' Also I created a default MFC application using the new project wizard in VS2008 and it compiled & linked just fine, so it seems like maybe this is a CMake issue? ----- Robert D

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
ooked at my system include/library paths in Tools >> Options in Visual Studio 2003, I find nothing strange. Please help guys, I really need a quick solution!! I appreciate in advance any help! On Tue, Oct 18, 2011 at 3:10 PM, Robert Dailey wrote: > I've enabled MFC by setting CMAKE

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Robert Dailey
On Thu, Oct 20, 2011 at 2:36 AM, Rolf Eike Beer wrote: > > I have a function defined very high up in the directory tree at the root > > CMakeLists file. Several levels below it, I have another CMakeLists file > > that I call that function from. > > > > The function sets CMAKE_MFC_FLAG to 2. I not

[CMake] CMAKE_MFC_FLAG not working in functions

2011-10-19 Thread Robert Dailey
figuring an MFC 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 ope

[CMake] CMake & MFC

2011-10-18 Thread Robert Dailey
it trying to load version 4.0? - 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

[CMake] Problem with CMAKE_CFG_INTDIR

2011-10-16 Thread Robert Dailey
ended result outside of VS6. What am I doing wrong here? 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

[CMake] Transitively including dependency source directories

2011-10-14 Thread Robert Dailey
x27;s include directories, so that if other targets specify it as a dependency, they also 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 P

Re: [CMake] install() question

2011-10-14 Thread Robert Dailey
On Fri, Oct 14, 2011 at 11:22 AM, Hendrik Sattler wrote: > > 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) > Copy the headers i

Re: [CMake] install() question

2011-10-13 Thread Robert Dailey
On Thu, Oct 13, 2011 at 3:47 PM, Michael Hertling wrote: > 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_BIN

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 wrote: > On Thu, Oct 13, 2011 at 3:37 PM, Robert Dailey 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 looks > like >

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

2011-10-13 Thread Robert Dailey
to be some sort of platform agnostic feature for this, and for other platforms it will implement it accordingly - Robert Dailey On Wed, Oct 5, 2011 at 3:47 PM, Robert Dailey wrote: > In my particular CMake project, I have three CPP files: > > a.cpp > b.cpp > c

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}) > def

[CMake] install() question

2011-10-13 Thread Robert Dailey
build them. 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 Ple

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

2011-10-10 Thread Robert Dailey
too but it doesn't: set( project_count ${new_count} CACHE INTERNAL FORCE ) Thanks! - Robert Dailey On Mon, Oct 10, 2011 at 2:01 PM, Glenn Coombs wrote: > Calling a function pushs a new variable scope. All variables visible in > the callers scope are copied into the new scope bu

[CMake] Question about variables, cache, and scope

2011-10-10 Thread Robert Dailey
"" ) Then inside 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

[CMake] Source file specific properties

2011-10-09 Thread Robert Dailey
#x27;reply 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 me

[CMake] Target-specific include directories?

2011-10-06 Thread Robert Dailey
ect()) to not matter, so I was wondering if there was a built-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 project

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 wrote: > Ok interesting, it is working for me too. I guess my reproducible use case > was invalid. > > (

Re: [CMake] STREQUAL not functioning?

2011-10-06 Thread Robert Dailey
into this before, please give me some ideas on how to solve this :) Thanks. - Robert Dailey On Thu, Oct 6, 2011 at 1:31 PM, Eric Noulard wrote: > 2011/10/6 Robert Dailey : > > According to the CMake documentation, the `STREQUAL` comparison is > allowed > > to take either a V

[CMake] STREQUAL not functioning?

2011-10-06 Thread Robert Dailey
message( "It Worked" ) endif() 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

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

2011-10-05 Thread Robert Dailey
configuration. How can I do 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/opens

Re: [CMake] Problem with CMake 2.8

2009-10-27 Thread Robert Dailey
On Tue, Oct 27, 2009 at 6:30 PM, Bill Hoffman wrote: > 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 pro

[CMake] Problem with CMake 2.8

2009-10-27 Thread Robert Dailey
is so annoying, especially when I'm opening a solution that has 50+ projects under it. I have to click it once for each project. ----- Robert Dailey ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.ki

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 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&quo

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 wrote: > On Mon, Sep 21, 2009 at 1:43 PM, Brad King wrote: > >> Robert Dailey wrote: >> >>> My paths are correct. I'm passing in the correct absolute paths into >>> add_executable. I think that cmake is us

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
On Mon, Sep 21, 2009 at 1:43 PM, Brad King 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 cmake file instead >> of using the one that the function call

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
Again, 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 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

Re: [CMake] Xcode paths not turning out right

2009-09-21 Thread Robert Dailey
This seems wrong. It should be: source/SpawnShadowEntityAction.cpp ----- Robert Dailey On Fri, Sep 18, 2009 at 4:16 PM, Robert Dailey 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 us

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 wrote: > Yeah, tha

Re: [CMake] Xcode paths not turning out right

2009-09-18 Thread Robert Dailey
cmake script via message() it seems to be OK. - Robert Dailey On Fri, Sep 18, 2009 at 3:15 PM, David Cole 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)... &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 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 basica

[CMake] Xcode paths not turning out right

2009-09-17 Thread Robert Dailey
taking the exact path above and passing 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 Kitwa

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, Ju

[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! ----

[CMake] Find module for the Subversion API

2009-08-13 Thread Robert Dailey
third party dependencies that I have 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

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 wrote: > Bill Hoffman wrote: > >> CVS CMake has initial VS 2010 support. Currently t

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Robert Dailey
On Mon, Jul 20, 2009 at 11:16 AM, John Drescher wrote: > On Mon, Jul 20, 2009 at 12:05 PM, Robert Dailey wrote: > > Thanks for the response Bill. > > I guess I could always use CodeBlocks & MinGW. > > Sincerely, > > Robert Dailey > > > > How about a sing

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 wrote: > Robert Dailey wrote: > >> Hello, >> >> I was wondering if it is possible to generate Visual Studio projects

[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] 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: > >>

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
On Fri, Jul 3, 2009 at 3:44 PM, James Bigler 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 believe > project() rese

Re: [CMake] project() and SLN files

2009-07-03 Thread Robert Dailey
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 wrote: >> >>> Hi, >>> If I have the following CMakeLists.txt: >>> >>> cmake_minim

Re: [CMake] project() and SLN files

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

[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 fi

Re: [CMake] Checking MSVC90 or higher?

2009-06-27 Thread Robert Dailey
On Sat, Jun 27, 2009 at 3:13 PM, Tyler Roscoe 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 > > variables<http://www.cmake.org/Wiki/CMake_Usef

Re: [CMake] Checking MSVC90 or higher?

2009-06-27 Thread Robert Dailey
On Sat, Jun 27, 2009 at 2:16 PM, Tyler Roscoe 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.

[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 ) ... endi

[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 extensio

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 wrote: > 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

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Robert Dailey
;... > > Add it as a STRING cache 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 wrote: > >

[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'

[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. ___

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 wrote: > Is there a clean and compact way I can find out if Visual Studio targets > are being built

[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 there

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 11:12 AM, David Cole wrote: > On Mon, Jun 8, 2009 at 11:17 AM, John Drescher wrote: > >> >> 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 >> >> completely forget that there are ot

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 12:08 PM, John Drescher 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 since th

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 9:11 AM, Denis Scherbakov 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 this > > feature

Re: [CMake] Precompiled Headers

2009-06-08 Thread Robert Dailey
On Mon, Jun 8, 2009 at 8:18 AM, Pau Garcia i Quiles 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 this > feature and I was thinkin

Re: [CMake] Precompiled Headers

2009-06-07 Thread Robert Dailey
On Sat, Jun 6, 2009 at 11:22 PM, John Drescher 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) > > > > You need to then create > > laGUIPCH.h > laGUIPCH.cxx > > the .cxx file contains any headers that

[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 t

Re: [CMake] VS2010 support

2009-06-03 Thread Robert Dailey
On Tue, Jun 2, 2009 at 8:09 PM, Bill Hoffman wrote: > 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: > > h

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 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

[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 at

Re: [CMake] Relative include() calls

2009-05-28 Thread Robert Dailey
On Thu, May 28, 2009 at 11:06 AM, Tyler Roscoe 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 > > CM

Re: [CMake] Relative include() calls

2009-05-28 Thread Robert Dailey
ake] Relative include() calls > Date: Thu, 28 May 2009 09:36:33 +0200 > > > > On Thu, May 28, 2009 at 7:16 AM, Tyler Roscoe 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: &g

[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

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 wrote: > > 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 a job, a family,

[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). However,

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 wrote: > On Wed, May 20, 2009 at 9:40 PM, Robert Dailey 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] Need advice for unit test structure

2009-05-20 Thread Robert Dailey
I'm still looking to figure out how a single project can be configured to generate multiple executables. Can anyone clarify? On Thu, Apr 9, 2009 at 1:30 PM, Robert Dailey wrote: > On Thu, Apr 9, 2009 at 12:59 PM, Paul Oppenheim (Poppy Linden) < > po...@lindenlab.com> wrote: &

[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 s

Re: [CMake] Problem with FindBoost.cmake

2009-05-17 Thread Robert Dailey
On Sun, May 17, 2009 at 12:16 PM, Philip Lowman wrote: > On Sun, May 17, 2009 at 12:26 AM, Robert Dailey wrote: > >> Hi, >> I have built Boost 1.39 on Windows with static libraries, and they are >> named like so: >> >> libboost_filesystem-mt.lib >> &g

[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 the

[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 ther

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 7:25 PM, Bill Hoffman wrote: > 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)

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 6:43 PM, Bill Hoffman wrote: > 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 pro

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
e 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 wrote: > Robert Dailey wrote: > >> Thanks David. >> >> Where can I find a platform-ambiguous version of the documentati

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 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.cmak

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 open-sour

[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] 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=CMake&view=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: Foo_LIBRAR

[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. _

Re: [CMake] "Combo Box" cache variables

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

Re: [CMake] "Combo Box" cache variables

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf > 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 applic

Re: [CMake] "Combo Box" cache variables

2009-04-09 Thread Robert Dailey
On Thu, Apr 9, 2009 at 3:58 PM, Bill Hoffman wrote: > 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? ___ Powered

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

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

Re: [CMake] "Combo Box" cache variables

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf > 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 included in this bui

[CMake] "Combo Box" cache variables

2009-04-09 Thread Robert Dailey
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 this would work on other platforms, but I would be interested in hearing what people think about this. If t

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

2009-04-09 Thread Robert Dailey
2009/4/9 Alexander Neundorf > > 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 this out of the box ?

[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 th

<    1   2   3   4   5   6   7   8   9   >