Re: [CMake] Question about running C code from within cmake

2019-06-02 Thread Andrew Maclean
See: https://cmake.org/cmake/help/latest/module/ProcessorCount.html. There is an example of its use there. Windows also has a system variable called NUMBER_OF_PROCESSORS. Type "set" on the command line and you will see it. > -- Forwarded message -- > From: Steven Truppe > To:

[CMake] Boost 1.70.0 -- FindBoost issues? No linker libraries found

2019-04-15 Thread Andrew Maclean
Has anyone else got issues using Boost 1.70 in their code. I'm using CMake 3.14.2 I have done the usual build/install of Boost in linux and everything seems to be installed Ok in /usr/local/include and /usr/local lib. The problem is the no linker libraries are being found. I use this in my

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Andrew Maclean
Thanks, Bill. I remember it now! Andrew Maclean On 11 Sep 2018 09:54, "Bill Lorensen" wrote: Pcmaker, Ken Martin wrote it. On Mon, Sep 10, 2018, 3:26 PM Andrew Maclean wrote: > Hi Bill, >In the pre-Cmake days I remember building VTK on Windows with a program >

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Andrew Maclean
Hi Bill, In the pre-Cmake days I remember building VTK on Windows with a program that configured VTK for the build. Do you remember what it was called? This was back around 2000! Regards Andrew > -- Forwarded message -- > From: Bill Hoffman > To: "Alan W. Irwin" > Cc:

[CMake] Building using Qt 5.8 and VS2017.

2017-03-16 Thread Andrew Maclean
At present the builds will fail. I have posted a report on the Qt forum: https://forum.qt.io/topic/77260/errors-when-building-cmake-and-vtk In the interim here is a temporary fix: The problem relates to the Qt macro: **Q_DECL_CONSTEXPR** If it is commented out in lines 593 to 714 of

Re: [CMake] Changing /W3 to /W4 does not update CMakeCache.txt

2017-02-02 Thread Andrew Maclean
ch describes > this in more detail: > > https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#variables > > > On Fri, Feb 3, 2017 at 10:01 AM, Andrew Maclean <andrew.amacl...@gmail.com > > wrote: > >> Consider the attached CMakeLists.txt script. >>

[CMake] Changing /W3 to /W4 does not update CMakeCache.txt

2017-02-02 Thread Andrew Maclean
Consider the attached CMakeLists.txt script. When run, CMAKE_CXX_FLAGS is updated correctly, however the line: CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc in CMakeCache.txt is never updated. However the build instructions e.g build.ninja reflect the correct command: FLAGS = /DWIN32

Re: [CMake] Building CMake using CMake 3.6.3 fails.

2016-11-06 Thread Andrew Maclean
All is Ok. I deleted everything in the build directory and everything builds Ok now. Andrew On Fri, Nov 4, 2016 at 6:23 PM, Andrew Maclean <andrew.amacl...@gmail.com> wrote: > To be more specific it only occurs when building the debug version of > CMake. Release is OK. VTK builds

Re: [CMake] Building CMake using CMake 3.6.3 fails.

2016-11-04 Thread Andrew Maclean
To be more specific it only occurs when building the debug version of CMake. Release is OK. VTK builds and VTK Wiki examples are OK. On Fri, Nov 4, 2016 at 5:57 PM, Andrew Maclean <andrew.amacl...@gmail.com> wrote: > Windows 10 64-bit using ninja, Qt 5.7 MSVC 2105. > Building CMak

[CMake] Building CMake using CMake 3.6.3 fails.

2016-11-04 Thread Andrew Maclean
Windows 10 64-bit using ninja, Qt 5.7 MSVC 2105. Building CMake with CMake 3.6.2 was OK. Now using CMake 3.6.3 I get the following message: CMake Error in Source/QtDialog/CMakeLists.txt: - [0/1] Re-running CMake... -- cannot compile simplest ever MFC app, avoiding MFC test

Re: [CMake] CMake 3.4.2 available for download

