Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 1:31 PM, Michael Wild wrote: > On 12/12/2011 08:28 PM, Robert Dailey wrote: > > Hi, > > > > I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual > > Studio 2008. I set an environment variable called BUILDBIN in the

[CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual Studio 2008. I set an environment variable called BUILDBIN in the custom command but for some reason my scripts that I invoke are not picking up that environment variable. Am I doing something wrong? These custom commands

Re: [CMake] New type of cache variable: lists

2011-12-11 Thread Robert Dailey
I didn't want option() to become the new, overly used and overly complicated set(), so choice() seemed more appropriate. It is a lot more self-documenting as well. I think of option as providing a boolean toggle, not a list of strings to choose from. - Robert Dailey On Sat, Dec 10,

[CMake] custom target output in Visual Studio

2011-12-09 Thread Robert Dailey
that all output from the commands is presented in the Visual Studio Output Window? 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 keep messages on-topic and check the

Re: [CMake] New type of cache variable: lists

2011-12-09 Thread Robert Dailey
tes can be confusing, but once you understand a couple of rules it is pretty easy. Maybe you can give an example of a more ambiguous case :) Thanks again David. ----- Robert Dailey On Fri, Dec 9, 2011 at 9:27 AM, David Cole wrote: > On Fri, Dec 9, 2011 at 9:59 AM, Robert Dailey wrote: >

Re: [CMake] New type of cache variable: lists

2011-12-09 Thread Robert Dailey
On Thu, Dec 8, 2011 at 7:59 PM, David Cole wrote: > Well, nearly > > You'll have to double-quote the "${documentation}" inside the function > in case it is the empty string... > Or if it has spaces in it, right? Any time I have a string with spaces in it, or that could have spaces in it, I u

Re: [CMake] New type of cache variable: lists

2011-12-08 Thread Robert Dailey
hink "choice" is the best name, I can't think of a better one. Think about it and let me know what you decide. I don't know much about these CMake-language functions you speak of, but it would be interesting to learn about them. Are they covered in detail in the reference documenta

Re: [CMake] New type of cache variable: lists

2011-12-08 Thread Robert Dailey
On Thu, Dec 8, 2011 at 3:53 PM, David Cole wrote: > The 4th argument to SET (when CACHE is used) is the *type* of the > cache entry itself. I will not call a cache entry a LIST when it is > not actually a list. > > Nor will I accept that the 2nd argument to set should be anything > other than the

Re: [CMake] New type of cache variable: lists

