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 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 > studio. So far so

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

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

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

2011-02-21 Thread Andrew Maclean
TH, I 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 wrote: > On Sun, 20 Feb 2011 09:43:10 +1100, Andrew Maclean said: > > >I am attempting t

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

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] 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:\" where "" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)" Rea

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 wrote: > I have a release candi

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] 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 wrote: > George Neill wrote: > >> >> I will try later tonight. >> >> When I r

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

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 Hoffman wrote: > j s wr

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

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

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 Roscoe wrote: > On Wed, Aug 19, 2009 at 10:20:37AM +1000, Andrew Maclean wrote: >> I am not sure what you mean. > > http://w

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

2009-10-06 Thread Andrew Maclean
ry directory. This seems to have no effect on packaging with NSIS. Andrew On Wed, Oct 7, 2009 at 11:17 AM, Bill Hoffman 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 doi

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 wrote: > Andrew Maclean wrote: >> >> The only way that I can get this to work is to do this: >> >>  string(REPLACE "/" ""

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

2009-10-12 Thread Andrew Maclean
hope!) to get your > desired settings. > > > Hope this helps, > David > > > On Mon, Oct 12, 2009 at 1:09 AM, Andrew Maclean > wrote: >> >> CPack woes continued! >> >> I implemented it the way you recommended to avoid hell. >> You can unz

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

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

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

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 wrote: > On Thursday 22 October 2009 03:26:21 pm Andrew Maclean wrote: >> Has anyone used QTLinguist with CMake and if so how? >> >> Regards >>    Andre

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 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 be going on som

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. set(Boos

[CMake] Re: Parse error in cache file.

2007-08-18 Thread Andrew Maclean
Further investigation reveals that it is specifically related to Python and QT. If these options are switched off then everything is OK in the case of building VTK. On 8/17/07, Andrew Maclean <[EMAIL PROTECTED]> wrote: > > Has anyone tried building VTK or Paraview with the late

Re: [CMake] Visual Studio reload projects

2007-08-28 Thread Andrew Maclean
>From memory, I am pretty sure that this is a Visual Studio issue. I agree that it is a pain but I think the solution outlined below is the only one. On 8/29/07, KSpam <[EMAIL PROTECTED]> wrote: > > One major annoyance that users have with CMake integration in VisualStudio > is > having to click

Re: [CMake] Turning on warnings when compiling.

2007-08-28 Thread Andrew Maclean
I do something like this (I think it was taken from the VTK CmakeLists.txtfile): #- # Let's use the highest warning level. #- IF(CMAKE_BUILD_TOOL

Re: [CMake] CMAKE_CFG_INTDIR expands to "$"(OutDir)

2007-09-17 Thread Andrew Maclean
I think setting LIBRARY_OUTPUT_PATH instead only works on the libraries you build. I also need to copy configuration files etc. so ... how about something like this: (Note the the explicit specification of "Debug and release in the WIN32 section.) #-- Start of code ---

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 t

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? > > > This has been broken in patch version ! cmake 2.4.5 / 2.4.6 / 2.4.7 &

[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

[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" wi

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 variabl

[CMake] Building CMake using CMake 3.6.3 fails.

2016-11-03 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] 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 wrote: > Windows 10 64-bit using ninja, Qt 5.7 MSVC 2105. > Building CMake with CMake 3.6.2 was OK. >

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

[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] Changing /W3 to /W4 does not update CMakeCache.txt

2017-02-02 Thread Andrew Maclean
his 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 > wrote: > >> Consider the attached CMakeLists.txt script. >> >> When run, CMAKE_CXX_FLAGS is updated correctly, ho

[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 *qalgorith

Re: [CMake] ​Visual Studio 2017

2017-09-19 Thread Andrew Maclean
I actually use a .cmd file to specify everything I need. So the whole environment is set. See the attached file for an example of setting the correct environment for building VTK for example in Windows. Note the call to vcvarsall.bat. Change the attachment name to KitwareDebug.cmd Regards Andr

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

2006-05-03 Thread Andrew Maclean
I am having difficulty linking pure c-code using CMake and Visual Studio 2005. I have set the following: PROJECT ( gpsbabel C ) So in theory the compiler should be set for C code only. However this does not seem to be the case, because in the [properties] [C/C++] [advanced] page /TP is set indica

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

2006-05-03 Thread Andrew Maclean
[mailto:[EMAIL PROTECTED] Sent: Thursday, 4 May 2006 13:11 To: [EMAIL PROTECTED]; cmake@cmake.org Subject: Re: [CMake] CMake: C-code and Visual Studio 2005 problem. At 10:29 PM 5/3/2006, Andrew Maclean wrote: >I am having difficulty linking pure c-code using CMake and Visual Studio >2005. >

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

2006-05-04 Thread Andrew Maclean
rote: At 11:32 PM 5/3/2006, Andrew Maclean wrote:>1) The extension of the source files is .c>2) Test COnly works Ok. It compiles and links Ok. OK, I fixed the problem.  Although it was not quite as bad as it seemed.In the conly project, the target conly said use /TP, however, the individualfil

Re: [CMake] Bug 2331: partial match on source groups

2006-05-24 Thread Andrew Maclean
  I think it is fixed in the latest version of CMake in the CVS. Certainly for Visual Studio 2005 everything seems Ok in this respect.     Regards   Andrew  -- Forwarded message --From: [EMAIL PROTECTED] To: Date: Wed, 24 May 2006 08:55:28 +0100Subject: [CMake] Bu

[CMake] Finding Boost for Windows and Linux.

2006-06-18 Thread Andrew Maclean
Bill, If you think it is generally OK and useful to people, tell me what improvements are needed before it would be eligible 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

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

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

[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=show&bugid=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 g

[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] Re: cmake-indent.vim

2006-07-27 Thread Andrew Maclean
If you are using Windows, the latest version of Vim (7.0) recognises CMake files automatically.   Andrew -- ___Andrew J. P. MacleanCentre for Autonomous SystemsThe Rose Street Building J04The University of Sydney  2006  NSWAUSTRALIA Ph: +61 2 9351 3283Fax: +6

[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] Relinking before installing

2006-10-02 Thread Andrew Maclean
In Linux, is it possible to relink libraries before installation? For instance if I have built with shared libraries on and CMAKE_SKIP_RPATH OFF then 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 runtim

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 tes

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

Re: [CMake] Visual Studio project paths

2007-01-16 Thread Andrew Maclean
I hope not. You need this in Visual Studio to set the build. It also keeps the builds separate. Andrew On 1/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Is there any way to stop cmake from appending Debug/Release/MinSizeRel/etc to my output paths when making a Visual Studio project?

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

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 t

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 (http://www.cmake.org/W

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

[CMake] CloseHandleError problems in XP/Vista

2007-08-16 Thread Andrew Maclean
Has anyone tried building VTK or Paraview with the latest CMake CVS version in XP or Vista? I am using the lastst cvs version of CMake and when I try to build VTK or ParaView3 I get lots of: CMakeError: Parse error in cache file ,. Offending Entry: CloseHandleError I am pretty sure that this is a

[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_ properties." $QTDIR/lib/cmake/Qt5Core/Qt5CoreMacros.cmake $QTDIR/../Src/qtbase/src/corelib/Qt5CoreMacros.cmake T

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

2014-06-11 Thread Andrew Maclean
unning "Tools->Install For Command Line Use". > > On Tue, Jun 10, 2014 at 8:50 PM, Andrew Maclean > 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 create

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

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

2014-07-07 Thread Andrew Maclean
at 1:14 AM, Brad King 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 cma

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 wrote: > HI Brad, > > 1) I only hav

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

2014-07-09 Thread Andrew Maclean
t; > > > > On Fri, Jul 4, 2014 at 9:50 AM, Andrew Maclean 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

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

2014-07-09 Thread Andrew Maclean
n't reproduce the crash so far. > I might have more available memory than you though. > > > > [image: Inline image 1] > > > On Wed, Jul 9, 2014 at 11:21 AM, Andrew Maclean > wrote: > >> I have no problems with any other CMake build just with the vtk wiki

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

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 Wi

[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

[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): COP

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 wrote: > Andrew Maclean wrote: > > When I build CMake (master version: 3.1.20141123-g2a0c) with VS2013 > > Community Edition (win64) and Qt 5,3

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

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

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 wrote

[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: https://git

[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

Re: [CMake] Patch for Sphinx warning message

2015-07-15 Thread Andrew Maclean
> http://cmake.org/gitweb?p=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

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

Re: [CMake] CMake 3.4.2 available for download

2016-01-20 Thread Andrew Maclean
Andrew On Thu, Jan 21, 2016 at 12:26 AM, Brad King 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 is because CMake detecte

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 wrote: > On 01/20/2016 04:36 PM, Andrew Maclean wrote: > > "CMake Error at CMakeLists.txt:1 (projec

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

2012-07-30 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 s

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 dir

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 > To: David Cole > Cc: cmake Mailing List

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

2012-11-28 Thread Andrew Maclean
a-bb16-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 > wrote: > >> VS 2012 will not cause a problem I have both VS 2010

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

2012-11-28 Thread Andrew Maclean
: minimize environment > changes from all installers... Things 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

[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] Sublime Text 2

2013-04-23 Thread Andrew Maclean
Andrew On 23/04/2013 5:26 PM, "Campbell Barton" 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 > wrote: > > Is anyone using Sublime Text 2: http://www.sub

Re: [CMake] Sublime Text 2

2013-04-23 Thread Andrew Maclean
e_control ) you can easily > install and remove other packages. > > On Tue, Apr 23, 2013 at 4:00 AM, Andrew Maclean > 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 O

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

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 >

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

Re: [CMake] Boost 1.70.0 -- FindBoost issues? No linker libraries found (Mateusz Loskot)

2019-04-16 Thread Andrew Maclean
> On Tue, 16 Apr 2019 at 01:01, Andrew Maclean > wrote: > > > > In build.ninja all the requested linker libraries are there e.g. > /usr/local/lib/libboost_date_time.so> > > Boost 1.70 > > When using Boost 1.70 all I get in the CMakeLists.txt file are entries &g

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