2016-01-21 Thread Andrew Maclean
now! It is nice to get a message. I'll update the SDK on my other machine on Monday, unless you want me to test something. Andrew On Fri, Jan 22, 2016 at 12:38 AM, Brad King <brad.k...@kitware.com> wrote: > On 01/20/2016 04:36 PM, Andrew Maclean wrote: > > "CMake Error

Re: [CMake] CMake 3.4.2 available for download

2016-01-20 Thread Andrew Maclean
w On Thu, Jan 21, 2016 at 12:26 AM, Brad King <brad.k...@kitware.com> wrote: > On 01/19/2016 11:48 PM, Andrew Maclean wrote: > > Works well, although I did find that I had to update my Windows SDK > > to 10.0.10586.0 when using Visual Studio 2015 on Windows 10. > > This

Re: [CMake] [ANNOUNCE] CMake 3.4.2 available for download

2016-01-19 Thread Andrew Maclean
Works well, although I did find that I had to update my Windows SDK to 10.0.10586.0 when using Visual Studio 2015 on Windows 10. This is because CMake detected the system as Windows - 10.0.10586 - AMD64. This was not the case with the previous version of CMake (3.4.1). Andrew > --

Re: [CMake] Patch for Sphinx warning message

2015-07-15 Thread Andrew Maclean
=cmake.git;a=commitdiff;h=e59a7d7e [snip] On 07/14/2015 06:56 PM, Andrew Maclean wrote: Thanks, that looks much better than what I did! I had to revert it because other places in the sphinx config reference 'default': $ git grep -E 'default\' -- Utilities/Sphinx/ Utilities/Sphinx

[CMake] Patch for Sphinx warning message

2015-07-13 Thread Andrew Maclean
This patch fixes this warning when building CMake from the master: WARNING: 'default' html theme has been renamed to 'classic'. Please change your html_theme setting either to the new 'alabaster' default theme, or to 'classic' to keep using the old default. It ensures that the classic theme is

[CMake] Sphinx warning.

2015-07-08 Thread Andrew Maclean
The latest version of Sphinx generates this warning when building CMake from the master: WARNING: 'default' html theme has been renamed to 'classic'. Please change your html_theme setting either to the new 'alabaster' default theme, or to 'classic' to keep using the old default. See:

Re: [CMake] FindMPI.cmake and MS-MPI

2015-03-01 Thread Andrew Maclean
this helps. Regards Andrew On Sun, Mar 1, 2015 at 3:54 PM, Andrew Maclean andrew.amacl...@gmail.com wrote: Re-sending because David in no longer at Kitware. I downloaded and installed MS-MPI from http://www.microsoft.com/en-us/download/details.aspx?id=44990 This implementation does

Re: [CMake] FindMPI.cmake and MS-MPI

2015-03-01 Thread Andrew Maclean
Please ignore my emails regarding this. Apparently Ben Boeckel has fixed these issues in CMake 3.2.0-rc1. Sorry for the unnecessary bandwidth utilization! I can confirm that the VTK master version works OK with MS-MPI. Regards Andrew On Mon, Mar 2, 2015 at 9:58 AM, Andrew Maclean

[CMake] Using C++11 features and Cmake 3.1

2015-01-19 Thread Andrew Maclean
This is a bit long but it should help those using C++11 features in CMake 3.1. This is an extract from my CMakeLists.txt file that uses C++11 in a cross-platform manner. It also lists the available C++11 features and shows you how to set up defines that can be used in your code. The ancillary

[CMake] CMake QT5.3

2014-11-24 Thread Andrew Maclean
When I build CMake (master version: 3.1.20141123-g2a0c) with VS2013 Community Edition (win64) and Qt 5,3 I get the following warning: CMake Warning (dev) at C:/Qt/5.3/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file): configure_file called with unknown argument(s):

Re: [CMake] CMake QT5.3

2014-11-24 Thread Andrew Maclean
Thanks Rolf. I'll modify my QT 5.3 version to silence this. Regards Andrew On Tue, Nov 25, 2014 at 5:55 PM, Rolf Eike Beer e...@sf-mail.de wrote: Andrew Maclean wrote: When I build CMake (master version: 3.1.20141123-g2a0c) with VS2013 Community Edition (win64) and Qt 5,3 I get

