Hi all,
I couldn't find much information either on Google or the Wiki or elswhere,
so I post my questions here.
We are using Cmake under Linux and have experienced some difficulties with
CMake due to the multi-user-environment in Linux. In one run, CMake
generates files with different file-permis
On 11. Jan, 2010, at 22:26 , Moreland, Kenneth wrote:
> I have a simple Fortran program that uses MPI that I am trying to configure
> with CMake. The problem is that although the FindMPI module finds the C
> libraries for MPI, it does not find the Fortran libraries. To get around
> this I co
>> There are lots of questions on this CMake variable and the consensus
is DO
>> NOT USE IT. PERIOD. The implementation is basically broken for all
but the
>> most trivial case.
>
>I can tell you one thing. If the original idea of this was an attempt
>to create a CMake free build that will not work
I found the source of the error:
ExternalProject.cmake (line 583)
add_custom_command(
OUTPUT ${stamp_dir}${cfgdir}/${name}-${step}
COMMENT ${comment}
COMMAND ${command}
COMMAND ${touch}
DEPENDS ${depends}
WORKING_DIRECTORY ${work_dir}
VERBATIM
)
nix VERBATIM, a
On Monday 11 January 2010, Arne Pagel wrote:
> > Are you sure you really need that ?
> > If you enter "make help" in the directory of your target, you will see
> > that there are also rules for building the object files foo.o and also
> > for just generating the assembler files (foo.s).
> > I.
> > I understand what you mean and it is similar to what the macro suggested
> > by Alex does.
> > However, I do not want a developer to have a need to change setting in
> > the cmake GUI for what I need.
> >
> > What I want is that:
> > 1. the user should be able to see a list of components & sub
Hi Luca,
thank you for the idea, I will try it.
It looks if this could help me, even if I don't understand every command in
detail.
I think I wouldn't have brought this out with reading the docs.
best regards
Arne
Luca Cappa schrieb:
Hi Arne,
I think this cmake script shows what you need to
On Thursday 07 January 2010, Claus Klein wrote:
> Hi
>
> i want to install a cross compiled (build host is a MAC OS X) project
> to a temporary state dir to get an archive to distribute the binaries.
> The target is win32 (mingw), compiled to be installed at c:/usr as
> CMAKE_INSTALL_PREFIX.
> This
> Are you sure you really need that ?
> If you enter "make help" in the directory of your target, you will see that
> there are also rules for building the object files foo.o and also for just
> generating the assembler files (foo.s).
> I.e. you can manually enter "make ...path/foo.s" and this wil
I have a simple Fortran program that uses MPI that I am trying to configure
with CMake. The problem is that although the FindMPI module finds the C
libraries for MPI, it does not find the Fortran libraries. To get around this
I copied the FindMPI.cmake from the CMake distribution and did some
I have a project with install commands like so:
INSTALL(TARGETS foo
RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION bin COMPONENT Runtime
ARCHIVE DESTINATION bin COMPONENT Development)
INSTALL(FILES ${foo_HDRS}
DESTINATION include COMPONENT Development
On Saturday 09 January 2010, Arne Pagel wrote:
> Hello,
>
> I try to use cmake for crosscompiling an embedded project with arm-elf-gcc.
> For a simple project, a CMakeLists.txt like this works fine for me:
>
> cmake_minimum_required(VERSION 2.6)
>
> SET(CMAKE_SYSTEM_NAME Generic)
> SET(CMAKE_C_COMP
2010/1/11 Chauhan, Vikas :
>
> I understand what you mean and it is similar to what the macro suggested
> by Alex does.
> However, I do not want a developer to have a need to change setting in
> the cmake GUI for what I need.
>
> What I want is that:
> 1. the user should be able to see a list of co
On Mon, Jan 11, 2010 at 3:51 PM, Chauhan, Vikas
wrote:
>> > Actually, when I used the macro I found that though this macro gives
>> > a
>> > useful functionality it is not exactly what I wanted.
>> >
>> > What I want to do can be illustrated the following example:
>> > I have a main project/dir -
On Monday 11 January 2010, Mihai Groza wrote:
> Hi all,
>
> I'm using CMake to port a subproject from autotools. The project is
> cross-compiled. Other parts of the project are still using autotools, this
> is just to see the project can be migrated.
...
> Obviously, this path doesn't exist on the
On Monday 11 January 2010, Pavel Shevaev wrote:
> On Sat, Dec 26, 2009 at 2:20 PM, Pavel Shevaev
wrote:
> > Guys, what is the best way to to make the dependency scanner ignore some
> > paths?
how long does it take if you don't set include_regular_expression() ?
> Sorry folks, I'm replying to my
> > Actually, when I used the macro I found that though this macro gives
> > a
> > useful functionality it is not exactly what I wanted.
> >
> > What I want to do can be illustrated the following example:
> > I have a main project/dir - projectSystem
> > I have three component/dir - projectcomponen
Hi all,
I'm using CMake to port a subproject from autotools. The project is
cross-compiled. Other parts of the project are still using autotools, this is
just to see the project can be migrated.
In my subproject, one executable needs an external shared library, added this
way:
add_library(cee
Is there a global way to disable all CMake quoting of commands?
It appears that CMake is parsing some commands and inserting quotes in
places and it is causing me much grief.
--
Cheers,
Timothy St. Clair
___
Powered by www.kitware.com
Visit other Kitw
Hi Eric,
Our IT staff just notified us that we are experiencing external DNS issues
and that they hope to have them resolved soon.
On Mon, Jan 11, 2010 at 10:36 AM, Eric Noulard wrote:
> I'm currently unable to reach CMake web site?
>
> I'm in Europe (France) with no noticable connectivity loss
I'm currently unable to reach CMake web site?
I'm in Europe (France) with no noticable connectivity loss on other side?
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
Powered by www.kitware.com
Visit
On Sat, Dec 26, 2009 at 2:20 PM, Pavel Shevaev wrote:
> Guys, what is the best way to to make the dependency scanner ignore some
> paths?
Sorry folks, I'm replying to myself So, no advice here?
Let me rephrase the original question a bit then: what are the best
practices to speed up the CMa
Hi Eric,
Your solution is one possibility to tackle my problem.
What I am trying to accomplish is to record version information into
some (but not all) of the libraries/executables in my project.
So, this version file -- let's call it version.cc -- may, or may not be
part of the list of sources t
2010/1/11 Marcel Loose :
> Too bad. I was hoping I could do this without having to use a list
> variable to collect all my sources. In my case, the use of conditionals
> is somewhat awkward.
Personnally I sometime use several variable like:
add_library(blah
${BLAH_SOURCE}
Hi Arne,
I think this cmake script shows what you need to do to add a compiler flag
for each source file.
It adds a dummy flag "/flagadded:FILE_NAME" for each source file according
to its name.
project(flags_per_file)
cmake_minimum_required(VERSION 2.6)
set(SOURCES x1.c x2.c x3.c)
add_exec
Too bad. I was hoping I could do this without having to use a list
variable to collect all my sources. In my case, the use of conditionals
is somewhat awkward.
Best regards,
Marcel Loose.
On Sat, 2010-01-09 at 18:38 -0500, Philip Lowman wrote:
> I highly doubt it. Best practice is to just use co
26 matches
Mail list logo