Re: [CMake] Visual Studio 10 - GenerateDebugInformation always false

2012-03-01 Thread aaron . meadows
Can you attach that project? I'll test it out under similar conditions. Are you using the free version of visual studio? Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Johannes Sasongko Sent: Thursday, March 01, 2012 9:01 AM

Re: [CMake] lexical scoping ... back to the future !

2012-02-24 Thread aaron . meadows
properties into variables at the parent scope. Anyway, just a thought.. Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of François Mauger Sent: Thursday, February 23, 2012 6:11 PM To: Jean-Christophe Fillion-Robin; cmake

Re: [CMake] custom command and differences between VS2005 and VS2010

2012-02-21 Thread aaron . meadows
that would have happened. I'm using CMake 2.8.7 on Windows 7. I wonder if there is something else that is a problem. What version of CMake are you using? Aaron Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of walter.schw...@dzbank.de Sent: Monday, February

Re: [CMake] Shared intermediary files

2012-02-21 Thread aaron . meadows
of them, so they are all building together in one project (i.e. Visual Studio Solution)? Or Doing something completely different? Aaron Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Kevin Schmidt Sent: Monday, February 20, 2012 3:07 PM To: cmake

Re: [CMake] Shared intermediary files

2012-02-21 Thread aaron . meadows
. Someone with more experience may be able to jump in hear and give a better answer.. Aaron Meadows From: Kevin Schmidt [mailto:ke...@eyesopen.com] Sent: Tuesday, February 21, 2012 8:09 AM To: Meadows, Aaron C.; cmake@cmake.org Subject: RE: [CMake] Shared intermediary files Hi

Re: [CMake] Shared intermediary files

2012-02-21 Thread aaron . meadows
). Aaron Meadows From: Kevin Schmidt [mailto:ke...@eyesopen.com] Sent: Tuesday, February 21, 2012 8:26 AM To: Meadows, Aaron C.; cmake@cmake.org Subject: RE: [CMake] Shared intermediary files Yes, for clarity, we do generate the files at build time, not cmake time. Kevin From

Re: [CMake] Common Properties in Visual Studio

2012-02-21 Thread aaron . meadows
/print_bug_page.php?bug_id=9742 ) We used the patch titled: 0001-ms-external-project-.NET-project-support-GUID-fixed.patch Aaron Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Anders Backman Sent: Tuesday, February 21, 2012 9:55 AM To: cmake Subject

Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread aaron . meadows
I would second that sentiment. We had more luck with writing a script to generate CMakeLists.txt file from our source tree and knowledge of what we wanted plus hand tuning the primary CMakeLists.txt file. Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun

Re: [CMake] $TARGET_FILE:tgt in the add_custom_command()

2012-02-14 Thread aaron . meadows
the [ and ] . ) I tried adding + to that list, but I'm not sure how (if it's possible) to escape it (and it resulted in a regular expression compile error (runtime)). I'd suggest using something else instead of a + in your target name. Aaron Meadows From: cmake-boun...@cmake.org

Re: [CMake] External project source

2012-02-13 Thread aaron . meadows
I think Eric's notion of creating a branch would be the way to go. An alternative (if you're on an OS supporting it) would be to create the hierarchy of files as symlinks to the actual files. You could surely create a script to automate this. Aaron Meadows -Original Message- From

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread aaron . meadows
of identical data for each different configuration type. Hope that helps! Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Friday, February 10, 2012 2:42 AM To: Stefan Fendt Cc: cmake@cmake.org Subject: Re

Re: [CMake] Copying Files into build-dir under Visual Studio vs.Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread aaron . meadows
That's a nice method too. I suppose the hard coding wouldn't matter in a UnitTest. Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Jackson Sent: Friday, February 10, 2012 10:37 AM To: CMake ML Subject: Re: [CMake

Re: [CMake] MSBuild and automatic project file regenation

2012-02-09 Thread aaron . meadows
to try this with 2.8.7 from a vs 2008 command prompt, it configured with vs 2010. I had to specify -GVisual Studio 9 2008 to get the 2008 configuration. Let me know if you want me to try anything else. Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-09 Thread aaron . meadows
I went through the slides; pretty good introduction-intermediate presentation. I'm forwarding it to all the teams I work with here! Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Thursday, February 09

Re: [CMake] Under Visual Studio , allow developers to hit F7 to run the INSTALL target

2012-02-08 Thread aaron . meadows
to automatically install all the time, which is probably why the INSTALL project is excluded by default.). Depending on what you are doing, you might want that auto install behavior to only be tied to a Release build, or possibly introduce and Release and Install that does both. Aaron Meadows

Re: [CMake] Under Visual Studio , allow developers to hit F7 to run the INSTALL target

2012-02-08 Thread aaron . meadows
I wonder if you could do something like: set_target_properties(INSTALL PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 0 ) Aaron Meadows From: david_bjorn...@agilent.com [mailto:david_bjorn...@agilent.com] Sent: Wednesday, February 08, 2012 9:44 AM To: Meadows, Aaron C.; cmake@cmake.org