[CMake] Using CMAKE_CXX_KNOWN_FEATURES

2014-11-24 Thread Andrew Maclean
Is this a reasonable approach to using cx_11 features on multiple platforms? The issue is that I think you need to manually select the MSVC compiler version that supports these features target_compile_features only works for gcc. #-- project(nullptr)

[CMake] CMake and VS Community Edition

2014-11-19 Thread Andrew Maclean
Just playing around with Visual Studio Community Edition. I had VS 2013 Express installed and I found it best to uninstall it as the same functionality (and more) is in the community edition. The reason that I uninstalled it is that when CMake builds the solution file (if both are installed) the

Re: [CMake] Possible bug in environment variable expansion?

2014-08-12 Thread Andrew Maclean
I only define: BOOST_ROOT=C:\local\boost_1_56_0 BOOST_LIBRARYDIR=C:\local\boost_1_56_0\lib64-msvc-12.0 and this works Ok. This will not work: BOOST_LIBRARYDIR=%BOOST_ROOT%\lib64-msvc-12.0 If you go to a command prompt and type set you will see that %BOOST_ROOT% is not expanded. So this is a

Re: [CMake] cmake-gui crash in Windows 8.1

2014-07-09 Thread Andrew Maclean
: On Fri, Jul 4, 2014 at 9:50 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: Hi All, Has anyone noticed a problem with CMake 3.0 in Windows? I switched recently to CMake 3.0 for my project (uninstalled previous cmake, installed new cmake, changed cmake scripts version requirement

Re: [CMake] cmake-gui crash in Windows 8.1

2014-07-09 Thread Andrew Maclean
image 1] On Wed, Jul 9, 2014 at 11:21 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: I have no problems with any other CMake build just with the vtk wiki examples. If you get a chance I would appreciate it if you could try a 64-bit build on the examples to see if the same issue happens

Re: [CMake] cmake 3.0 memory usage on VTKWikiExamples (was: cmake-gui crash in Windows 8.1)

2014-07-09 Thread Andrew Maclean
Thanks for looking into this Brad. Regards Andrew On Thu, Jul 10, 2014 at 12:51 AM, Brad King brad.k...@kitware.com wrote: On 07/08/2014 03:38 AM, Andrew Maclean wrote: I downloaded the most recent version of CMake in the master and built is with VS 12 2013 64bit. I ran the debug

Re: [CMake] cmake-gui crash in Windows 8.1

2014-07-08 Thread Andrew Maclean
hung waiting for it to terminate (cmake-gui did vanish from the task manager but no memory was released). I tried this twice and the same thing happens. The call stack is empty in the VS IDE. Andrew On Tue, Jul 8, 2014 at 8:23 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: HI Brad, 1

Re: [CMake] cmake-gui crash in Windows 8.1

2014-07-07 Thread Andrew Maclean
:14 AM, Brad King brad.k...@kitware.com wrote: On 07/04/2014 03:50 AM, Andrew Maclean wrote: Has anyone noticed a problem with CMake 3.0 in Windows? Have you tested on other versions of Windows other than 8.1? I doubt it is dependent on the version of Windows. Using cmake-gui in Windows 8.1

[CMake] cmake-gui crash in Windows 8.1

2014-07-04 Thread Andrew Maclean
Hi All, Has anyone noticed a problem with CMake 3.0 in Windows? Using cmake-gui in Windows 8.1 on the VTK Wiki Examples. The compiler is: VS 12 2013 Win64 Configure works Ok, however generate fails with a run-time error when it has completed about 75% of the generation process - it seems to hang

Re: [CMake] A little script for creating symlinks for CMake on a Mac.

2014-06-11 Thread Andrew Maclean
For Command Line Use. On Tue, Jun 10, 2014 at 8:50 PM, Andrew Maclean andrew.amacl...@gmail.com wrote: This script needs sudo privileges so use at your own risk. Test before using! If anybody needs it, here is a little script that creates symlinks in /usr/local/bin for command line users

[CMake] CMake 3.0, Qt5.3 and Policy CMP0043.

