When copying executables/libraries under Windows CMake does some kind of
path stripping. I presume this is to clean up any absolute path references.
How can I get this to happen on DLLs which Cmake wasn't responsible for
building? That is, I need to copy a DLL built by another build process
(not u
I would like to use the ExternalProject_Add command to add a
pre-existing MSVC build system into a CMake generated MSVC project,
but I can't seem to find any examples of this and I haven't the least
idea what commands to supply for CONFIGURE/BUILD/etc. in order to
bring in the MSVC files. Can anyo
Here's what I ended up with:
function(AssureOutOfSourceBuilds)
# make sure the user doesn't play dirty with symlinks
get_filename_component(srcdir "${CMAKE_SOURCE_DIR}" REALPATH)
get_filename_component(bindir "${CMAKE_BINARY_DIR}" REALPATH)
# disallow in-source builds
if(${src
Thanks for pointing that out.. not that it effects the example in the
slightest... they could have been "Bozo" and "Crusty" and still prove it
works. =D
Aaron C. Meadows
-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: Friday, October 08, 2010 11:52 AM
To: Mea
On Fri, Oct 8, 2010 at 12:50 PM, wrote:
> Seems to work correctly from my tests:
>
>
>
> CMakeLists.txt:
>
> cmake_minimum_required (VERSION 2.8)
>
>
>
> project(test CXX)
>
> message( STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}")
>
> message( STATUS "CMAKE_CL_64: ${CMAKE_CL_64}")
>
>
>
>
>
>
>
>
Seems to work correctly from my tests:
CMakeLists.txt:
cmake_minimum_required (VERSION 2.8)
project(test CXX)
message( STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}")
message( STATUS "CMAKE_CL_64: ${CMAKE_CL_64}")
c:\dev2\Builds\test\x64>cmake -G "Visual Studio 8 2005" ../.
-- C
On 10/8/2010 11:57 AM, kent williams wrote:
I think what I'm doing isn't clear to you.
I have a CMakeLists.txt that is essentially 'sourceless' -- it defines
a bunch of CMake variables, and then builds a bunch of prerequisites
and applications added with ExternalProject_add. It doesn't have any
Am Friday 08 October 2010 schrieb aaron.mead...@thomsonreuters.com:
> Is this not sufficient: (from "Variables That Describe the System")
>
> CMAKE_CL_64: Using the 64 bit compiler from Microsoft
>
> Set to true when using the 64 bit cl compiler from Microsoft.
>
> This is what I'm intending on
Is this not sufficient: (from "Variables That Describe the System")
CMAKE_CL_64: Using the 64 bit compiler from Microsoft
Set to true when using the 64 bit cl compiler from Microsoft.
This is what I'm intending on using, so if this won't work, I'll need to
know...
Aaron C. Meadows
Yes, you are right.
My mistake.
Thanks!
Mat
On 08/10/10 16:51, David Cole wrote:
Either you've got that reversed, or 4 should be 8... right?
lib64 should be for an 8-byte void* ...
On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot mailto:mate...@loskot.net>> wrote:
On 08/10/10 16:42, Mic
I think what I'm doing isn't clear to you.
I have a CMakeLists.txt that is essentially 'sourceless' -- it defines
a bunch of CMake variables, and then builds a bunch of prerequisites
and applications added with ExternalProject_add. It doesn't have any
add_subdirectory,add_executable, add_library e
Either you've got that reversed, or 4 should be 8... right?
lib64 should be for an 8-byte void* ...
On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot wrote:
> On 08/10/10 16:42, Michael Jackson wrote:
>
>> maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake?
>>
>
> In SOCI library,
On 10/8/2010 3:32 AM, NoRulez wrote:
Hello,
does CPack have msi support also, or if no, is it planned?
Nothing planned, but if someone wanted to contribute something that
would be welcomed.
-Bill
___
Powered by www.kitware.com
Visit other Kitwar
On 08/10/10 16:42, Michael Jackson wrote:
maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake?
In SOCI library, I use something like this:
if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
set(SOCI_LIBDIR "lib64")
else()
set(SOCI_LIBDIR "lib")
endif()
Best regards,
--
Mateusz Loskot,
maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake?
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Oct
Hello, I'm trying to work on creating a precompiled binary package for a
project I'm working on, and I was wondering if there was any way to
configure CMake to select a folder based on whether or not the 64bit version
of Visual studio was selected for the library path. The library path would
be som
On 10/08/2010 12:50 PM, Michael Wild wrote:
>
> On 8. Oct, 2010, at 12:13 , Rolf Eike Beer wrote:
>
>>>
>>> On 8. Oct, 2010, at 10:50 , Rolf Eike Beer wrote:
>>>
Hi,
I have a problem with ExternalProject and how to depend on that. I'm not
absolutely sure I got the CMakeLists.t
On Thursday 07 October 2010 21:32:51 Bill Hoffman wrote:
> The other issue is VS builds. At one point, I had some magic, cmake
> language to custom command converter thing going for this, but I am
> thinking it might be broken. If we did a pure custom-command version,
> it would work in the IDE'
On 8. Oct, 2010, at 12:13 , Rolf Eike Beer wrote:
>>
>> On 8. Oct, 2010, at 10:50 , Rolf Eike Beer wrote:
>>
>>> Hi,
>>>
>>> I have a problem with ExternalProject and how to depend on that. I'm not
>>> absolutely sure I got the CMakeLists.txt right, so I first ask here
>>> before
>>> filing a
>
> On 8. Oct, 2010, at 10:50 , Rolf Eike Beer wrote:
>
>> Hi,
>>
>> I have a problem with ExternalProject and how to depend on that. I'm not
>> absolutely sure I got the CMakeLists.txt right, so I first ask here
>> before
>> filing a bug report.
>>
>> The idea is like this: we have an project that
On 8. Oct, 2010, at 10:50 , Rolf Eike Beer wrote:
> Hi,
>
> I have a problem with ExternalProject and how to depend on that. I'm not
> absolutely sure I got the CMakeLists.txt right, so I first ask here before
> filing a bug report.
>
> The idea is like this: we have an project that generates a
> There is one problem with that, which is what I'm trying to address:
> load balancing. If your project builds ITK, VTK, and sundry other
> prerequisite libraries, it will spawn 4 sequential builds. In
> practice this means everything except ITK (which we build with
> wrapping on) finishes, and
Hi,
I have a problem with ExternalProject and how to depend on that. I'm not
absolutely sure I got the CMakeLists.txt right, so I first ask here before
filing a bug report.
The idea is like this: we have an project that generates a couple of
files. In a special configuration of another project we
Hello,
does CPack have msi support also, or if no, is it planned?
Thanks in advance
Best Regards
NoRulez
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
Would be nice to have this as a module: http://cmake.org/Bug/view.php?id=11302
On 8. Oct, 2010, at 24:41 , David Cole wrote:
> Thanks!
>
> On Thu, Oct 7, 2010 at 6:08 PM, Mark Moll wrote:
>
>> On OS X, this command might be easier / faster:
>>
>> sysctl -n hw.ncpu
>>
>> On Oct 7, 2010, at
25 matches
Mail list logo