Re: [CMake] Under Visual Studio , allow developers to hit F7 to run the INSTALL target

2012-02-08 Thread aaron . meadows
Ah, that makes sense. Wonder how hard it would be to add a Pseudo-target to CMake for the targets it will build, and allow the scripts to set some properties on them which would be imported later as they are created... Aaron Meadows From: david_bjorn...@agilent.com [mailto:david_bjorn

Re: [CMake] Program Database for Edit Continue support

2012-02-06 Thread aaron . meadows
(TestExe main.cpp) Here is the relevant difference in the generated TestExe.vcxproj: 87c87 DebugInformationFormatEditAndContinue/DebugInformationFormat --- DebugInformationFormatProgramDatabase/DebugInformationFormat Aaron Meadows From: cmake-boun...@cmake.org

Re: [CMake] COMPILE_FLAGS property that appends instead of replaces

2012-02-06 Thread aaron . meadows
${_type} ${_desc}) endfunction(CheckAndAppendCache) Aaron Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Dailey Sent: Monday, February 06, 2012 3:58 PM To: CMake ML Subject: [CMake] COMPILE_FLAGS property that appends instead of replaces I

Re: [CMake] Bug #12189

2012-02-03 Thread aaron . meadows
Hi David, I know this is a fairly old bug fix by internet standards. I was delayed from getting any further on it by my day job... What do I still need to do to get this pushed in? Thanks! Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org

Re: [CMake] Fwd: Problem finding DLLS to use with tests

2012-02-03 Thread aaron . meadows
DEBUG_CONFIGURATIONS was not populated by default (which might make sense..) so I had to do that. I think that about sums it up. Hopefully that's useful to someone. If you think there's a better way to handle this, I'm happy to discuss it! Aaron Meadows -Original Message- From: cmake-boun

Re: [CMake] Bug #12189

2012-02-03 Thread aaron . meadows
Oops! Found a newer message from you regarding what I need to do on the patch.. I'll get cracking on that! Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Meadows, Aaron C. Sent: Friday, February 03, 2012 8:08 AM To: david.c

Re: [CMake] how to specify a different source directory

2012-02-02 Thread aaron . meadows
${CMAKE_CURRENT_LIST_DIR}/file4.cpp ) #[...] /foo/foo_test/CMakeLists.txt #[...] add_executable(foo_test ${fooTestFiles} ${FilesToIncludeInTestExe} ) #[...] Some other alteratives might be to set a Global or target property in the parent CMakeLists.txt and read it in the child one. Aaron Meadows

Re: [CMake] Bug #12189

2011-09-08 Thread aaron . meadows
runs with VS? Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Meadows, Aaron C. Sent: Tuesday, September 06, 2011 3:18 PM To: David Cole Cc: cmake@cmake.org Subject: Re: [CMake] Bug #12189 Sounds good. I believe the test is already

Re: [CMake] Bug #12189

2011-09-01 Thread aaron . meadows
to document _SBCS there, but was unable to find it in the documentation. If you want to point me to the right location to add documentation, I'm happy to write some. (I can write some for _UNICODE as well, if you like.) Aaron Meadows -Original Message- From: David Cole [mailto:david.c

Re: [CMake] Bug #12189

2011-08-31 Thread aaron . meadows
I'm happy to assist in any way I can. Where do I need to add a test? Also, where would it be appropriate to document this? Aaron Meadows -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, August 31, 2011 11:02 AM To: Meadows, Aaron C. Cc: cmake

[CMake] Issues with execute_process and svn

2011-07-13 Thread aaron . meadows
that. (in which case you'll get svn: '.' is not a working copy and not the invalid option issue) Thanks for any help you can provide! Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com mailto:aaron.mead

Re: [CMake] Issues with execute_process and svn

2011-07-13 Thread aaron . meadows
That's not what I'm using it for, but thanks for the suggestion. Aaron Meadows From: Jean-Christophe Fillion-Robin [mailto:jchris.filli...@kitware.com] Sent: Wednesday, July 13, 2011 1:49 PM To: David Cole Cc: Meadows, Aaron C.; cmake@cmake.org Subject: Re: [CMake] Issues

Re: [CMake] Issues with execute_process and svn

2011-07-13 Thread aaron . meadows
That works! Thanks! Any idea why the other way was causing issues? Aaron Meadows -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, July 13, 2011 1:06 PM To: Meadows, Aaron C. Cc: cmake@cmake.org Subject: Re: [CMake] Issues with execute_process

Re: [CMake] Issues with execute_process and svn

2011-07-13 Thread aaron . meadows
Ah, so does that mean that it is escaping the space, similar to --username\ MyUserName ? Aaron Meadows -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, July 13, 2011 4:09 PM To: Meadows, Aaron C. Cc: cmake@cmake.org Subject: Re: [CMake] Issues

[CMake] 0012304: FindSubversion.cmake macro Subversion_WC_LOG hangs if credentials are not set.

2011-06-24 Thread aaron . meadows
-interactive log -r BASE ${dir} OUTPUT_VARIABLE ${prefix}_LAST_CHANGED_LOG ERROR_VARIABLE Subversion_svn_log_error RESULT_VARIABLE Subversion_svn_log_result Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com

[CMake] find_packge in Module Mode

2011-06-24 Thread aaron . meadows
filename.) module_part_INCLUDE_DIR Where to find xxx_part.h, etc. Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com thomsonreuters.com ___ Powered by www.kitware.com Visit other