2014-06-10 Thread Andrew Maclean
Hi All, Just a quick note about Policy CMP0043. When using CMake 3.0 and Qt5.3 these two files will generate the CMake Warning: Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_Config properties. $QTDIR/lib/cmake/Qt5Core/Qt5CoreMacros.cmake

[CMake] Adding a folder with files into an OSX App

2013-06-30 Thread Andrew Maclean
Has anyone got an example of how to incorporate a folder into a Mac OSX App? In other words I want to have the following directory structure: MyApp.app Contents MacOS MyApp Help en Help es In other words the Help directory is

Re: [CMake] Sublime Text 2

2013-04-23 Thread Andrew Maclean
Andrew On 23/04/2013 5:26 PM, Campbell Barton ideasma...@gmail.com wrote: Hi, My personal fav is scite (its cross platform). but vim, geany, gedit... work well too. On Tue, Apr 23, 2013 at 9:11 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: Is anyone using Sublime Text 2: http

Re: [CMake] Sublime Text 2

2013-04-23 Thread Andrew Maclean
/sublime_packages/package_control ) you can easily install and remove other packages. On Tue, Apr 23, 2013 at 4:00 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: I am a vim user, this particular editor can open whole folders of files etc. and presents the same interface across Windows, Linux and OS

[CMake] Sublime Text 2

2013-04-22 Thread Andrew Maclean
Is anyone using Sublime Text 2: http://www.sublimetext.com/2. If so, do you know of, or can recommend a good CMake syntax highlighter? It seems to be a really useful cross-platform text editor that is consistent and easily customisable. Regards Andrew --

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Andrew Maclean
-2bfc039faa80or http://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c Petr On Wed, Nov 28, 2012 at 4:12 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: VS 2012 will not cause a problem I have both VS 2010 and VS2012 (both express

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Andrew Maclean
should work without environment changes, and if they don't... that's a bug. 2 cents, David C. On Wed, Nov 28, 2012 at 7:59 AM, Michael Jackson mike.jack...@bluequartz.net wrote: On Nov 28, 2012, at 7:37 AM, David Doria daviddo...@gmail.com wrote: On Wed, Nov 28, 2012 at 4:22 AM, Andrew

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-27 Thread Andrew Maclean
I have no problems with Visual Studio 2010 or VS 2010 Express. The following link may help: http://www.vtk.org/Wiki/VTK/GitMSBuild There is no need to set the VS 64-bit command prompt and run cmake-gui from inside it. I generally run cmake-gui by just clicking on the icon. Try running cmake-gui

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-27 Thread Andrew Maclean
VS 2012 will not cause a problem I have both VS 2010 and VS2012 (both express) installed but am waiting for QT to be able to built for VS2012 before moving to VS2012 express. Regards Andrew -- Forwarded message -- From: David Doria daviddo...@gmail.com To: David Cole

Re: [CMake] CMake Digest, Vol 99, Issue 61

2012-07-31 Thread Andrew Maclean
Hi Christian, Mike's comment about setting BOOST_ROOT should work. If this doesn't, make sure that your directories look like this: C:\boost C:\boost\include C:\boost\include\boost-1_50 C:\boost\include\boost-1_50\boost C:\boost\lib With the above arrangement of directories, FindBoost.cmake

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-02 Thread Andrew Maclean
Hi Robert, I build boost for windows using bjam and I have no problems with CMake finding boost. In my CMake files I do this: #-- --- # Boost # For automatic linking, uses the static version of the libraries. if(WIN32)

Re: [CMake] Installing cmake-2.8.4-Darwin-universal.dmg

2011-02-21 Thread Andrew Maclean
have noticed that in some cases the PATH is ignored in Macs but /usr/local/bin is not, hence the need for symlinks. Thanks for the help. Andrew On Tue, Feb 22, 2011 at 2:25 AM, Sean McBride s...@rogue-research.comwrote: On Sun, 20 Feb 2011 09:43:10 +1100, Andrew Maclean said: I am attempting

[CMake] Installing cmake-2.8.4-Darwin-universal.dmg