2011-12-08 Thread Robert Dailey
2011/12/8 Alexander Neundorf > On Thursday 08 December 2011, Robert Dailey wrote: > ... > > Perhaps the mental leap is the inverse of what you propose: A list is > not a > > string and should not be a string (although the syntax differences > between > > them are

Re: [CMake] New type of cache variable: lists

2011-12-08 Thread Robert Dailey
On Tue, Dec 6, 2011 at 6:39 PM, David Cole wrote: > > Plus the option in the list that is the default must be > > specified in 2 different locations. I think a cleaner solution could be > > implemented: > > > > set( BaseName "binary;octal;decimal;hexidecimal" CACHE LIST > "Documentation" > > ) >

[CMake] Cleaning up find module

2011-12-07 Thread Robert Dailey
le in one directory, it seems to expect all of the other files to be in that same directory. In any case, if someone wouldn't mind taking a peek at my find module and offering some suggestions for improvements I'd greatly appreciate it! Thanks!! ----- Robert Dailey FindInst

Re: [CMake] Question about add_custom_target

2011-12-07 Thread Robert Dailey
Anyone? - Robert Dailey On Tue, Dec 6, 2011 at 4:36 PM, Robert Dailey wrote: > Does $ work in add_custom_target as it does in > add_custom_command? The documentation doesn't state anything about this > that I can see, but it seems like it should work. > > -

[CMake] Question about add_custom_target

2011-12-06 Thread Robert Dailey
Does $ work in add_custom_target as it does in add_custom_command? The documentation doesn't state anything about this that I can see, but it seems like it should work. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwar

Re: [CMake] New type of cache variable: lists

2011-12-06 Thread Robert Dailey
keep the documentation for this feature contained to the 'set' command in the docs like other cache variable types. I just don't think lists should be handled differently. - Robert Dailey On Tue, Dec 6, 2011 at 3:32 PM, David Cole wrote: > On Tue, Dec 6, 2011 at 4:26

[CMake] New type of cache variable: lists

2011-12-06 Thread Robert Dailey
Has anyone thought of creating a "LIST" type for cache variables? In CMake GUI on Windows, this would be represented by a combo-box or drop-down box that allows the user to pick one item out of a list of available items. Is this possible? ----- Robert Dailey -- Powered by www.k

[CMake] How to clean up long strings in option()

2011-12-02 Thread Robert Dailey
;t involve shortening the content in my documentation? It would be nice if the option's default value was the 2nd parameter and the doc string was the 3rd. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensourc

Re: [CMake] 2D arrays

2011-12-01 Thread Robert Dailey
see if it works for you? On Thu, Dec 1, 2011 at 11:04 AM, Robert Dailey wrote: > On Wed, Nov 30, 2011 at 7:18 PM, Michael Hertling wrote: > >> On 11/30/2011 03:29 AM, Robert Dailey wrote: >> > I use macros so the _array2d_ variables fall through the scope of the >> macro

Re: [CMake] 2D arrays

2011-12-01 Thread Robert Dailey
On Wed, Nov 30, 2011 at 7:18 PM, Michael Hertling wrote: > On 11/30/2011 03:29 AM, Robert Dailey wrote: > > I use macros so the _array2d_ variables fall through the scope of the > macro > > and are available in the next call to array2d_advance(). I could use > > functio

Re: [CMake] 2D arrays

2011-11-29 Thread Robert Dailey
On Tue, Nov 29, 2011 at 5:57 PM, Michael Hertling wrote: > Just some spontaneous questions/remarks: > Thanks; I really appreciate it! > - Why do you use macros instead of functions? > I use macros so the _array2d_ variables fall through the scope of the macro and are available in the next call

Re: [CMake] 2D arrays

2011-11-29 Thread Robert Dailey
) array2d_begin_loop( advanced "${two_dee_array}" 2 "fruit;animal" ) while( advanced ) message( "Fruit: ${fruit}" ) message( "Animal: ${animal}" ) array2d_advance() endwhile() - Robert Dailey On Mon, Nov 28, 2011 at 2:31 PM, Robert Dailey wrote: > Is it possibl

[CMake] Capturing matches in regex groups

2011-11-28 Thread Robert Dailey
ay I should get a list with: hello;world;today How can I do this? - 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

[CMake] 2D arrays

2011-11-28 Thread Robert Dailey
Is it possible to have 2D arrays in CMake? As far as the core syntax is concerned, it seems like only 1D arrays are supported. So far I've had to work around this issue by using a flat array and skipping over elements using foreach() with a range and step. Any ideas? Thanks. - R

Re: [CMake] VC2010 Express crashing

2011-11-22 Thread Robert Dailey
No problem. I'll send a crash report to MS and see what I can figure out. I assume I need to report the crash on the MSDN forums? Never reported a MS bug before so not sure. Thanks for the help everyone. - Robert Dailey On Tue, Nov 22, 2011 at 6:52 AM, David Cole wrote: > I

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
On Mon, Nov 21, 2011 at 5:32 PM, John Drescher wrote: > > Yes it is 100% reproducible. > > I don't know if telling someone to send reports to Microsoft and have > them > > fix the problem is the most reasonable solution. > > > > Isn't it a Microsoft bug? I mean even if the sln file was somehow >

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
Yes it is 100% reproducible. I don't know if telling someone to send reports to Microsoft and have them fix the problem is the most reasonable solution. - Robert Dailey On Mon, Nov 21, 2011 at 5:18 PM, David Cole wrote: > Submit/send your crash reports to Microsoft so they ca

[CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
s versions in those cases. - 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 su

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
apparently, I don't remember adding that... but should this really break the find module? I don't think it should be checking PATH, if that's what it is doing, since obviously it breaks it, and it has no way of verifying what version of devenv it is getting. - Robert Dailey O

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
guidance. - Robert Dailey On Mon, Nov 21, 2011 at 8:59 AM, Bill Hoffman wrote: > On 11/21/2011 9:23 AM, Robert Dailey wrote: > >> I think though that by default, no visual studio installations place the >> install path in PATH in the environment. So if I'm remembering c

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
very helpful. The only other way for me to figure this out is to skim the source code, which would be very time consuming! Hopefully you can save me some time :) Thanks! - Robert Dailey On Mon, Nov 21, 2011 at 7:03 AM, David Cole wrote: > CMake does use env vars PATH, LIB and INCL

