Re: [CMake] Problem in configuring VTK with Visual Studio 2010, Windows 7 64bit.

2013-02-21 Thread Amit Suveer
Hello Bill, I am attaching all the files present at " C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/" location. I have changed name of "SquishRunTestCase.bat" to "SquishRunTestCase._bat". I doubt about installation of CMake. During installation it asked me about add to path check box. I

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
The "-include global/Include.h" works great, until it crosses paths with ExternalProject. It will probably work just as well in CMAKE_CXX_FLAGS. I've got two potential workarounds in mind 1. Move the -include to CMAKE_CXX_FLAGS 2. Specify an explicit CONFIGURE_COMMAND and BUILD_COMMAND, so the pa

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Bill Hoffman
On 2/21/2013 8:15 PM, Todd Greer wrote: add_definitions(-include global/Include.h) We call CMake with these two lines in a shell script: cmake -G Xcode .. cmake --build . --config Release It turns out that call to add_definitions is key. It worked perfectly until we added in the ExternalProject

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
Here's a minimal CMakeLists.txt: cmake_minimum_required(VERSION 2.8) project(cmake_ep_test) include(ExternalProject) ExternalProject_Add( gtest SOURCE_DIR ${CMAKE_SOURCE_DIR}/../googletest INSTALL_COMMAND "" LOG_DOWNL

Re: [CMake] How about a CMake debugger?

2013-02-21 Thread Jean-Christophe Fillion-Robin
Hi Kent, Matt started to work on a debugger last year, any contribution would be welcome. See https://github.com/thewtex/cmakedbg Hth Jc On Thu, Feb 21, 2013 at 3:32 PM, Kent Williams wrote: > As I'm now deep in tracing through 80K lines of cmake --trace output, man > I'd love some sort of CMa

[CMake] How about a CMake debugger?

2013-02-21 Thread Kent Williams
As I'm now deep in tracing through 80K lines of cmake --trace output, man I'd love some sort of CMake debugger! Actually if you use Emacs you can kinda sorta do tracing -- run CMake with the --trace parameter in the compile bufffer (i.e. alt-x compile command) and then the Emacs next-error steps a

Re: [CMake] CMAKE_SYSTEM_PROCESSOR says x86 on Win64

2013-02-21 Thread John Drescher
On Thu, Feb 21, 2013 at 2:46 PM, Martin Koller wrote: > Hi all, > > I found an old cmake bug entry (see below) for the problem I have: > > I downloaded and installed the 32bit cmake exe on a 64bit windows > and wanted to build our project as 64bit executable. However in our > cmake files (which ar

[CMake] CMAKE_SYSTEM_PROCESSOR says x86 on Win64

2013-02-21 Thread Martin Koller
Hi all, I found an old cmake bug entry (see below) for the problem I have: I downloaded and installed the 32bit cmake exe on a 64bit windows and wanted to build our project as 64bit executable. However in our cmake files (which are used for Linux, Solaris, windows) we often check for the current

Re: [CMake] CMake'ified Boost

2013-02-21 Thread Bill Hoffman
On 2/21/2013 12:59 PM, Jean-Christophe Fillion-Robin wrote: Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost > 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc There i

[CMake] CMake'ified Boost

2013-02-21 Thread Jean-Christophe Fillion-Robin
Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost > 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc On Thu, Feb 21, 2013 at 12:39 PM, Bill Hoffman wrote: > On 2/21/201

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Bill Hoffman
On 2/21/2013 12:02 PM, Todd Greer wrote: I’m having difficulty getting ExternalProject_Add to work with XCode. It appears to be a CMake bug, and I’ll file it if no one corrects me. I’ve been unable to find any other reports of this issue. Should work Can you give a small example that shows

Re: [CMake] SuperProject vs SubProject generators

2013-02-21 Thread Bill Hoffman
On 2/21/2013 10:34 AM, James Turner wrote: I've just setup a SuperBuild using ExternalProject, and am pleasantly surprised how well it works so far. I've encountered one issue, which is awkward - I'm basically using the SuperBuild to automate assembling / updating dependencies for the final sub-

Re: [CMake] Problem in configuring VTK with Visual Studio 2010, Windows 7 64bit.

2013-02-21 Thread Bill Hoffman
On 2/20/2013 2:07 PM, amitsuveer wrote: The C compiler identification is unknown The CXX compiler identification is unknown Performing Test Support for 64 bit file systems It should not be unknown... Can you send the files in CMakeFiles? -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton

[CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
I'm having difficulty getting ExternalProject_Add to work with XCode. It appears to be a CMake bug, and I'll file it if no one corrects me. I've been unable to find any other reports of this issue. Specifically, I'm getting the following error: CMake Error at /Applications/CMake 2.8-10.app/Con

Re: [CMake] detecting if c++11 available

2013-02-21 Thread Todd Greer
You might consider using code from Boost's config subsystem. There's a list of dozens of macros they define to set what features are available in what compilers here: http://www.boost.org/doc/libs/1_53_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_refere

[CMake] SuperProject vs SubProject generators

2013-02-21 Thread James Turner
Hi, I've just setup a SuperBuild using ExternalProject, and am pleasantly surprised how well it works so far. I've encountered one issue, which is awkward - I'm basically using the SuperBuild to automate assembling / updating dependencies for the final sub-project, which is the real project I

Re: [CMake] Remove _MBCS

2013-02-21 Thread David Cole
Don't be too hard on yourself... We all make typos now and again. :-) You're smart enough to ask for help when you need it. Even if it does turn out to be something like this in the end. Cheers, David C. -Original Message- From: YanmingZou To: Patrick Johnmeyer Cc: cmake S

Re: [CMake] Remove _MBCS

2013-02-21 Thread YanmingZou
Hi All, Thank you very much. I found the reason. It is a spelling error. (UINCODE, not UNICODE) How stupid I am. Thanks again. Best regardsYanming Date: Wed, 20 Feb 2013 07:35:57 -0600 From: pjohnmeyer+cm...@gmail.com To: ym...@hotmail.com CC: cmake@cmake.org Subject: Re: [CMake] Remove _MBCS

Re: [CMake] Problem in configuring VTK with Visual Studio 2010, Windows 7 64bit.

2013-02-21 Thread Amit Suveer
Yes, I selected Visual Studio 10 x64, this is what i am using. On Thu, Feb 21, 2013 at 12:41 AM, John Drescher-2 [via CMake] < ml-node+s3232098n7583302...@n2.nabble.com> wrote: > On Wed, Feb 20, 2013 at 2:07 PM, amitsuveer <[hidden > email]>