2011-02-19 Thread Andrew Maclean
I am attempting to install this on Snow Leopard. The installation seems to work Ok but fails at the Install Command Line Tools stage, with the message: Failed create symlink installation may be incomplete: /usr/bin/ccmake ... and so forth for all the command line tools. Clearly this is a

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Andrew Maclean
Hi All, Speaking for my site regarding point 2, we would be unwilling to allow general external access to our machines. I would suspect most other sites would feel the same way. From my viewpoint the process as outlined in http://www.cmake.org/Wiki/CMake/Git seems to work well. The workflow as

Re: [CMake] How to obtain date of the day

2010-08-05 Thread Andrew Maclean
Hi All, I wrote a little c++ program that gets the date and time from the system. It just returns a UTC time: /mm/dd hhm:ss UTC. Works in Linux, Windows, MAC-OS but does use iostream and ctime. Then I have this in my CMake file:

Re: [CMake] XCode iPhone-3.2 and CMake fail

2010-07-27 Thread Andrew Maclean
I think you need at the top of the file a line like: PROJECT(MyProject) Regards Andrew On Wed, Jul 28, 2010 at 6:45 AM, j j...@dynamica.org wrote: Hi there, I have a CMakeLists.txt that succesfully describes a project that can be built for XCode MACOSX10.6.sdk and Microsoft Visual

[Cmake-commits] CMake branch, next, updated. v2.8.2-215-g5f5cc85

2010-07-08 Thread Andrew Maclean
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5f5cc853a806faa70a15de3364c9133e964eead4 commit 5f5cc853a806faa70a15de3364c9133e964eead4 Merge: 87b517d 56da481 Author: Andrew Maclean a.macl...@cas.edu.au AuthorDate: Fri Jul 9 15:33:38 2010 +1000 Commit: Andrew Maclean

[Cmake-commits] CMake branch, next, updated. v2.8.2-211-g87cb900

2010-07-07 Thread Andrew Maclean
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=87cb90034cf433b7a3f278a052b19ebafc02be76 commit 87cb90034cf433b7a3f278a052b19ebafc02be76 Merge: 9ff017d 5ecfe16 Author: Andrew Maclean a.macl...@cas.edu.au AuthorDate

Re: [CMake] FindBoost not setting Boost_LIBRARIES

2010-05-11 Thread Andrew Maclean
This works for me: #- # Boost # The automatic linking, uses the static version of the libraries. if(WIN32) set(Boost_USE_STATIC_LIBS ON) endif(WIN32) # Uncomment and edit if CMake cannot find boost.

Re: [CMake] CMake interview for FLOSS Weekly in about 1 hour

2010-03-03 Thread Andrew Maclean
Unfortunate acronym! I hope it wasn't like pulling teeth! Andrew On Thu, Mar 4, 2010 at 7:39 AM, Bill Hoffman bill.hoff...@kitware.com wrote: At 4:30, I am going to be interviewed for FLOSS Weekly. The chat is here: http://irc.twit.tv/ The video is here: http://live.twit.tv/ Should

Re: [CMake] CMake QT and QTLinguist

2009-10-24 Thread Andrew Maclean
This is just what I need. Thank you very much. Regards Andrew On Sat, Oct 24, 2009 at 10:48 AM, Clinton Stimpson clin...@elemtech.com wrote: On Thursday 22 October 2009 03:26:21 pm Andrew Maclean wrote: Has anyone used QTLinguist with CMake and if so how? Regards    Andrew Do you mean

Re: [CMake] CTest/CDash and git

2009-10-23 Thread Andrew Maclean
Thankyou for this. Regards Andrew On Fri, Oct 23, 2009 at 11:21 PM, Brad King brad.k...@kitware.com wrote: Andrew Maclean wrote: I guess the subject says it all. What is the status of using CMake, Ctest and CDash with git? CMake 2.8 comes with a CTest that can drive dashboards using git

[CMake] CTest/CDash and git

2009-10-22 Thread Andrew Maclean
I guess the subject says it all. What is the status of using CMake, Ctest and CDash with git? Regards Andrew -- ___ Andrew J. P. Maclean Centre for Autonomous Systems The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2

[CMake] CMake QT and QTLinguist