Re: [CMake] VC2010 Express + CMake = fails

2011-11-19 Thread Robert Dailey
I mean specifically is there some environment variable that CMake checks for the location of VC2010? I want to make sure the correct path is set on it. Thanks. - Robert Dailey On Sat, Nov 19, 2011 at 12:08 PM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > The be

Re: [CMake] VC2010 Express + CMake = fails

2011-11-19 Thread Robert Dailey
onment is setup improperly. ----- Robert Dailey On Fri, Nov 18, 2011 at 10:48 PM, Bill Hoffman wrote: > On 11/18/2011 6:58 PM, Robert Dailey wrote: > >> Well since this is VC Express, I don't have a "devenv.com >> <http://devenv.com>" file in my Common7 fold

Re: [CMake] VC2010 Express + CMake = fails

2011-11-18 Thread Robert Dailey
Well since this is VC Express, I don't have a "devenv.com" file in my Common7 folder, so I guess that explains it? Shouldn't CMake support VC2010 express? ----- Robert Dailey On Fri, Nov 18, 2011 at 5:10 PM, Robert Dailey wrote: > When I try to configure my proje

[CMake] VC2010 Express + CMake = fails

2011-11-18 Thread Robert Dailey
o solution file, but was created by a newer version of Visual Studio and cannot be opened. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:29 (project) Configuring incomplete, errors occurred! ----- Robert Dailey --

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
obert Dailey On Wed, Nov 16, 2011 at 12:03 PM, David Cole wrote: > On Wed, Nov 16, 2011 at 12:28 PM, Robert Dailey > wrote: > > So basically because we use perforce, there is no way to use ctest? > > Well, you can still use ctest, you just won't be able to use the > ctest

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
pport perforce? Is there a way to tell CTest to not check out source code and instead point it to an existing working copy, that way I can perform the perforce checkout externally via script? This would make for a decent workaround. Thanks. - Robert Dailey On Wed, Nov 16, 2011 at 11:03 AM,

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
Seems like the web viewer link is optional, I created the project without it. However, I see the default build groups but how do I add a build? I suppose CDash needs to know how to do a checkout of source code from Perforce? I'm really confused on what to do next... - Robert Dailey

[CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
this? I believe perforce's web viewer is P4Web. Thanks. ----- 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/Wi

Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Robert Dailey
The windows binaries unfortunately do not contain ccmake.exe. - Robert Dailey On Tue, Nov 15, 2011 at 11:24 AM, Bill Hoffman wrote: > On 11/11/2011 3:21 PM, Robert Dailey wrote: > >> I'm using Cygwin with the MSVC toolchain and I need ccmake.exe. I can't >>

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-15 Thread Robert Dailey
On Tue, Nov 15, 2011 at 4:49 AM, Michael Hertling wrote: > > As David has outlined in the meantime, the advice is not about using > FIND_LIBRARY() - which has not been mentioned a single time - but to > assemble full paths from the libraries' directories and the libraries > themselves, instead of c

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Robert Dailey
What is the difference between CMAKE_LINK_LIBRARY_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX? Which should I use? - Robert Dailey On Mon, Nov 14, 2011 at 2:49 PM, Clinton Stimpson wrote: > > That's what I do sometimes. To make that easier, CMake gives some > convenience &

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Robert Dailey
On Mon, Nov 14, 2011 at 1:59 PM, Michael Hertling wrote: > On 11/14/2011 06:17 PM, Robert Dailey wrote: > > Well maybe you can tell me I'm doing this wrong then, but based on how I > am > > currently setting up my third party libraries, it is required. > > >

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Robert Dailey
On Mon, Nov 14, 2011 at 11:00 AM, David Cole wrote: > On Mon, Nov 14, 2011 at 9:36 AM, Robert Dailey wrote: > > On Mon, Nov 14, 2011 at 6:42 AM, Michael Wild wrote: > >> > >> Hi Arun > >> Consider LINK_DIRECTORIES to be obsolete and to be avoided at all cos

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Robert Dailey
On Mon, Nov 14, 2011 at 6:42 AM, Michael Wild wrote: > Hi Arun > > Consider LINK_DIRECTORIES to be obsolete and to be avoided at all cost. I don't really agree with this advice. There are circumstances where link_directories() is absolutely necessary, so advocating to completely avoid it isn't

[CMake] Trying to compile CMake on Cygwin with MS toolchain

2011-11-13 Thread Robert Dailey
I'm trying to compile CMake using the MSVC toolchain but it isn't working when I configure for the first time. The relevant output is below. What do I need to do to get this working? I installed all the packages in Cygwin with the word 'curl' in it, but it still isn't working: -- Performing Curl T

[CMake] CMake single-configuration makefiles

2011-11-13 Thread Robert Dailey
there any plans to change it? I'm new to Makefiles so I'm curious to learn as much as possible about it. Thanks. - 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] How to build ccmake.exe on Windows?

