Thank you, it works.
On Sun, Nov 1, 2009 at 4:36 PM, Michael Wild them...@gmail.com wrote:
On 1. Nov, 2009, at 16:27 , elizabeta petreska wrote:
Hello
I am using Windows ansd Cmake 2.6. I am invoking CMake from command window
which has set some environment variables. The environment
Bill Hoffman schrieb:
Modestas Vainius wrote:
P.S. Bill, when do you expect 2.8.0 final to be ready?
Hopefully soon. I am pretty much in regression fix only mode now.
Is there any chance that 9163 gets implemented in 2.8.0? This is the
last issue that prevents my stuff to work with VS2010.
Hi,
I am some problem using INCLUDE_DIRECTORIES macro, i am using Cmake
2.6 - path 0 and Visual studio 2005.
In my Cmakelist.txt
...
SET(MYINCLUDE_DIR ../3rdParty/include CACHE STRING My include dir
You may add additional search paths here. Use ; to separate multiple
paths.)
So, Here goes my first message in the mailing list.
I've got a problem.
I made a simple (and unfinished) app with Qt4 and cmake.
So, I wanted to build a debian package.
But there is an error that dpkg-buildpackage outputs - dpkg-genchanges:
error: cannot read files list file: No such file or
jago jagoc wrote:
Hi,
I am some problem using INCLUDE_DIRECTORIES macro, i am using Cmake
2.6 - path 0 and Visual studio 2005.
In my Cmakelist.txt
...
SET(MYINCLUDE_DIR ../3rdParty/include CACHE STRING My include dir
You may add additional search paths here. Use ; to separate multiple
paths.)
'lo,
On Mon, Nov 2, 2009 at 2:35 PM, Romain CHANU romainch...@gmail.com wrote:
Hello,
Regarding the FindJava.cmake, I have a couple of improvements to suggest:
1) I have noticed that there is no JAVA_FOUND variable in the current
version (and your version).
I have not tested it, but it
jago jagoc wrote:
Hi,
I am some problem using INCLUDE_DIRECTORIES macro, i am using Cmake
2.6 - path 0 and Visual studio 2005.
In my Cmakelist.txt
...
SET(MYINCLUDE_DIR ../3rdParty/include CACHE STRING My include dir
You may add additional search paths here. Use ; to separate multiple
Hello,
Regarding the FindJava.cmake, I have a couple of improvements to suggest:
1) I have noticed that there is no JAVA_FOUND variable in the current
version (and your version).
2) a JAVA_PATH (or another name) could also return the path where the Java
executables are located.
Since I do not
1) Yes FindPackageHandleStandardArgs seems to handle that. I was looking
eventually for some way to customize the error message...
2) I did not see the readme.txt, my bad... In this case, I think it is
alright :-) (unless, other developers have comments...). I wanted to have
only the path (not
jago jagoc wrote:
jago jagoc wrote:
Hi,
I am some problem using INCLUDE_DIRECTORIES macro, i am using Cmake
2.6 - path 0 and Visual studio 2005.
In my Cmakelist.txt
...
SET(MYINCLUDE_DIR ../3rdParty/include CACHE STRING My include dir
You may add additional search paths here. Use ; to separate
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
I updated the FindJava.cmake. It now implements the VERSION* stuff,
and I fixed the naming convention as per the readme.txt. I tested on
linux/gcj, linux/sun-java and linux/openjdk-6
Why are you using NO_DEFAULT_PATH and but listing
Hendrik,
On Mon, Nov 2, 2009 at 3:19 PM, Hendrik Sattler p...@hendrik-sattler.de wrote:
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
I updated the FindJava.cmake. It now implements the VERSION* stuff,
and I fixed the naming convention as per the readme.txt. I tested on
linux/gcj,
Hi there,
I am wondering if I am missing something. I'd like to write:
FIND_PACKAGE ( Boost COMPONENTS filesystem )
However using a recent boost (1.40), it gives a linker error. So I
need to write something like:
FIND_PACKAGE ( Boost COMPONENTS filesystem system )
but then it breaks
Hi,
I have an issue and I do not know if there is a solution to it...
I have two CMakeLists.txt files as described below (just the important
parts):
=== root/src/CMakeLists.txt === (build a shared library)
# Compilation
add_library(
${CMAKE_PROJECT_NAME} SHARED
Is it possible for cmake to create VisualStudio projects that have a
different set of libraries (AdditionalDependencies) for each
configuration type?
Specifically, I want to link my application's Debug version with
mylib.lib, which is a dynamic library, and my application's Release
version
On Mon, Nov 02, 2009 at 10:48:49PM +0800, Romain CHANU wrote:
# Add a custom target to manage dependencies
add_custom_target(cxx_xml_mapping DEPENDS xml_mapping)
add_custom_command(
OUTPUT cxx_xml_mapping
COMMAND ${XSD_EXECUTABLE} ARGS ${XSD_ARGS}
${CMAKE_CURRENT_SOURCE_DIR}/*.xsd
On Mon, Nov 02, 2009 at 09:48:35AM -0500, Roger Dannenberg wrote:
Is it possible for cmake to create VisualStudio projects that have a
different set of libraries (AdditionalDependencies) for each
configuration type?
Look at the debug/optimized flags to target_link_libraries().
tyler
On Mon, Nov 2, 2009 at 3:48 PM, Roger Dannenberg r...@cs.cmu.edu wrote:
Is it possible for cmake to create VisualStudio projects that have a
different set of libraries (AdditionalDependencies) for each configuration
type?
Specifically, I want to link my application's Debug version with
Hello
how to control where the generated moc files go ?
I am using this macro like this :
FILE(GLOB MOC_HEADERS
moc/*.h )
QT4_WRAP_CPP(out_moc_files ${MOC_HEADERS})
And the generated files are going in my CMAKE_BINARY_DIR.
What to do if I want the generated files to go to
1. If there is a restriction / condition regarding the out-of-date
behavior, it might be good to update the documentation.
2. Yes you are right, I got confused at some point :-\ It is fixed. But
still, it is compiling twice during make and make install (it should not
compile during the latest
Which FindBoost are you using? I'm pretty sure I fixed this issue a while
ago.
On Nov 2, 2009 9:46 AM, Mathieu Malaterre mathieu.malate...@gmail.com
wrote:
Hi there,
I am wondering if I am missing something. I'd like to write:
FIND_PACKAGE ( Boost COMPONENTS filesystem )
However using a
On Mon, Nov 02, 2009 at 11:28:08PM +0800, Romain CHANU wrote:
1. If there is a restriction / condition regarding the out-of-date
behavior, it might be good to update the documentation.
Agreed, but I don't understand the behavior so I can't help with that.
3. I am not 100% sure also... Anyone
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
Hendrik,
On Mon, Nov 2, 2009 at 3:19 PM, Hendrik Sattler
p...@hendrik-sattler.de wrote:
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
I updated the FindJava.cmake. It now implements the VERSION* stuff,
and I fixed the
Trying to configure CGAL 3.5 with cmake 2.8.0 rc4 on Fedora and cmake is
segfaulting. Quick analysis shows that it's faulting here:
#1 cmMakefile::RaiseScope (this=value optimized out)
at /usr/src/debug/cmake-2.8.0-rc4/Source/cmMakefile.cxx:3392
3392
I can reproduce with CMake / CVS.
FIND_PACKAGE ( Boost COMPONENTS filesystem )
ADD_LIBRARY( bla SHARED bla_use_filesystem.cxx)
TARGET_LINK_LIBRARIES( bla ${Boost_LIBRARIES} )
-
CMakeFiles/Csm.dir/Common/csmPathSet.cc.o: In function
`__static_initialization_and_destruction_0':
Orion Poplawski wrote:
Trying to configure CGAL 3.5 with cmake 2.8.0 rc4 on Fedora and cmake is
segfaulting. Quick analysis shows that it's faulting here:
#1 cmMakefile::RaiseScope (this=value optimized out)
at /usr/src/debug/cmake-2.8.0-rc4/Source/cmMakefile.cxx:3392
3392
On Mon, Nov 2, 2009 at 5:07 PM, Hendrik Sattler p...@hendrik-sattler.de wrote:
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
Hendrik,
On Mon, Nov 2, 2009 at 3:19 PM, Hendrik Sattler p...@hendrik-sattler.de
wrote:
Zitat von Mathieu Malaterre mathieu.malate...@gmail.com:
I
On 11/02/2009 09:34 AM, Brad King wrote:
Orion Poplawski wrote:
Trying to configure CGAL 3.5 with cmake 2.8.0 rc4 on Fedora and cmake is
segfaulting. Quick analysis shows that it's faulting here:
#1 cmMakefile::RaiseScope (this=value optimized out)
at
Hi all
Thanks in advance
1) We are trying to install cmake-gui for RHEL5 and we couldn't find any rpm
available ? (* we used yum and we have a proper license)
2) what is the url for cmake-gui source code ? (svn, cvs)
Many Thanks
TechSgin
___
Powered
Add system to the list of components. FindBoost should silently omit it on
older versions of boost w/o a system library. At least I think.
Sorry for brief messages, typing on mobile :)
On Nov 2, 2009 11:30 AM, Mathieu Malaterre mathieu.malate...@gmail.com
wrote:
I can reproduce with CMake /
On 10/29/2009 03:23 PM, Will Dicharry wrote:
Bill Hoffman wrote:
Will Dicharry wrote:
Is there a 2.8.0 release branch where I can make that change?
Make the change in head, and I will merge it into the next RC.
-Bill
Thanks, the change is committed.
Orion, is your site on the main
2009/11/2 tech user techs...@gmail.com:
Hi all
Thanks in advance
1) We are trying to install cmake-gui for RHEL5 and we couldn't find any rpm
available ? (* we used yum and we have a proper license)
2) what is the url for cmake-gui source code ? (svn, cvs)
cmake-gui is part of the CMake
Hi Eric
Still no cmake-gui :-(
p.s
cpack worked great and generated the basic cmake rpm, thanks.
thanks
techsgin
On Mon, Nov 2, 2009 at 8:36 PM, Eric Noulard eric.noul...@gmail.com wrote:
2009/11/2 tech user techs...@gmail.com:
Hi all
Thanks in advance
1) We are trying to install
Still no cmake-gui :-(
I have no experience with RHEL but I believe cmake-gui requires Qt 4.4
or greater. What version of Qt do you have installed?
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi Eric
I have found what i was missing.
--qt-gui
./configure --qt-gui
:-)
Thanks
On Mon, Nov 2, 2009 at 9:19 PM, tech user techs...@gmail.com wrote:
Hi Eric
Still no cmake-gui :-(
p.s
cpack worked great and generated the basic cmake rpm, thanks.
thanks
techsgin
On Mon, Nov
2009/11/2 tech user techs...@gmail.com:
Hi Eric
I have found what i was missing.
--qt-gui
./configure --qt-gui
Ok I see you were not only compiling CMake but **bootstraping** it.
Note that if you have a previous CMake version installed you
may perfectly build CMake using cmake.
Since
Do I actually need moc generated files per build comfiguration?
On Mon, Nov 2, 2009 at 4:21 PM, elizabeta petreska
elizabeta.petre...@gmail.com wrote:
Hello
how to control where the generated moc files go ?
I am using this macro like this :
FILE(GLOB MOC_HEADERS
moc/*.h )
Hi John
sadly RHEL5 comes with qt 3.3 installed. :-(
qt-3.3.6-23.el5
We did got errors while runing ./configure --qt-gui
cmSystemTools.o: In function
`cmSystemTools::RemoveRPath(std::basic_stringchar, std::char_traitscha
cmSystemTools.cxx:(.text+0x3b1): undefined reference to `cmELF::cmELF(char
Bill Hoffman wrote:
Kelly (KT) Thompson wrote:
Hi,
I am trying to use Intel ifort on Linux to compile source code that
uses the extension .F95. By default, ifort will not compile files
with this extension. To allow the compilation, the name of the source
file must be preceded by -Tf
tech user wrote:
Hi John
sadly RHEL5 comes with qt 3.3 installed. :-(
qt-3.3.6-23.el5
We did got errors while runing ./configure --qt-gui
Remove your build/source tree, and reconfigure with an out of source
build, and it should be fine. CMake has an issue where you can not
bootstrap
Thanks -- just what I needed.
Now that library selection is working, I'm having problems with library
generation: I'm generating two versions of a C library (static and
dynamic) and I want to control the C Runtime Library selection for the
debug and release version of each. I tried for
On Mon, Nov 02, 2009 at 06:32:19PM -0500, Roger Dannenberg wrote:
set_target_properties(mylib-static PROPERTIES CMAKE_C_FLAGS_DEBUG /MTd)
but the general CMAKE_C_FLAGS_DEBUG variable seems to be determining the
compiler flags. I can control the flags with CMAKE_C_FLAGS_DEBUG and
Hi all
And many thanks.
case solved. :-)
qt-qui require qt 4.3 (even that the bootstarp say 4.2)
so we have downloaded qt 4.5 opensource sdk.
then we got a link error with:
/opt/qtsdk-2009.01/qt/lib/libQtGui.so: undefined reference to
`FcFreeTypeQueryFace'
so ..
we had to download
Tyler Roscoe wrote:
On Mon, Nov 02, 2009 at 06:32:19PM -0500, Roger Dannenberg wrote:
set_target_properties(mylib-static PROPERTIES CMAKE_C_FLAGS_DEBUG /MTd)
but the general CMAKE_C_FLAGS_DEBUG variable seems to be determining the
compiler flags. I can control the flags with
On Nov 2, 2009, at 1:41 PM, elizabeta petreska wrote:
Do I actually need moc generated files per build comfiguration?
No you don't. The output from moc is identical for all build
configurations.
Clint
On Mon, Nov 2, 2009 at 4:21 PM, elizabeta petreska
elizabeta.petre...@gmail.com
Consider the following:
foo.cpp
#include iostream
int main()
{
std::cout foo std::endl;
return 0;
}
CMakeLists.txt
cmake_minimum_required(VERSION 2.6.4)
add_executable(foo foo.cpp)
set(BUILD_FOO ON PARENT_SCOPE)
With CMake built from the CMake-2-8 branch and also the head
How can I get over this issue?
add_executable cannot create target hassel because another target with the
same name already exists. The existing target is an executable created in
source directory ... See documentation for policy CMP0002 for
more details.
On Mon, Nov 2, 2009 at 2:30 PM, Brad King brad.k...@kitware.com wrote:
Unfortunately it looks like -Tf implies -fixed too so it does not
work with free-format sources unless -free is also added. We cannot
add -free automatically because some sources might be fixed. The
solution ties into
On Tue, Nov 03, 2009 at 01:21:35AM +, Alex H wrote:
How can I get over this issue?
add_executable cannot create target hassel because another target
with the same name already exists. The existing target is an
executable created in source directory ... See
documentation
Hi,
I have done some experiments and I have found something interesting.
Let's take my old example:
=== root/src/CMakeLists.txt === (build a shared library)
# Compilation
add_library(
${CMAKE_PROJECT_NAME} SHARED
${CMAKE_BINARY_DIR}/xsd/mapping_file.cxx)
# XML mapping source files are
Well, what I want to do is that in my code, I have a #define NORMAL_COMPILE,
and some other ones...
How can I let cmake define those macro so that when I type make, it will create
an executable with the define included?
Date: Mon, 2 Nov 2009 18:17:33 -0800
From: ty...@cryptio.net
To:
On Mon, Nov 2, 2009 at 7:36 PM, Roger Dannenberg r...@cs.cmu.edu wrote:
Tyler Roscoe wrote:
On Mon, Nov 02, 2009 at 06:32:19PM -0500, Roger Dannenberg wrote:
set_target_properties(mylib-static PROPERTIES CMAKE_C_FLAGS_DEBUG /MTd)
Thanks again. COMPILE_FLAGS seems to pass target-specific
On Tue, Nov 03, 2009 at 03:32:04AM +, Alex H wrote:
Well, what I want to do is that in my code, I have a #define NORMAL_COMPILE,
and some other ones...
How can I let cmake define those macro so that when I type make, it will
create an executable with the define included?
You use
if I have add_definition then the add_executable underneath it gets compiled
with the definition specified above it?
Date: Mon, 2 Nov 2009 20:11:41 -0800
From: ty...@cryptio.net
To: aditya15...@hotmail.com
CC: cmake@cmake.org
Subject: Re: [CMake] help me to resolve this issue
On
On Tue, Nov 03, 2009 at 05:54:16AM +, Alex H wrote:
if I have add_definition then the add_executable underneath it gets compiled
with the definition specified above it?
Why don't you try it and see? If it doesn't work, post your CMakeLists
and see if someone can help.
tyler
Thank you for the reply
then why when I am building my project with qmake, the moc generated files
are going in my debug and release folders? It shoud not be like so, if the
moc output is identical right? or I am missing something
On Tue, Nov 3, 2009 at 1:53 AM, Clinton Stimpson
56 matches
Mail list logo