2009-10-22 Thread Andrew Maclean
Has anyone used QTLinguist with CMake and if so how? Regards Andrew -- ___ Andrew J. P. Maclean Centre for Autonomous Systems The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL:

Re: [CMake] CMake, Cpack and NSIS woes.

2009-10-12 Thread Andrew Maclean
at 1:09 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: CPack woes continued! I implemented it the way you recommended to avoid hell. You can unzip the attachment and try it out. ... And it almost works. I can install/uninstall into C:\Program Files\MyStuff\CMakeTest 1.1 I can

Re: [CMake] CMake, Cpack and NSIS woes.

2009-10-07 Thread Andrew Maclean
Thankyou very much for this hint. I will try it out. Regards Andrew On Wed, Oct 7, 2009 at 10:56 PM, Bill Hoffman bill.hoff...@kitware.com wrote: Andrew Maclean wrote: The only way that I can get this to work is to do this:  string(REPLACE / NATIVE_CMAKE_INSTALL_PATH

Re: [CMake] CMake, Cpack and NSIS woes.

2009-10-06 Thread Andrew Maclean
. Andrew On Wed, Oct 7, 2009 at 11:17 AM, Bill Hoffman bill.hoff...@kitware.com wrote: Andrew Maclean wrote: I am going to admit the possibility that I am doing something stupid. If so please tell me what I am doing wrong! In a nutshell: Creating a windows package to install

[CMake] CMake NSIS question

2009-08-18 Thread Andrew Maclean
I have a situation where I have an installer for a program. I then have a second installer that will install the configuration files for the program. This is done so we can update these files periodically without updating the program. Has anyone any ideas how to do this in CMake? Basically I am

Re: [CMake] CMake NSIS question

2009-08-18 Thread Andrew Maclean
I am not sure what you mean. On Wed, Aug 19, 2009 at 10:18 AM, Tyler Roscoety...@cryptio.net wrote: On Wed, Aug 19, 2009 at 10:13:09AM +1000, Andrew Maclean wrote: I have a situation where I have an installer for a program. I then have a second installer that will install the configuration

Re: [CMake] CMake NSIS question

2009-08-18 Thread Andrew Maclean
Thanks. I am reading the page now! I would still like to ship a separate installer for the configuration files. On Wed, Aug 19, 2009 at 10:27 AM, Tyler Roscoety...@cryptio.net wrote: On Wed, Aug 19, 2009 at 10:20:37AM +1000, Andrew Maclean wrote: I am not sure what you mean. http

Re: [CMake] visual studio parallel build

2009-07-30 Thread Andrew Maclean
I get this issue building VTK, ParaView and ITK on Windows. It often happens if I haven't build for a week or so. Generally just re-running the build again fixes everything. To me it seems to be a Visual Studio issue not CMake. Andrew On Fri, Jul 31, 2009 at 5:10 AM, Bill

[CMake] Dynamic library problem.

2009-05-27 Thread Andrew Maclean
I am not sure whether this is a CMake setting or not. However we are building an application that links against a library in /usr/local/lib called e.g libPocoFoundation.so (this is a symbolic link to libPocoFoundation.so.6). When we try to run the code on another system it fails because in that

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Andrew Maclean
I don't this this is just restricted to sun. I have noticed similar things in debian linux builds. If you bootstrap more than once, you must delete the build files. Andrew On Fri, Apr 17, 2009 at 1:46 PM, Bill Hoffman bill.hoff...@kitware.com wrote: George Neill wrote: I will try later

Re: [CMake] Why does cmake adds /STACK:10000000 for msvc linker?

2009-04-12 Thread Andrew Maclean
I think the reason was that when Visual Studio 6 was used to build VTK it used to run out of stack space necessitating the large value that needed to be set. I am pretty sure that this was the case because I think I was one of the people who noted this problem in the old days! Andrew On Mon,

Re: [CMake] cmake 2.6.3 RC 8

2009-01-13 Thread Andrew Maclean
Regarding: Fix FindCurses for Haiku ... I can't agree more!!! What curse does Cmake produce for the following input? old pond a frog jumps the sound of water Sorry ... I couldn't resist it! :-) Andrew On Wed, Jan 14, 2009 at 9:15 AM, Bill Hoffman bill.hoff...@kitware.com wrote:

