On 11/27/2010 06:45 PM, Alan W. Irwin wrote:
I just discovered that many Linux distros these days use the
--as-needed Linux linker option by default. At first glance that
option makes a lot of sense since it tends to reduce startup times.
But I guess there are some caveats as well which is
On 11/26/2010 05:00 PM, Sebastian Schaetz wrote:
Hi,
I have a somewhat weird setup to build binaries for the Cell processor:
|-- CMakeLists.txt
|-- kernels
| |-- CMakeLists.txt
| `-- kernel.cpp
`-- main.cpp
From the main.cpp in the root directory the executable is built.
In
On 11/24/2010 04:51 PM, Johannes Zarl wrote:
Hi,
On 11/23/2010 at 21:25, Alexander Neundorf a.neundorf-w...@gmx.net wrote:
CMAKE_MODULE_PATH is only for finding Find-modules, not for finding the
actual packages or Config-files.
For that you can set CMAKE_PREFIX_PATH. CMake uses each
On 11/23/2010 03:23 PM, Andrea Galeazzi wrote:
Marcel Loose ha scritto:
On 23-11-2010 at 10:55, in message 4ceb8f76.80...@korg.it, Andrea
Galeazzi
galea...@korg.it wrote:
In a project I've got two groups of files having different include
paths. These paths have some conflicts
On 11/24/2010 04:44 AM, Dominique Belhachemi wrote:
Hello,
I am using the following command in my CMakeLists.txt file to copy a
directory with all sub-directories from the source tree to a directory
in the binary tree.
file(COPY ${SRCDIR}
DESTINATION ${CMAKE_BINARY_DIR}/${DSTDIR}/
On 11/23/2010 10:30 PM, Anton Deguet wrote:
Hello,
I am trying to use a UI option to set a value used in configure_file and
ideally obtain a file that doesn't use ON/OFF. Here is a CMake sample:
option (MYLIB_HAS_WHATEVER Use whatever library OFF)
In my config.h.in I have:
#define
On 11/17/2010 04:13 PM, Torri, Stephen CIV NSWCDD, W15 wrote:
I have been reading email posts on goggle that says if you create a library
then produce a nameConfigversioncmake file rather than a Findname.cmake
file. That is fine but what confuses me is:
Indeed, a package XXX - particularly a
On 11/23/2010 03:25 AM, luxInteg wrote:
Greetings
I am learning cmake
Compiling alglib (http://www.alglib.net/) (cpp) does not use make
It is done simply by a command such as
g++ -c *.cpp in the src directory
QUESTION. If one wants a library from alglib I would like to know
On 11/22/2010 10:39 PM, luxInteg wrote:
Greetings
I am learning cmake
I have a small project to be installed in some directory $INSTALLED
=/whatever/installed/directory/is
I have some files say fila1.c ..File2.c to compile with a preprocessor
that includes a reference to
On 11/19/2010 02:35 PM, luxInteg wrote:
Greetings,
I am learning cmake. I practice using the add_library comand as shown
below
set(serial 1.2.3)
add_library(testLIB SHARED testLIB.c)
set_target_properties(testLIB PROPERTIES VERSION ${serial} SOVERSION 1)
SET(CMAKE_INSTALL_LIBDIR
On 11/18/2010 11:01 PM, Russell L. Carter wrote:
Hi all,
I have three g++ versions installed. Debian's native g++-4.3 and
g++-4.4 both use /usr/lib/libstdc++.so.6.13, while
/usr/local/bin/g++-4.5 needs /usr/local/lib64/libstdc++.so.6.14.
If I use CXX=/usr/local/bin/g++-4.5 at configure
On 11/17/2010 10:37 AM, Hariharan wrote:
Is it possible to run the compiler and linker through another command, say
time or a custom script? In other words, I want the compile and link steps
to run command gcc and command ld.
If you're using a Makefile generator you might have a look at the
On 11/17/2010 04:56 PM, Thomas Lehmann wrote:
for an automatically forced include I have provided an
option like this:
set(WIN32_SPEC
${CMAKE_CURRENT_SOURCE_DIR}/../../libs/global/win32_spec.h)
May you could use an absolute reference using
${PROJECT_SOURCE_DIR}/libs/global/win32_spec.h
On 11/16/2010 06:18 PM, Andrea Galeazzi wrote:
I'm trying to compile a static library named libkernel.a into a custom
path. I tried to set ARCHIVE_OUTPUT_DIRECTORY in two ways:
1:
set_property(TARGET PROPERTY ARCHIVE_OUTPUT_DIRECTORY
O:/kernel/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE})
On 11/13/2010 03:08 PM, Marcus D. Hanwell wrote:
On Nov 13, 2010, at 8:57 AM, Michael Hertling wrote:
On 11/12/2010 02:13 PM, Hector Martinez-Seara wrote:
Dear all,
I'm trying to install openbabel in linux which in its last version
(2.3.0) uses cmake installer. I haven't been able
On 11/12/2010 02:13 PM, Hector Martinez-Seara wrote:
Dear all,
I'm trying to install openbabel in linux which in its last version
(2.3.0) uses cmake installer. I haven't been able to compile it with
biddings with python 3.1 when using the -DPYTHON_BINDINGS=ON option. I
have python 2.7 and 3.1
On 11/13/2010 08:06 PM, luxInteg wrote:
Greetings,
I am learning cmake
--I want to know how to set the installation directory tree. Is this done
in the CMakeList.txt in the base directory; if not where and how?
IIRC, the INSTALL() command with the FILES, PROGRAMS and DIRECTORY
On 11/12/2010 02:46 PM, luxInteg wrote:
Greetings,
I am learning cmake
I am building an executable which needs to first compile a C program and
then recompiling the object file with another file in fortran.
Here is an excerpt from a unix makefile I am attempt to port to cmake
On 11/12/2010 02:47 PM, luxInteg wrote:
On Thursday 11 November 2010 21:55:31 Alexander Neundorf wrote:
On Thursday 11 November 2010, luxInteg wrote:
Greetings
I am learning cmake.
I think I now know how to generate libraries and executables but I
have
not yet grasped how the tree
On 11/12/2010 05:37 PM, luxInteg wrote:
On Friday 12 November 2010 13:17:50 Michael Hertling wrote:
On 11/12/2010 02:46 PM, luxInteg wrote:
Greetings,
I am learning cmake
I am building an executable which needs to first compile a C program
and then recompiling the object file
On 11/10/2010 12:30 AM, Oliver kfsone Smith wrote:
Michael Hertling said the following on 11/6/2010 7:39 AM:
stored in the ${CMAKE_BINARY_DIR}/filelist.dat script as an assignment
to the variable FILELIST. Subsequently, this filelist.dat is read via
INCLUDE(), so CMake keeps track of it, i.e
On 11/11/2010 01:52 PM, luxInteg wrote:
I am learning cmake
(in gnu Makefiles it is possible to specifiy the name of the object file. )
I.E. if I have a file file1.c and I want to generate two object files
file1.o and file1a.o
-is this possible in cmake and if so how so?
-archive.com/cmake@cmake.org/msg21354.html).
--
Szilárd
On Wed, Nov 3, 2010 at 5:57 PM, Michael Hertling mhertl...@online.de wrote:
On 11/02/2010 10:54 PM, Szilárd Páll wrote:
Hi,
I've been trying to implement a feature which would enable building
static binaries with cmake, but I've got
On 11/07/2010 03:37 PM, luxInteg wrote:
On Sunday 07 November 2010 11:34:47 Richard Wackerbarth wrote:
First let me suggest that you word your request in a more complete manner.
What does not work?
cant get an executable generated because the 'COMMAND' syntax is incorrect
so could you
On 11/10/2010 01:17 AM, James Bigler wrote:
I have a build rule that copies files from the source tree to the build
tree:
foreach( script ${scripts} )
set( src ${CMAKE_CURRENT_SOURCE_DIR}/${script} )
set( dest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${script} )
list( APPEND dest_files
On 11/08/2010 10:03 PM, Jochen Issing wrote:
Hi list,
I tried to add ctest to my project and did this by adding ENABLE_TESTING()
and several ADD_TEST(...) to my CMakeLists.txt file.
The tests are run on executables, which are built inside a dedicated test
directory in my project root and
On 11/07/2010 02:07 AM, Russell L. Carter wrote:
Hi there,
Happy cmake user here. I want to retrieve the leaf name of
the directory property PARENT_DIRECTORY. This is really
a more general cmake question: how do I most efficiently
manipulate path components of the absolute pathnames that
On 11/06/2010 07:10 PM, Alan W. Irwin wrote:
On 2010-11-05 22:50-0700 SK wrote:
On Fri, Nov 5, 2010 at 1:04 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca
wrote:
I agree the above idea should work, but dropping add_custom_command
completely and moving the COMMAND to add_custom_target instead
On 11/06/2010 06:50 AM, SK wrote:
On Fri, Nov 5, 2010 at 1:04 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca
wrote:
I agree the above idea should work, but dropping add_custom_command
completely and moving the COMMAND to add_custom_target instead (and
dropping all file DEPENDS for the custom
On 11/06/2010 12:20 PM, Eric Noulard wrote:
2010/11/6 Pedro d'Aquino bud...@gmail.com:
On Friday, November 5, 2010, Oliver kfsone Smith osm...@playnet.com
Thanks for the detailed response, Michael :)
So, the question is actually:
Is there a way to have CMake automatically add included
On 11/05/2010 07:21 PM, luxInteg wrote:
Greetings,
I have a little learning progect using cmake with gfortran.
SOURCE files: .f, .f xxx.f and .f .y
I want to do the following:-
a) create a shared library libFFF.so and a static one libFFF.a (from
say
On 11/06/2010 05:26 PM, luxInteg wrote:
Greetings,
I am learning cmake.
I have a question on using add_library. in my project(learnCMAKE). The
latter has:-
---a) 2 source files file1.c file2.c
---b) the envar {CFLAGS} set
---c) need to generate libLearnCMAKE.so and
On 11/05/2010 02:09 AM, Alan W. Irwin wrote:
On 2010-11-04 16:29-0700 SK wrote:
On Sat, Oct 30, 2010 at 8:31 AM, Alan W. Irwin
ir...@beluga.phys.uvic.ca wrote:
On 2010-10-29 20:50-0700 mina adel wrote:
Hi All
I have an open source code that I use in my project. This open source code
On 11/05/2010 05:23 AM, SK wrote:
On Thu, Nov 4, 2010 at 6:09 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca
wrote:
then the custom make command
should always be run (since it has no DEPENDS option),
Alan, you are absolutely right!! I missed this since the external
makefile I need actually
On 11/02/2010 10:54 PM, Szilárd Páll wrote:
Hi,
I've been trying to implement a feature which would enable building
static binaries with cmake, but I've got completely stuck, I hope
someone can hint me what's the best way to do this.
What I've done is a 2 stage solution for making static
On 10/27/2010 08:02 PM, Arne Pagel wrote:
Hello,
I need a custom command in my build process.
The tool that I am using has a small problem, I have to insert a line of code
in
the output file manually:
#include gtk/gtk.h
I tried this with echo and output redirection:
echo #include
On 11/01/2010 10:47 PM, SK wrote:
I know add_custom_target does not produce output as far as CMake is
concerned. My situation is as follows:
A traditional make process that I cannot modify produces a target on
which I must do some post-processing.
I use add_custom_target to force the
On 11/02/2010 01:58 AM, mina adel wrote:
Hi
I have a problem when cmake builds the objects for shared library.
I have the following in my cmaklists.txt
set(SIMULATOR_SOURCES circuit.cc matrix.cc plot.cc sources.cc
sparse.cc btzdense.cc element.cc util.cc parse.c
On 11/01/2010 01:22 AM, Marcus D. Hanwell wrote:
On Sun, Oct 31, 2010 at 7:30 PM, Campbell Barton ideasma...@gmail.com wrote:
Hi I saw in the log you added a case for Python 2.7,
Would you be able to add a check for Python 3.x ?
For Blender 3D we use CMake and only support python 3.x series.
On 10/26/2010 08:47 PM, mina adel wrote:
Hi All,
I have a problem with cache variables in cmake.
I want to check the combiler for a certain flag -C99 flag. So, I used the
following statement
CHECK_C_COMPILER_FLAG(-C99 FLAG_OK)
The problem is that we I ran cmake for the first time it
On 10/22/2010 09:21 PM, Bob Torgerson wrote:
To Whom It May Concern:
We have a shell script available on our system that is used in the common
linking stage of making a set of executables that we would like to use for
in CMake. We are not entirely certain how this can be done outside of
On 10/24/2010 01:26 AM, Bill Spotz wrote:
Hi,
Is there a standard way to make tests for python extension modules?
Currently, I copy test scripts from the source directory to the binary
directory. I would like to augment this by making the first line of my script
#!
On 10/20/2010 09:05 AM, Michael Wild wrote:
On 20. Oct, 2010, at 9:01 , Micha Renner wrote:
Is there a way to specify a WORKING_DIRECTORY for ADD_TEST, similar
ADD_CUSTOM_COMMAND?
Greetings
Micha
No, unfortunately not. You will have to wrap EXECUTE_PROCESS in a CMake
script and
On 10/20/2010 07:55 PM, Prathamesh Kulkarni wrote:
I do not understand why I am having errors for only .txx files and not for
.cpp files placed in the same common folder. Any help would be highly
appreciated. Right now, I am forced to paste common the files in all the
project folders where
On 10/18/2010 06:50 PM, David Genest wrote:
Hi,
I have tried and tried, but haven't succeeded to include a semicolon as a
COMPILE_FLAGS property for a file. I turn to you for wisdom:
I need to get this as a result in the pre-processor definitions:
MYPATH=\d:\\;.\\Lib\
But when I
On 10/19/2010 03:43 AM, Michael Scot Breitenfeld wrote:
My main program is in Fortran and I have couple of
files that are in C++. When I try to make the library,
CMake uses CXX linking (archiving) to make the library.
Which I guess is ok, but then when it links the
On 10/15/2010 04:14 PM, william.croc...@analog.com wrote:
Hello:
If my app requires relinking, then at link time
I would like to capture the current date and time and place it
in a last-minute source file which is linked with the application.
Following is my attempt at this with CMake.
On 10/12/2010 03:26 PM, Jed Brown wrote:
I realize this may look silly, but after
list (REMOVE_ITEM CMAKE_C_SOURCE_FILE_EXTENSIONS c)
list (APPEND CMAKE_CXX_SOURCE_FILE_EXTENSIONS c)
source files matching *.c are still compiled with the C compiler (not C++).
Is there a way to get *.c
On 10/11/2010 11:20 AM, Jochen Wilhelmy wrote:
Hi!
Is it possible to define the current working directory of a command line
tool
that is built with cmake? since the build is usually out-of-source I
have
to set the current working directory in the ide, e.g visual studio or
xcode.
On 10/11/2010 10:04 PM, Belcourt, Kenneth wrote:
Hi,
I did a quick scan looking for this but didn't see this mentioned in
the FAQ.
Is there a documented process for compiling a single source file
multiple times? For example, the UMFPACK library need to compile most
source files at
On 10/06/2010 10:47 PM, Stephen Kelly wrote:
Hi,
The documentation says
A package-specific list of components may be listed after the REQUIRED
option or after the COMPONENTS option if no REQUIRED option is given.
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package
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.txt right, so I first ask
On 10/04/2010 10:53 AM, Mateusz Loskot wrote:
On 04/10/10 07:33, J Decker wrote:
CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like
'project supports multiple targets' so I have an if(MSVC) set(
MULTI_TARGET) endif() if( MULTI_TARGET ) Install( targets ...
On 10/04/2010 02:14 PM, Maik Beckmann wrote:
The problem seem to be triggered the fact that the toplevel
CMakeLists.txt (
http://gitorious.org/hdf5/hdf5-v18/blobs/master/CMakeLists.txt )
contains
PROJECT (HDF5 C CXX)
and another CMakeLists.txt in a subdirectory (
On 10/04/2010 11:15 PM, Mateusz Loskot wrote:
On 04/10/10 14:24, Michael Hertling wrote:
On 10/04/2010 10:53 AM, Mateusz Loskot wrote:
On 04/10/10 07:33, J Decker wrote:
CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like
'project supports multiple targets' so I have
On 10/02/2010 09:07 AM, Laszlo Papp wrote:
Hi,
I wrote a helloworld class, source and header file for instance which
is basically moc related class with Q_OBJECT macro. I do not know why
I must use qt4_wrap_cpp(helloworld.h) beside
qt4_automoc(helloworld.cpp).
There's no need to use both.
On 10/03/2010 02:01 AM, Óscar Fuentes wrote:
Michael Hertling mhertl...@online.de
writes:
It would be very convenient to inspect the header files referenced from
`zoo.cpp' and associate them with `bar.inc', so when some of those
header files are touched `bar.inc' (and hence `foo.cpp
On 10/01/2010 03:55 PM, Marek Szuba wrote:
Hello,
How can one define C++ compiler flags which are used ONLY at compile time?
Traditional LDFLAGS appear to clearly map to CMAKE_xxx_LINKER_FLAGS, however
CMAKE_CXX_FLAGS work differently from what I would like - they are passed to
both the
On 10/01/2010 10:56 PM, Óscar Fuentes wrote:
A file `foo.cpp' has this:
#include bar.inc
`bar.inc' is a generated file, and is marked as such. It is generated
processing a file `zoo.cpp' with an utility executed through a custom
command.
It would be very convenient to inspect the
On 09/29/2010 12:26 PM, Ovanes Markarian wrote:
Hello *,
I have some library available as a Linux lib file. Now I need to create a
shared object (actually a MODULE in terms of CMake) out of this lib. The
module is later on loaded using the dlopen-API function.
I created a sample project
On 09/29/2010 06:25 PM, David Aldrich wrote:
Hi
My C++ code consists of an executable and several shared libraries.
With my CMake build files, I find that the executable fails to load the
shared libraries ( the dlopen() call results in error 'undefined symbol...' ).
The software works
On 09/28/2010 05:35 PM, David Aldrich wrote:
Hi
I am writing CMakeLists.txt files for my C++ application. Initially I set the
C++ compiler flags by setting CMAKE_CXX_FLAGS:
set( CMAKE_CXX_FLAGS -Wall -m64 -O3 )
Then I realised that those flags get passed to the linker as well, which
On 09/26/2010 09:09 PM, Szilárd Páll wrote:
The DEPENDS option of ADD_CUSTOM_TARGET() is meant for file-level
dependencies only; use ADD_DEPENDENCIES() for target-level ones.
Silly mistake, thanks for pointing it out. However, even if I add
target dependencies using ADD_DEPENDENCIES() it
On 09/26/2010 02:34 AM, Szilárd Páll wrote:
Hi,
I implemented a custom target which depends on several other targets,
including some that I generate beforehand as custom targets and
collect their names in a variable. However, this seems to behave in a
strange way if I list these
On 09/18/2010 05:37 PM, Clifford Yapp wrote:
I have a situation where there exists on some systems a library
(/lib/librt.so.1) that conflicts with the name we use for BRL-CAD's
raytracing library (also librt). For various reasons, I can't rename
our lib - this means I have to deal with the
On 09/17/2010 12:04 PM, Chris Hillery wrote:
The message() and file(REMOVE) commands will be executed when you run CMake.
The command to generate the .cpp file won't be executed until you run make.
That's why it's still around after you're done.
You can't really do exactly what you want here
On 09/16/2010 05:33 PM, Michael Wild wrote:
On 16. Sep, 2010, at 17:13 , David Aldrich wrote:
Hi David
Something like this should work:
cmake_minimum_required(VERSION 2.8)
project(MyExe)
add_subdirectory(../Kernel Kernel)
add_subdirectory(../DynLibs DynLibs)
add_executable(MyExe
On 09/15/2010 05:15 PM, Nick Davidson wrote:
Whoops, forgot to reply on list, sorry!
From: cmake-boun...@cmake.org
[mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat
Sent: 15 September 2010 13:03
To: cmake@cmake.org
Subject: Re: [CMake] add_dependency on a custom target
On
On 09/16/2010 02:27 AM, Serghei Amelian wrote:
Hi,
Is any way to tell cmake to build a target before beginning to start
compiling
another one? For example, i need target dcopidl to be exists before
generating *.kidl files.
Use ADD_DEPENDENCIES() and the DEPENDS option of custom
On 09/14/2010 11:56 AM, Gerhard Stengel wrote:
Hello Michael,
thanks, it sheds some light on the matter, but I'm not happy as it is, see
comments below.
regards
Gerhard
...
If I create Demo.tar from a clean project, everything's fine. However,
the rebuilt isn't performed
On 09/13/2010 05:46 PM, Gerhard Stengel wrote:
Hi,
I have a strange problem with custom targets and their dependencies. I do as
follows:
1) create a file 1 and add it to a custom target 1
2) create a file 2 and add it to a custom target 2
3) create a 3rd file by packing #1 and #2
On 09/10/2010 05:25 PM, Ingolf Steinbach wrote:
2010/9/10 Michael Wild them...@gmail.com:
Does this also create dependencies on the multitude of header files
included by the .c files in SRCS (which would probably be desired in
case of the OP)?
Ingolf
No, it will not. But usually you have
On 09/09/2010 09:06 PM, edA-qa mort-ora-y wrote:
My cmake file has the fairly standard QT setup:
find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtOpenGL
QtMain REQUIRED)
include(${QT_USE_FILE})
and then later use ${QT_LIBRARIES}
However, this uses the debug libraries
On 09/09/2010 06:53 PM, David Aldrich wrote:
Hi
As mentioned before, I am replacing a manually built gnu makefile (for Linux)
that builds a library, with CMake.
A required build step is to run an executable called versionInfo that
processes all the source files of the library and
On 09/08/2010 08:38 AM, Michael Wild wrote:
On 8. Sep, 2010, at 8:25 , Philip Lowman wrote:
Let's say I have many different potential names for a library and the
following filesystem
/usr/lib/libnspr4.so
${CMAKE_CURRENT_SOURCE_DIR}/libnspr4a.so
find_library(TEST_LIBRARY
NAMES nspr4
On 09/08/2010 07:35 PM, Nick Foster wrote:
Hi there,
I'm using CMake with SDCC. Currently, support for SDCC in CMake does not also
include dialects for its various assemblers. So I've created one, for the
asx8051 assembler. The problem is that the asx8051 assembler shows
nonstandard
On 09/06/2010 06:33 PM, Stefan Köhnen wrote:
Hello,
I am trying to set a variable that appears in CMakeCache. I made this
small example to show what I am trying to do.
CMakeLists.txt:
PROJECT(CMakeTest)
SET(VAR_FOR_TEST firstValue CACHE STRING Just for testing)
set(VAR_FOR_TEST
On 09/02/2010 12:13 AM, Andreas Pakulat wrote:
Hi,
I've got a small problem here, I'm building an installing a static
library which links (among other things) against QtCore. I'm also using
the cmake install(TARGETS .. EXPORT) stuff to export a Target.cmake file
with the library as imported
On 09/05/2010 12:04 AM, Joshua Warner wrote:
Hi,
I have a small language (written in C++) I'd like to convert to cmake, but
I'm having a hard time figuring out what to do in which CMakeLists.txt file.
Basically, I have the following directory structure:
nvm/
--tools/
compiler/
On 09/03/2010 01:07 PM, Eric Noulard wrote:
2010/9/3 Belcourt, Kenneth kbe...@sandia.gov:
Hi,
Apologies if this has been answered before. In an effort to ensure
cross-platform consistent results, I need to force some (C++ and Fortran)
source files to always be built debug. Is there any
On 09/03/2010 04:13 PM, Belcourt, Kenneth wrote:
On Sep 3, 2010, at 5:07 AM, Eric Noulard wrote:
2010/9/3 Belcourt, Kenneth kbe...@sandia.gov:
Apologies if this has been answered before. In an effort to ensure
cross-platform consistent results, I need to force some (C++ and
Fortran)
On 09/02/2010 09:11 PM, Ryan Pavlik wrote:
On 9/2/2010 1:43 PM, Ingolf Steinbach wrote:
Hi,
2010/9/2 Ryan Pavlikrpav...@iastate.edu:
Set the appropriate variables at the top of the CMakeLists.txt file of the
given subdirectory. Each add_subdirectory call creates a new scope, so
On 08/31/2010 03:03 PM, Christian Lohr wrote:
Hi,
I have a more or less complicated program to compile. It's splitted up
in several small libraries, which have seperate directories for header
and source files, and a main applikation.
It compiled, but it ended up with a linker error, seems he
On 08/26/2010 05:38 PM, Mark Roden wrote:
2) I'm trying to check to see if a certain C++ code chunk will
compile. The line is:
CHECK_CXX_SOURCE_COMPILES(
#include string.h
#include stdio.h
void main(){
char buf[100];
char buf2[100];
strncpy(buf2, buf, 5);
buf2[5] = '\0';
On 08/22/2010 05:21 PM, Claus Klein wrote:
Ok,
I found the solution myself; I have to add:
set_source_files_properties(interface1.idl PROPERTIES HEADER_FILE_ONLY
TRUE)
But I do not understand why this is needed with VS2005?
See http://www.mail-archive.com/cmake@cmake.org/msg16767.html
On 08/20/2010 09:44 PM, Iman Brouwer wrote:
Hello,
The path to a binary target built by cmake depends on the
configuration type when using the Visual Studio generators. Is it
possible to pass this path the ctest without having to run ctest with
the -c option?
I'd like to do the
On 08/20/2010 12:42 PM, Michael Wild wrote:
On 19. Aug, 2010, at 23:36 , Michael Hertling wrote:
On 08/19/2010 09:42 PM, Michael Wild wrote:
In that case I recommend creating a CMake script (e.g.
create_application_version.cmake) which creates the ApplicationVersion.xml
file
On 08/19/2010 09:42 PM, Michael Wild wrote:
In that case I recommend creating a CMake script (e.g.
create_application_version.cmake) which creates the ApplicationVersion.xml
file. It queries the current revision (have a look at FindSVN.cmake on how to
do this), determines the date and
On 08/14/2010 11:59 PM, Richard Offer wrote:
One of my test cases needs sudo to run (its listening on privileged ports).
If I add
ADD_TEST( SERVER /usr/bin/sudo
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Server${SUFFIX} --daemon )
CMake complains that it can¹t find sudo.
[ d042 ] make
On 08/09/2010 02:55 PM, storri wrote:
I don't think it is possible to find both required and optional
libraries with the same find_package command. Is that true?
At http://www.mail-archive.com/cmake@cmake.org/msg28536.html, you
will find some considerations w.r.t. requesting required and
On 08/13/2010 09:49 PM, Ris Misner wrote:
Hi,
I am new to using cmake, and trying to get a custom build command to embed
quotes for a project that I'm compiling in MS visual studio on a windows
machine.
I have this in my cmake file:
COMMAND ${FLEX_EXECUTABLE} -t
On 07/22/2010 02:17 PM, Marcel Loose wrote:
Hi all,
That sounds like a good solution. It is probably the cleanest way to
solve this controversy. OTOH, it adds two extra keywords that, of
course, are not used in existing (now sometimes failing) Find macros.
IMHO, solving the issue by
On 07/22/2010 01:30 PM, Michael Wild wrote:
Thanks for reminding me of my old idea ;-)
http://www.cmake.org/pipermail/cmake/2010-May/036993.html
I think that would be the cleanest solution. Extract the loop body into a
function and then have two separate loops calling the same function.
On 07/22/2010 09:18 AM, Alan W. Irwin wrote:
On 2010-07-22 03:09+0200 Michael Hertling wrote:
In summary, my point is: Even if the loops are swapped, we wouldn't get
a solution that works well in real-world scenarios so I doubt if it's
worth the effort [...].
Hi Michael:
I think find
On 07/26/2010 10:29 PM, Alexander Neundorf wrote:
On Monday 12 July 2010, Michael Hertling wrote:
On 07/07/2010 09:44 AM, Michael Wild wrote:
On 7. Jul, 2010, at 9:32 , Michael Hertling wrote:
On 07/03/2010 01:03 AM, Chris Hillery wrote:
There's a slightly nicer work-around: Change project
On 07/23/2010 09:02 AM, Michael Wild wrote:
On 23. Jul, 2010, at 6:29 , Michael Hertling wrote:
On 07/22/2010 10:36 AM, Michael Wild wrote:
On 22. Jul, 2010, at 10:17 , Marcel Loose wrote:
[...]
Hi Michael and others,
I mostly agree with what your saying. However, IMHO, you refer
On 07/22/2010 10:17 AM, Marcel Loose wrote:
On Thu, 2010-07-22 at 03:09 +0200, Michael Hertling wrote:
On 07/21/2010 10:26 AM, Michael Wild wrote:
On 21. Jul, 2010, at 9:56 , Marcel Loose wrote:
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael
On 07/22/2010 10:36 AM, Michael Wild wrote:
On 22. Jul, 2010, at 10:17 , Marcel Loose wrote:
[...]
Hi Michael and others,
I mostly agree with what your saying. However, IMHO, you refer to a
perfect world situation, where all Find modules properly use VERSION
to specify a version number
On 07/22/2010 08:33 AM, Michael Wild wrote:
On 22. Jul, 2010, at 3:09 , Michael Hertling wrote:
On 07/21/2010 10:26 AM, Michael Wild wrote:
On 21. Jul, 2010, at 9:56 , Marcel Loose wrote:
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael Hertling
On 07/21/2010 10:26 AM, Michael Wild wrote:
On 21. Jul, 2010, at 9:56 , Marcel Loose wrote:
On Tue, 2010-07-20 at 09:18 -0700, Alan W. Irwin wrote:
On 2010-07-20 17:12+0200 Michael Hertling wrote:
On 07/20/2010 03:26 AM, Alan W. Irwin wrote:
On 2010-07-20 00:51+0200 Michael Hertling
501 - 600 of 708 matches
Mail list logo