Sorry for the top post... :)
Globs simply do not work well for source files. I don't think this
will be come a module in CMake.
To have this work in a generic way, you would have to run something that
did the glob with each time the build system was run, and be able to
change the sources
What target property does TARGET_FILE_DIR access when used in a
generator expression? I'm thinking I might be able to set the output
directory directly to the custom target for each configuration. If I
know which target property to set, this might work. Thanks Brad.
On Mon, May 13, 2013 at 2:01
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=14141
==
Reported By:Craig Scott
Assigned To:
Hi,
On Mon, May 13, 2013 at 09:31:46PM -0400, cmake-requ...@cmake.org wrote:
I'm converting a Fortran package that was using GNU make to build to CMake,
but I've run into a problem compiling F90 module code where the source code
is stored under many directories.
The package has a
Well, I want to run an excutable when build like the following makefile:
2 : 2.cpp
g++ 2.cpp -o 2
2.cpp : gen
gen 2.txt -o 2.cpp
gen : gen.cpp
g++ gen.cpp -o gen
So what should I do?
I just have learnt how to build a simple project,
--
清华大学计算机系
Tsinghua University CST
王东岳
I think something like this:
add_executable(2 2.cpp)
add_executable(gen gen.cpp)
add_custom_command(OUTPUT 2.cpp
COMMAND gen ${CMAKE_CURRENT_SOURCE_DIR}/2.txt -o 2.cpp
DEPENDS 2.txt
)
Nils
On Tue, May 14, 2013 at 12:00 PM, 王东岳 code...@gmail.com wrote:
Well, I want to run an
On 05/10/2013 11:14 AM, Brad King wrote:
OTOH the Xcode generator just initializes all four configurations
in EnableLanguage up front:
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalXCodeGenerator.cxx;hb=v2.8.10.2#l182
I've now taught the VS generator to do the same:
On Tue, 2013-05-14 at 09:51 -0400, Brad King wrote:
On 05/10/2013 11:14 AM, Brad King wrote:
OTOH the Xcode generator just initializes all four configurations
in EnableLanguage up front:
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalXCodeGenerator.cxx;hb=v2.8.10.2#l182
Lori A. Pritchett-Sheats
Los Alamos National Laboratory
CCS-2, Computational Physics
505-665-6675
From: Andreas Mohr [a...@lisas.de]
Sent: Tuesday, May 14, 2013 1:14 AM
To: cmake@cmake.org
Cc: Pritchett-Sheats, Lori
Subject: Re: Compiling Fortran Modules
On 05/14/2013 10:28 AM, Paul Smith wrote:
On Tue, 2013-05-14 at 09:51 -0400, Brad King wrote:
On 05/10/2013 11:14 AM, Brad King wrote:
OTOH the Xcode generator just initializes all four configurations
in EnableLanguage up front:
Hi,
I am getting following error when compiling cmake.
What is cause of this error please suggest. Does cmake requires libtool ?
Error
[ 37%] Building C object
Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_read_disk_posix.c.o
I am running into a situation when cross compiling where I cannot get
cmake to emit the write CFLAGS for my cross-compilation toolchain
correctly.
If I force the C compiler, via the CMakeForceCompiler mechanism, the
CMAKE_C_FLAGS do not get passed to gcc during the build.
Example make
Please suggest, what dependencies i have missed related to compilation of
cmake ?
I am getting error at make time
Regards,
//Allan
On Tue, May 14, 2013 at 8:47 PM, allan George gorge.alan...@gmail.comwrote:
Hi,
I am getting following error when compiling cmake.
What is cause of this error
allan George wrote:
Please suggest, what dependencies i have missed related to compilation of
cmake ?
I am getting error at make time
This doesn't look like a missing dependency, but a constant that is expected
in some Posix headers that is not defined on your system. So, what is your
On 2013-05-14 06:19, Nils Gladitz wrote:
I think something like this:
add_executable(2 2.cpp)
add_executable(gen gen.cpp)
add_custom_command(OUTPUT 2.cpp
COMMAND gen ${CMAKE_CURRENT_SOURCE_DIR}/2.txt -o 2.cpp
DEPENDS 2.txt
)
'DEPENDS 2.txt gen' :-). You want the dependency on 'gen'
Hi,
My development team and I have struggled with what should be a simple question:
what is the best way to add project-wide compiler flags?
As background, we develop C++ software that builds for Windows, Mac, and
several different Linux platforms. For a given platform, the set of compiler
Hi Matthew,
On Mon, 13 May 2013 18:17:58 -0400
Matthew Woehlke matthew.woeh...@kitware.com wrote:
On 2013-05-11 17:22, Shlomi Fish wrote:
many of my CMake-based projects carry a common top-level Common.cmake file
that I copy from one project to another and enhance, and since this is
Hi Jean-Christophe,
On Mon, 13 May 2013 18:27:03 -0400
Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote:
Hi,
To download the common file(s) at configure time, you could follow the
approach discussed here:
Hello,
I also would like to see a fix to this issue because configuration-specific
settings would be very useful to my project:
http://www.cmake.org/Bug/view.php?id=12532
Back in December, the reporter attached a possible fix -- Is there any
chance anyone is available to take a look at it?
Hi,
On Tue, May 14, 2013 at 02:38:17PM -0400, cmake-requ...@cmake.org wrote:
Date: Tue, 14 May 2013 10:02:56 -0700
From: Thomas Taranowski t...@baringforge.com
I am running into a situation when cross compiling where I cannot get
cmake to emit the write CFLAGS for my cross-compilation
Unless I misunderstand the documentation a target level dependency is
automatically added if the command references a target created by
add_executable.
So the order at least should be guaranteed?
Though either way your second argument is still valid.
Nils
On 05/14/2013 07:57 PM, Matthew
On 2013-05-14 14:58, Nils Gladitz wrote:
Unless I misunderstand the documentation a target level dependency is
automatically added if the command references a target created by
add_executable.
That may be; I didn't check. Personally, I'd be inclined to be paranoid
and list it anyway :-). At
On Tue, May 14, 2013 at 10:48:22AM -0400, cmake-requ...@cmake.org wrote:
On 05/10/2013 11:14 AM, Brad King wrote:
OTOH the Xcode generator just initializes all four configurations
in EnableLanguage up front:
On 2013-05-14 13:48, Todd Greer wrote:
My development team and I have struggled with what should be a simple question:
what is the best way to add project-wide compiler flags?
Here are the ways I've seen from the documentation and miscellaneous sources:
1. add_definitions function
2.
Hi,
[disclaimer: quoting below is non-standard]
On Tue, May 14, 2013 at 10:48:22AM -0400, cmake-requ...@cmake.org wrote:
Date: Tue, 14 May 2013 14:36:18 +
From: Pritchett-Sheats, Lori lpri...@lanl.gov
| Hmm. Files with directory specification.
|
| But then...
On 5/13/2013 9:26 PM, Richard Browne wrote:
Compiling open source project OpenCV-2.3.1 on Windows works with cmake
2.8.9. The other day I updated to cmake 2.8.10, and it stopped working.
If I go back to cmake 2.8.9 it works again.
Has anyone seen this or can anyone point me in the right
On Fri, May 10, 2013 at 4:01 PM, Yngve Inntjore Levinsen
yngve.levin...@gmail.com wrote:
If you set the CMAKE_Fortran_MODULE_DIRECTORY variable, then all module
files by default will be built into this folder. In our case we set this to
${CMAKE_BINARY_DIR}/fortran. Since nothing else is in
On Sun, May 12, 2013 at 9:22 AM, Zaak Beekman zbeek...@gmail.com wrote:
I'm curious why you want to install the .mod files. As far as I know, I
don't think you need these at run time, but I could be wrong. (I know this
to be true at least for statically linked binaries.)
When application
On 05/13/2013 02:08 PM, Pritchett-Sheats, Lori wrote:
IMPLICIT_DEPENDS Fortran ${F_file}
The custom command is running a C preprocessor, not a Fortran compiler,
so use IMPLICIT_DEPENDS C.
list(APPEND PGSLibIface_SOURCE_FILES ${new_file_f90})
Do you mean to append to
I'm pleased to announce the first release candidate of CMake Tools for
Visual Studio, an extension adding support for syntax highlighting and
IntelliSense in CMake code using Microsoft Visual Studio. The extension is
open source (distributed under Ms-RL), freely available, and compatible with
VS
hello,
I'm working on a C++ package for ROS (robot operating system) that uses a C
library libccv.a. ROS uses CMake which is why I am asking here. Asking at
ROS answers did not help and I am totally stuck.
here is the relevant part of my CMakeLists.txt:
set(SOURCES src/${PROJECT_NAME}.cpp
Am Dienstag, 14. Mai 2013, 19:05:13 schrieb Vojtěch Novák:
hello,
I'm working on a C++ package for ROS (robot operating system) that uses a C
library libccv.a. ROS uses CMake which is why I am asking here. Asking at
ROS answers did not help and I am totally stuck.
[...]
From a quick look
I am working on RPi raspberry pi. Using debian.
//Allan
On Tue, May 14, 2013 at 11:11 PM, Rolf Eike Beer e...@sf-mail.de wrote:
allan George wrote:
Please suggest, what dependencies i have missed related to compilation of
cmake ?
I am getting error at make time
This doesn't look like a
actually i have run autoreconf -fi aclocal inside someother package.
Could it have changes something ?
That is affecting cmake ?
//Allan
On Wed, May 15, 2013 at 6:17 AM, allan George gorge.alan...@gmail.comwrote:
I am working on RPi raspberry pi. Using debian.
//Allan
On Tue, May 14, 2013
this constant is defined in following file :---
http://lxr.free-electrons.com/source/include/uapi/linux/fcntl.h#L44
I am using Raspbian distribution, for RPi.
On Wed, May 15, 2013 at 6:31 AM, allan George gorge.alan...@gmail.comwrote:
actually i have run autoreconf -fi aclocal inside
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 899125d4cdb9ba158cc1826027d1b1ec121d20fa (commit)
via
Stamp
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index dc8aa44..6d793b4 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -2,5 +2,5 @@
set(CMake_VERSION_MAJOR 2)
set(CMake_VERSION_MINOR 8)
set(CMake_VERSION_PATCH 10)
-set(CMake_VERSION_TWEAK 20130514
37 matches
Mail list logo