Re: [CMake] CMake, Visual studio 2005 and long relative path

2009-01-11 Thread Andrew Maclean
In the documentation (see the link below) it says: For example, the maximum path on drive D is D:\some 256 character path stringNUL where NUL represents the invisible terminating null character for the current system codepage. (The characters are used here for visual clarity and cannot be part

Re: [CMake] boost on windows

2008-10-28 Thread Andrew Maclean
For some reason in Windows the default inclde library is called Boost-1_36 not Boost_1_36. There have been several requests to fix FindBoost to include this variant (search the buglist). Andrew 2008/10/23 Emre Turkay [EMAIL PROTECTED]: Hi folks, I'm trying to compile boost with cmake and MS

Re: [CMake] How to make a list of files that reside in an external directory.

2008-08-06 Thread Andrew Maclean
Thankyou very much for this. Andrew On Thu, Aug 7, 2008 at 5:13 AM, Brad King [EMAIL PROTECTED] wrote: Andrew Maclean wrote: Putting it succintly, I want to glob all files in some directory not part of the cmake source or binary directories and create a variable containing these files

[CMake] How to make a list of files that reside in an external directory.

2008-08-03 Thread Andrew Maclean
Say I have a project and when I build an installer, it needs a list of dlls that reside in a directory that is not in the source or build tree. What I want to generate is a list of these dlls ready to copy to the bin directory of my build. E.g If I have a directory in C:/Some Dir/Special DLLs

[CMake] Getting the subversion version using CMake.

2008-04-01 Thread Andrew Maclean
We want to coordinate versioning with our subversion repository. Has anyone done this with CMake? There is a file called .svn\entries and the fourth line in that file has a version number e.g. 660. I am thinking of somehow picking up this number and creating a variable to use in our builds. Or is

Re: [CMake] FindwxWidgets maintainer

2007-09-21 Thread Andrew Maclean
[EMAIL PROTECTED] wrote: On 9/21/07, Andrew Maclean [EMAIL PROTECTED] wrote: Is it worthwhile putting in a backwards compatible fix for such an old version of wxWidgets? grunt This has been broken in patch version ! cmake 2.4.5 / 2.4.6 / 2.4.7 are completely different in wx support. At least

Re: [CMake] FindwxWidgets maintainer

2007-09-20 Thread Andrew Maclean
Is it worthwhile putting in a backwards compatible fix for such an old version of wxWidgets? Andrew On 9/21/07, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: Hello, As mentioned in a previous thread, I haven't had time to monitor this list in the past few weeks. Now, I'm trying

Re: [CMake] Call for Module maintainer volunteers

2007-07-25 Thread Andrew Maclean
FindBoost.cmake As one of the authors of it, I am happy to maintain the existing FindBoost.cmake in the modules directory. I use Linux, QNX-Neutrino and XP/Vista. However if Andreas Schneider wants to inroduce his version and maintain it I am happy with this. Although the copyright on it should

Re: [CMake] CMake LIST Command: Wiki changes and LIST patch.

2007-06-25 Thread Andrew Maclean
In my opinion this could be a useful addition. I think you should open a featuure request and incluse the related operations. Andrew On 6/26/07, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED] wrote: Hello everyone, I have made some changes to the wiki page on lists

Re: [CMake] What source control system do you use?

2007-06-08 Thread Andrew Maclean
We just use CVS and Subversion. In fact we are migrating most of our CVS projects stuff to Subversion. Andrew On 6/9/07, Brandon Van Every [EMAIL PROTECTED] wrote: CMake users: what source control systems are you using? The Dart dashboard can provide continuous or nightly build status on

[CMake] CTest oupput comparison.

2007-02-14 Thread Andrew Maclean
If I have a test suite with a reference output say ref.text, is it possible for ctest when it runs the test to compare the output of the test with this reference output? If so how? Thanks Andrew -- ___ Andrew J. P. Maclean Centre for Autonomous

Re: [CMake] Can't use Boost ??

