Anyone know of a generator for Workbench projects? ___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.
> Would try to open the cmake_install.cmake file corresponding to the
offending
> install(file ...) You should find something like:
>
> FILE(INSTALL DESTINATION
> FILE_PERMISSIONS )
This is not quite what I have. Instead, I have something like:
FILE(INSTALL DESTINATION TYPE FILE PERMI
2011/4/28 Alan Garny :
>> From: Eric Noulard [mailto:eric.noul...@gmail.com]
>> 2011/4/28 Alan Garny :
>> > Hi, I am using CMake/CPack (version 2.8.4) for my project and
>> > everything works fine except for a couple of files that I am trying to
>> > package on Windows. I would like those files to
2011/4/28 Alan Garny :
> Hi, I am using CMake/CPack (version 2.8.4) for my project and everything
> works fine except for a couple of files that I am trying to package on
> Windows. I would like those files to be read-only. I currently have
> something like:
>
> INSTALL(FILES ${CMAKE_SOURCE_DIR}/my
I would strongly encourage you to allow the download to occur at build time
using ExternalProject_Add. There's no need to make the configure step of
CMake wait for a download.
There is no way to execute the custom command steps of an ExternalProject at
cmake configure time...
If you really want t
Hi, I am using CMake/CPack (version 2.8.4) for my project and everything
works fine except for a couple of files that I am trying to package on
Windows. I would like those files to be read-only. I currently have
something like:
INSTALL(FILES ${CMAKE_SOURCE_DIR}/myFile DESTINATION myDestination
Dear list,
as I'm encountering a case where I'd like to trigger the download of a
file (3rd party) structure from a git repository I've been looking into
ExternalProject_add and its benefits. However the key element would be
to perform the download step immediately, i.e. at cmake first run time
Tim,
I guess the difference is "project" command defines
CMAKE_CXX_FLAGS_DEBUG and does not define CMAKE_Fortran_FLAGS_DEBUG.
Regarding CMAKE_*_FLAGS_*_INIT, you are right, but what if user explicitly set
the same value as INIT?
It would be overwritten!
Anyway, I am happy with the solution t
Tim,
thank you.
Compiler and environment specific things become defined during "project"
command execution.
It is too late to check if it is set afterwards because it actually IS SET.
I assume you are lucky and default value for CMAKE_Fortran_FLAGS_RELEASE is
empty, isn't it?
So the tricky poi
To put it in context, our cmake file looks like:
if(${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
if(NOT CMAKE_Fortran_FLAGS_RELEASE)
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -xhost" CACHE STRING "" FORCE)
endif()
set(CMAKE_Fortran_FLAGS_DEBUG
"${CMAKE_Fortran_FLAGS_DEBUG} -chec
Hi Michael,
I notice you know a lot about CMake and OSX, thanks once again! I'll give it a
try asap.
Cheers,
Yngve
On Thursday 28 April 2011 06:04:18 PM Michael Jackson wrote:
> You probably want to set the "CMAKE_OSX_DEPLOYMENT_TARGET" to 10.5 and
> recompile.
> __
You probably want to set the "CMAKE_OSX_DEPLOYMENT_TARGET" to 10.5 and
recompile.
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton
Dear all,
I have compiled my code in OSX Snow Leopard, and then a colleague using OSX
Leopard wanted to use the bundle. However, he had some strange error saying
something like:
dyld error: unknown required load command
(sorry I don't have the exact error print at hand)
I tried to google it a
I think you're looking exactly for this:
http://www.vtk.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F
It's very good use-case, but I wonder why it's called MSVC-specific.
On Thu, Apr 28, 2011 at 7:23 PM, Tim Gallagher wrote:
> We do this:
>
> if(NOT CMAKE_Fortran
We do this:
if(NOT CMAKE_Fortran_FLAGS_RELEASE)
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -xhost" CACHE STRING "" FORCE)
endif()
In other words, if the flags haven't been set yet (initial start up), set them
to what we want. If they have been set (either changed by the user, or
specified on the c
Hello!
There are some CMAKE variables with default values. For example
CMAKE_CXX_FLAGS_DEBUG default value is '-g'.
How is it possible to make it '-g -Wall'?
What I don't want to have: User choice overwritten.
What I want to have: Modified a variable cmake-time default. It must be
possible to
On 04/28/2011 01:51 PM, John R. Cary wrote:
> This is in reference to
>
> iter.cary$ cmake --version
> cmake version 2.8.3
> iter.cary$ uname -a
> Linux iter.txcorp.com 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27
> 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
>
>
> We have a situation where
This is in reference to
iter.cary$ cmake --version
cmake version 2.8.3
iter.cary$ uname -a
Linux iter.txcorp.com 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27
17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
We have a situation where a package needs to be
rebuilt because some dependency is rebui
Hi all,
Second try to make a package maker package on MacOS using CPack.
Now I am trying to understand why I get a "Bill Of Material" error:
http://www.cmake.org/pipermail/cmake/2011-April/044081.html
Looking at the difference between my pkg and the CMake one
I see they seems to have the same s
19 matches
Mail list logo