Re: [CMake] find_packge in Module Mode

2011-06-24 Thread aaron . meadows
to use module. module_INCLUDE_DIR Where to find xxx.h, etc. (module_INCLUDE_PATH was considered bad because a path includes an actual filename.) module_part_INCLUDE_DIR Where to find xxx_part.h, etc. Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile

Re: [CMake] determine 32 vs 64 bit linux

2011-06-23 Thread aaron . meadows
I use this exact code to determine 64bit vs. 32bit for visual studio 2005/2008/2010. Aaron C. Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Rolf Eike Beer Sent: Thursday, June 23, 2011 1:08 AM To: cmake@cmake.org Subject: Re:

Re: [CMake] regarding linking functionality and overloading in cmake

2011-06-23 Thread aaron . meadows
This sounds like poorly formed c++, not a CMake issue. Can you include your CMakeLists.txt, a copy of the error, and possibly a simple example which shows the problem? Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Leila Baghdadi Sent:

Re: [CMake] Problem finding DLLS to use with tests

2011-06-23 Thread aaron . meadows
Can you post your CMakeLists.txt? Did you get different errors for each of the 3 solutions you tried, or were they all the same error? What was the exception code? Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Stephen Torri Sent: Wednesday,

Re: [CMake] regarding linking functionality and overloading in cmake

2011-06-23 Thread aaron . meadows
Unless ImageFileArrayConst is a typedef for double **, there is not an ImageFile::statistics() function which takes a double** as the first parameter. (Line 288 and 296 have the two versions of ImageFile::statistics()) If you look in views.cpp at the function ImageFileView::OnProperties()

Re: [CMake] regarding linking functionality and overloading in cmake

2011-06-23 Thread aaron . meadows
Oh, sorry.. I missunderstood about the line 76. =D Ok, looking at your CMakeLists.txt, I see the ADD_SUBDIRECTORY(libctsim). I’m assuming there is a CMakeLists.txt in there which does the ADD_LIBRARY. The ADD_SUBDIRECTORY() calls are before you’re doing a bunch of ADD_DEFINITIONS(). The

Re: [CMake] regarding linking functionality and overloading in cmake

2011-06-23 Thread aaron . meadows
Hope it helps. I’m not completely clear on what you are talking about with the overloading. Are you saying you have the same function defined in multiple static libraries? Aaron C. Meadows From: Leila Baghdadi [mailto:baghd...@phenogenomics.ca] Sent: Thursday, June 23, 2011 1:55 PM To:

Re: [CMake] Fwd: Problem finding DLLS to use with tests

2011-06-23 Thread aaron . meadows
So, you are manually running your tests, for example, the 'test_julian.exe' or 'testcpp.exe'? Running them from a command prompt gives you that same error about the application has failed to start? And the name of the dll's exactly match? And you have tried copying the .dll into the same

Re: [CMake] Bug #12189

2011-06-23 Thread aaron . meadows
and the conflicting _MBCS macro must be deleted by the code generator. -- Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead

Re: [CMake] find_library can't find dll in system32 directory

2011-06-22 Thread aaron . meadows
This may be an issue with CMake being 32bit. 32bit programs on 64bit windows get run in a sort of sandbox (you probably already know this, so don't be offended if you do!). To a 32bit program on 64bit windows, I believe the c:/windows/system32 directory is secretly the c:/windows/syswow64

Re: [CMake] Bug #12189

2011-06-21 Thread aaron . meadows
. -- Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com thomsonreuters.com

[CMake] Bug #12189

2011-06-20 Thread aaron . meadows
. -- Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com thomsonreuters.com SBCS.patch

Re: [CMake] FindCurses.cmake does not find libncurses.so

2011-06-14 Thread aaron . meadows
Looking at FindCurses.cmake, it looks like it will prefer libcurses if it finds it (line 33). Specifically, it will try to determine if libcurses provides ncurses by seeing if libcurses contians the function wsyncup() (line 60). Here is the logic that does this (lines 47-71): # Not sure the

[CMake] CMakeDetermineVSServicePack.cmake

2011-06-07 Thread aaron . meadows
() + if(_cl_version) string(REGEX MATCHALL [0-9]+ _cl_version_list ${_cl_version}) Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com thomsonreuters.com

Re: [CMake] Newbie question: Static linking

2011-05-23 Thread aaron . meadows
-Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Wild Sent: Monday, May 23, 2011 9:12 AM To: cmake@cmake.org Subject: Re: [CMake] Newbie question: Static linking On 05/23/2011 03:25 PM, Sanatan Rai wrote: On 23 May 2011 13:38, Michael