2011-11-11 Thread Robert Dailey
le) ELSE (UNIX) SET(BUILD_CursesDialog 0) ENDIF (UNIX) - Robert Dailey On Fri, Nov 11, 2011 at 2:21 PM, Robert Dailey wrote: > I'm using Cygwin with the MSVC toolchain and I need ccmake.exe. I can't > use the one from the Cygwin package manager because it's ol

[CMake] How to build ccmake.exe on Windows?

2011-11-11 Thread Robert Dailey
I'm using Cygwin with the MSVC toolchain and I need ccmake.exe. I can't use the one from the Cygwin package manager because it's older than the version I'm using. I'd like to build it myself through Visual Studio like I did with cmake and cmake-gui if possible. Any help?

Re: [CMake] Generating for cygwin

2011-11-11 Thread Robert Dailey
Do you have a sample bash script I could look at? I'm not sure what environment variables need to be setup in my Cygwin environment. Thanks! - Robert Dailey On Thu, Nov 10, 2011 at 10:05 PM, Bill Hoffman wrote: > On 11/10/2011 5:14 PM, Robert Dailey wrote: > > I thin

Re: [CMake] CMake + Cygwin + MSVC Toolchain problems

2011-11-11 Thread Robert Dailey
Based on this URL: http://cygwin.com/ml/cygwin/2006-07/msg00376.html Seems like this happens because I am using windows-style paths in Cygwin. I don't know how to make it use different paths though. - Robert Dailey On Fri, Nov 11, 2011 at 1:19 PM, Robert Dailey wrote: > At li

Re: [CMake] CMake + Cygwin + MSVC Toolchain problems

2011-11-11 Thread Robert Dailey
At line 25 in the depend.make file in question, I have this: common/exchange/gdexchsrvcommon/CMakeFiles/gdwincommon.dir/gdcomhelpers.cpp.obj: C:/Program\ Files/Microsoft\ SDKs/Windows/v6.0A/Include/SCardErr.h - Robert Dailey On Fri, Nov 11, 2011 at 1:17 PM, Robert Dailey wrote: >

[CMake] CMake + Cygwin + MSVC Toolchain problems

2011-11-11 Thread Robert Dailey
or 2 Is this enough information or do you need some more info? About 20 dependent targets prior to this one compiled just fine. ----- 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

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
On Thu, Nov 10, 2011 at 3:51 PM, Bill Hoffman wrote: > See my email about the VS variables and gmake version. Also, you will > need to set CC=cl and CXX=cl before running CMake, or when you run > cmake-gui click on the Specify native compilers button after you select > "Unix Makefiles". Then put

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
compiler, even if it is inside Cygwin? I have MSVC 7.1, 8, and 9 on my system. The other thing I'm not sure of is how to tell CMake in Cygwin which MSVC compiler to use. If I need to setup environment variables, how do I know which ones CMake will be looking for and what the values should be?

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
make CMake build makefiles that utilize VS2003? ----- Robert Dailey On Thu, Nov 10, 2011 at 2:03 PM, David Cole wrote: > On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey wrote: > > How do I generate makefiles for cygwin? Can I run CMake through Windows > and > > generate U

[CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
isual Studio. - 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/unsubs

Re: [CMake] list( APPEND ) on a cache variable

2011-11-10 Thread Robert Dailey
Wow the property idea is perfect. I will use that instead. I tend to think too much in terms of either "variable" or "cache variable", I tend to forget about properties. Thanks! ----- Robert Dailey On Thu, Nov 10, 2011 at 8:22 AM, Michael Wild wrote: > On 11/1

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
That's fine & dandy but I have a solution with 120+ projects that each have SCC bindings... that makes them load especially slow! I wish VS was smart enough to just reload the changed projects properly... :( ----- Robert Dailey On Thu, Nov 10, 2011 at 1:34 PM, David Cole wrote:

[CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
from the start for the CMake team, so just wondering if there are any workarounds & tips. 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 keep messages on-topic and

[CMake] list( APPEND ) on a cache variable

2011-11-10 Thread Robert Dailey
I have an internal cache variable and I want to append items to it in a FOR loop using FORCE. Can list( APPEND ) do this for me? If not, can someone show me an example of how this would be done? What are the performance implications of each solution? - Robert Dailey -- Powered by

Re: [CMake] debug/optimized include directories

2011-11-07 Thread Robert Dailey
How would it not be additive? get_target_property() for INCLUDE_DIRECTORIES would return target includes + directory includes (that apply to that target, transitively) I don't know if preprocessor definitions follow this but this is the behavior I would expect. - Robert Dailey O

Re: [CMake] debug/optimized include directories

2011-11-04 Thread Robert Dailey
David, There is a directory-level property for preprocessor definitions too, right? So how do the target properties for preprocessor definitions handle those? I think they are additive aren't they? I would expect the include directories to be additive too. - Robert Dailey On Fri

Re: [CMake] debug/optimized include directories

2011-11-03 Thread Robert Dailey
Thanks for volunteering for this! - Robert Dailey On Wed, Nov 2, 2011 at 7:30 PM, Stephen Kelly wrote: > David Cole wrote: > > > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey > > wrote: > >> On Tue, Nov 1, 2011 at 3:32 PM, David Cole > >> wrote: &

[CMake] include_directories() and duplicates

2011-11-02 Thread Robert Dailey
Does the include_directories() command strip out duplicate paths added? - 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

Re: [CMake] debug/optimized include directories

2011-11-02 Thread Robert Dailey
Awesome idea, +1 This is probably the best work-around until includes get a target property. - Robert Dailey On Wed, Nov 2, 2011 at 2:43 AM, Michael Wild wrote: > On 11/01/2011 09:49 PM, Robert Dailey wrote: > > Well if you need any help coding the feature let me know. I&

Re: [CMake] How to force value to cache variable without retyping doc string?

2011-11-01 Thread Robert Dailey
Thanks, I didn't even think of doing it like that :) This works great. Thanks! - Robert Dailey On Tue, Nov 1, 2011 at 3:46 PM, Fraser Hutchison < fraser.hutchi...@googlemail.com> wrote: > Hi Robert, > > I think you need something like: > > > if( NOT COPY

Re: [CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
Well if you need any help coding the feature let me know. I'm already liking the idea of adding features I want myself into CMake :) Thanks! - Robert Dailey On Tue, Nov 1, 2011 at 3:47 PM, David Cole wrote: > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey wrote: > >

Re: [CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
On Tue, Nov 1, 2011 at 3:32 PM, David Cole wrote: > Not yet Meaning there are plans in the works to add such functionality in the near future? For now I guess I could actually hard code VS environment variables in my include directory strings, such as $(Configuration). -- Powered by www.kitwa

[CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
When generating for Visual Studio, is there a way to make projects in debug configuration have a different set of include directories from the release configuration? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

[CMake] How to force value to cache variable without retyping doc string?

2011-11-01 Thread Robert Dailey
an I do this without having to duplicate the doc string? - 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] Joining & Normalizing paths

2011-11-01 Thread Robert Dailey
quot; "morestuff" ) Which would yield the cmake path: "T:/stuff/morestuff" Is any of this possible? How do I work around this? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.

Re: [CMake] MSVC variable doesn't work without project() call first

2011-11-01 Thread Robert Dailey
On Tue, Nov 1, 2011 at 10:43 AM, David Cole wrote: > On Tue, Nov 1, 2011 at 11:22 AM, Alexander Neundorf > wrote: > > On Tuesday 01 November 2011, Robert Dailey wrote: > >> For some reason the built in variable like MSVC_VERSION and MSVC do not > >> have any valu

[CMake] MSVC variable doesn't work without project() call first

2011-11-01 Thread Robert Dailey
For some reason the built in variable like MSVC_VERSION and MSVC do not have any value unless the project() command is called first. Can someone explain why? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-11-01 Thread Robert Dailey
I realize this is a feature but since I've provided the patch files that implement this (attached to the bug below) I was hoping you wouldn't mind. It's a small feature addition for source control bindings. Read more here: http://public.kitware.com/Bug/view.php?id=12549 ----

Re: [CMake] SCC bindings missing AUXPATH support?

2011-11-01 Thread Robert Dailey
On Mon, Oct 31, 2011 at 11:59 PM, Steven Velez wrote: > Hi Robert, > > I reviewed the patch, and I am not sure vsAuxPath should be a > requirement. As I stated earlier, we've gotten the binding to work > acceptably without it and I assume others have as well. Further, some > users may prefer to

Re: [CMake] SCC bindings missing AUXPATH support?

2011-10-31 Thread Robert Dailey
J looks like so: SccProjectName="Perforce Project" SccLocalPath="C:/Code/work/sandbox" SccAuxPath="P4SCC#perforce.mycompany.com:3666##rdailey##rdailey-t510-sandbox " SccProvider="MSSCCI:Perforce SCM" When I open the generated solution, all projects load perfectly with

Re: [CMake] SCC bindings missing AUXPATH support?

2011-10-31 Thread Robert Dailey
I fiddled around with TortoiseGit and managed to create the patch. It is attached. Please integrate this into your repository so it is included in version 2.8.7 :) - Robert Dailey On Mon, Oct 31, 2011 at 5:41 PM, Robert Dailey wrote: > I have added source code support for this mys

Re: [CMake] SCC bindings missing AUXPATH support?

2011-10-31 Thread Robert Dailey
patch files outside of TortoiseSVN on Windows, so could someone explain how to create a patch file for these on Windows 7? Also how would you like me to deliver the code? I hope to see it introduced in version 2.8.7 Thanks. - Robert Dailey On Mon, Oct 31, 2011 at 4:10 PM, Robert Dailey

[CMake] SCC bindings missing AUXPATH support?

2011-10-31 Thread Robert Dailey
OVIDER Apparently one more is needed to support "SccAuxPath": VS_SCC_AUXPATH Can someone add support for this? Thanks. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep m

Re: [CMake] Source control bindings feature in CMake needs better documentation

2011-10-31 Thread Robert Dailey
eady knows this stuff? - Robert Dailey On Mon, Oct 31, 2011 at 12:24 PM, Robert Dailey wrote: > Hey guys, > > Our team is running Perforce here at work and I want to setup any Visual > Studio projects generated to use source control bindings for Perforce. > >

[CMake] Source control bindings feature in CMake needs better documentation

2011-10-31 Thread Robert Dailey
someone explain what each is and possibly provide some examples on how they are used for Perforce? Thanks!! - 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

Re: [CMake] Need a full list of reserved words

2011-10-30 Thread Robert Dailey
many others. I need a list of all of these, across all commands. ----- Robert Dailey On Sun, Oct 30, 2011 at 2:23 PM, John Drescher wrote: > On Sun, Oct 30, 2011 at 3:14 PM, Robert Dailey wrote: > > I'm trying to help the Notepad++ author update his list of keywords for >

[CMake] Need a full list of reserved words

2011-10-30 Thread Robert Dailey
omeone can just paste here? I can then send that on to the Notepad++ developers to get the list updated. Thanks! ----- 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

[CMake] Suggestions on documenting my CMake modules

2011-10-29 Thread Robert Dailey
would otherwise be immediately available in the code itself. Ideas? - 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

Re: [CMake] Dependency question

2011-10-28 Thread Robert Dailey
at does the _UTILITY project do? ----- Robert Dailey On Fri, Oct 28, 2011 at 12:32 PM, Robert Dailey wrote: > > On Fri, Oct 28, 2011 at 12:25 PM, David Cole wrote: > >> On Fri, Oct 28, 2011 at 1:06 PM, Robert Dailey >> wrote: >> > I'm using CMake 2.8.6 and

Re: [CMake] Dependency question

2011-10-28 Thread Robert Dailey
On Fri, Oct 28, 2011 at 12:25 PM, David Cole wrote: > On Fri, Oct 28, 2011 at 1:06 PM, Robert Dailey wrote: > > I'm using CMake 2.8.6 and generating for VS 2003. > > I have a DLL project that my EXE project needs to depend on, however I > don't > > want my EXE

[CMake] Dependency question

2011-10-28 Thread Robert Dailey
I want the EXE project to depend on the DLL project so that in visual studio the DLL is built when I build the EXE (because of project dependencies), but I don't want the DLL 's import LIB to be linked in via command line. Any way to do this? - Robert Dailey -- Powered by www.kitware

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-10-28 Thread Robert Dailey
will surely only add more duplicated entries. - Robert Dailey On Fri, Oct 21, 2011 at 11:19 AM, David Cole wrote: > Hi all, > > *NO* replies requested. Different technique this time. Please edit the > bug tracker directly. (Unless you have problems with the bug tracker: >

Re: [CMake] Windows installer creating duplicate entries in Add/Remove Programs

2011-10-27 Thread Robert Dailey
On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson wrote: > On Thursday, October 27, 2011 12:03:20 pm Robert Dailey wrote: > > *cricket... cricket...* > > > > ----- > > Robert Dailey > > > > On Tue, Oct 25, 2011 at 1:19 PM, Robert Dailey > wrote: >

Re: [CMake] Windows installer creating duplicate entries in Add/Remove Programs

2011-10-27 Thread Robert Dailey
*cricket... cricket...* - Robert Dailey On Tue, Oct 25, 2011 at 1:19 PM, Robert Dailey wrote: > I noticed that when I install CMake 2.8 updates, I get duplicate entries in > "Programs and Features" in windows 7 (the Add/Remove programs area). > > This seems like

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-26 Thread Robert Dailey
On Wed, Oct 26, 2011 at 4:42 PM, Dan Kegel wrote: > I'm going over the checklist of whether cmake will meet > the needs of my eclipse users, and their first question > was what was the workflow for adding a new source > file. > > I just tried the experiment of adding a .cpp file, > adding it to C

[CMake] Windows installer creating duplicate entries in Add/Remove Programs

2011-10-25 Thread Robert Dailey
I noticed that when I install CMake 2.8 updates, I get duplicate entries in "Programs and Features" in windows 7 (the Add/Remove programs area). This seems like a bug. I searched the bug database but didn't find anything on this. Can anyone confirm? ----- Robert Dailey

Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread Robert Dailey
list of sources, which set /Yu on it, overwriting the /Yc that was placed on it. Thanks for the helpful reminders! - Robert Dailey On Tue, Oct 25, 2011 at 11:03 AM, John Drescher wrote: > On Tue, Oct 25, 2011 at 12:01 PM, John Drescher > wrote: > > On Tue, Oct 25, 2011

Re: [CMake] Custom target with just cmake files in it

2011-10-25 Thread Robert Dailey
On Tue, Oct 25, 2011 at 10:50 AM, David Cole wrote: > On Fri, Oct 21, 2011 at 4:08 PM, Robert Dailey wrote: > >> I have a folder with a bunch of cmake modules in it that contain my custom >> CMake code used across all projects. >> >> I only generate for visual stud

Re: [CMake] Custom target with just cmake files in it

2011-10-25 Thread Robert Dailey
Bumping this too since I'd like an answer! :P - Robert Dailey On Fri, Oct 21, 2011 at 3:08 PM, Robert Dailey wrote: > I have a folder with a bunch of cmake modules in it that contain my custom > CMake code used across all projects. > > I only generate for visual

Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread Robert Dailey
Bumping this in hopes for some help! - Robert Dailey On Fri, Oct 21, 2011 at 3:11 PM, Robert Dailey wrote: > I did some searching and on stackoverflow I found a post that had code in > it to provide precompiled header support: > > http://stackoverflow.com/questions/1485

[CMake] Solution directory support

2011-10-24 Thread Robert Dailey
right now, after tests I would have over 300 projects. I need to be able to stuff the 180 test projects in a solution directory to keep them out of the way) - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opens

[CMake] Precompiled header support in Visual Studio?

2011-10-21 Thread Robert Dailey
T_OUTPUTS "${PrecompiledBinary}") SET_SOURCE_FILES_PROPERTIES(${Sources} PROPERTIES COMPILE_FLAGS "/Yu\"${PrecompiledBinary}\" /FI\"${PrecompiledBinary}\" /Fp\"${PrecompiledBinary}\""

[CMake] Custom target with just cmake files in it

2011-10-21 Thread Robert Dailey
n it. How would I create such a project? It needs to show up in ANY solution opened that is generated at any level via call to project(). ----- Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep m

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
dash "-" 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 wrot

Re: [CMake] CMake & MFC

2011-10-20 Thread Robert Dailey
e app 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 wrote: &g

<    1   2   3   4   5   6   7   8   9   >