2006-10-19 Thread Andrew Maclean
I agree, it extends the one Brad/I developed already in CMake nicely. One of the issues I have had is the different suffixes on various systems. Andrew On 10/20/06, Brad King [EMAIL PROTECTED] wrote: Andreas Schneider wrote: I have created a much better FindBoost.cmake module. It isn't tested

Re: [CMake] Can't use Boost ??

2006-10-19 Thread Andrew Maclean
Sorry, I also meant to add: When you create a bug report, could you please send it to me and I will test it under QNX, XP and Debian Regards Andrew On 10/20/06, Brad King [EMAIL PROTECTED] wrote: Andreas Schneider wrote: I have created a much better FindBoost.cmake module. It isn't tested on

[CMake] Relinking before installing

2006-10-02 Thread Andrew Maclean
In Linux, is it possible to relink libraries before installation? For instance if Ihave built with shared libraries on and CMAKE_SKIP_RPATH OFFthen I have runtime paths in the shared libraries. When I finally decide to install a version for system-wide use (not development), then I want no runtime

[CMake] Re: getting rid of additional quotes in generated vcproj

2006-08-26 Thread Andrew Maclean
I think this has something to do parsing path names correctly where there are spaces in path names. Some of the really early bugs in CMake may document this, it became apparent around the time VC7/7.1 was introduced. I am sure that the extra quotes were needed for some reason. On the other hand,

[CMake] CTest and subversion.

2006-07-20 Thread Andrew Maclean
We are getting a strange problem and I want to know if anyone else has seen this. I am running ctest on a subtree of the library (not the whole library). My repository is at revision 183. When ctest runs for the first time it reverts the repsoitory back to an old version then log message is:

[CMake] CTest and subversion - found it.

2006-07-20 Thread Andrew Maclean
The problem seems to be that the nightly test reverts the repository version to that of the previous day. The continuous test uses the most recent version. Is this the expected behaviour? I would have expected that if I run the nightly, it would use the most recent version. Andrew --

[CMake] FindBoost

2006-07-13 Thread Andrew Maclean
Hi Jan, I have had another go at a general FindBoost.cmake. It is presently in the bug tracker as: http://public.kitware.com/Bug/bug.php?op=showbugid=3447 Look at BoostConfig.Update2 and read the documentation and comments in the bug tracker. If you can improve on it, please do. The intent is to

[CMake] CMake and Subversion.

2006-07-07 Thread Andrew Maclean
We have a Windows XP client and we need to run nightly tests on it. The repository is a subversion one on a linux box. We use ssh+ssl to checkout the repository to the client. Now we can check it out OK and run a nightly test which is submitted OK. However the checked out repository is never

[CMake] Making a library with no *.cpp files.

2006-06-25 Thread Andrew Maclean
If I use Cmake to make a library where the source files are exclusively header files (*.h) then I get a message saying it cannot determine the language to use - which is correct. The way I get around this is to have a dummy cpp file. This then tells CMake what language to use because it sees the

RE: [CMake] Making a library with no *.cpp files.

2006-06-25 Thread Andrew Maclean
Many thanks it works beautifully. -Original Message- From: Jan Woetzel [mailto:[EMAIL PROTECTED]] Sent: Monday, 26 June 2006 15:18 To: [EMAIL PROTECTED] Cc: cmake@cmake.org Subject: Re: [CMake] Making a library with no *.cpp files. Andrew Maclean wrote: Is there another way to tell

[CMake] Finding Boost for Windows and Linux.

2006-06-19 Thread Andrew Maclean
Bill, If you think it is generally OK and useful to people, tell me what improvements are needed before it would beeligible for inclusion in the modules directory of CMake. I have had a go at writing a FindBoost.cmake file (attached). It tries to find where the boost includes are using educated

Re: [CMake] CMake: C-code and Visual Studio 2005 problem.

2006-05-04 Thread Andrew Maclean
testing. People are beginning to use it from the first stages of development. Also people are using the KDevelop option in Linux and discovering that IDE's streamline the compilation/link process. Regards Andrew On 5/5/06, William A. Hoffman [EMAIL PROTECTED] wrote: At 11:32 PM 5/3/2006, Andrew