Am Friday 01 October 2010 schrieb John Drescher:
> On Thu, Sep 30, 2010 at 7:47 PM, James Bigler wrote:
> > On Thu, Sep 30, 2010 at 5:42 PM, James Bigler
wrote:
> >> I'm currently using VS 2008 64 bit with CMake 2.6.3.
> >
> > This also happens with 2.8.3 RC1.
>
> That is good. I would be worr
On Thu, Sep 30, 2010 at 11:04 AM, wrote:
> *Done. Issue number 11279. [
> http://public.kitware.com/Bug/view.php?id=11279]*
>
> * *
>
> *I also noted that the script could be improved by calling the compiler
> with the ‘/?’ switch and parsing it’s output instead of parsing the output
> from try
Hi All,
using cmake for a quite big project (with several sub-projects, some macros, find modules etc.) sometimes .vcxproj
contains output like this:
/Zm1000 /bigobj
%(AdditionalOptions)
%(AdditionalIncludeDirectories)
... LOTS OF INCLUDES ...
/include
EnableF
On Thu, Sep 30, 2010 at 7:42 PM, James Bigler wrote:
> Is CMake supposed to stop the VS build when configure fails?
>
Yes.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.ht
On Thu, Sep 30, 2010 at 7:47 PM, James Bigler wrote:
> On Thu, Sep 30, 2010 at 5:42 PM, James Bigler wrote:
>>
>> I'm currently using VS 2008 64 bit with CMake 2.6.3.
>
> This also happens with 2.8.3 RC1.
>
That is good. I would be worried if it did not. The error means a file
(traversal.c) is mi
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler wrote:
> I'm currently using VS 2008 64 bit with CMake 2.6.3.
>
This also happens with 2.8.3 RC1.
James
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/o
Is CMake supposed to stop the VS build when configure fails?
1>CMake Error in samples/traversal/CMakeLists.txt:
1> Cannot find source file "traversal.c". Tried extensions .c .C .c++ .cc
1> .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
1>-- Build files have been written to: C:/code/rtsd
2010/9/30 Guillaume Duhamel :
> Hi,
> I'm trying to use "file(COPY ..." during the build of one of my project.
"file(COPY ..." is a **CMake-time** command, i.e. it will be processed
when CMake runs
and not when building (unless make is triggering a cmake run)
If you want **Build-time** command you
Oops. I just realized I already requested this (with the same title no less).
This didn't make it into the latest RC for Cmake. Does anyone know if it's
planned for next?
--
Shane Dixon
Linux Engineer
Atmel Corporation
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmak
On Mon, Sep 20, 2010 at 09:07:34AM -0700, Keith Gunderson wrote:
> I'm using a MSVC 9.0 Generator with Cmake 2.8.2
>
> How do I add a change so that the command for my RUN_TESTS project changes
> from
> the default of:
>
> "C:\Program Files\CMake 2.8\bin\ctest.exe" --force-new-ctest-process -C
Is it possible to update the FindGit.cmake module to be more friendly? I
changed the line:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
DOC "git command line client"
)
To:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
PATHS "$ENV{ProgramFiles}/Git/bin"
DOC "git command line clie
On Thursday 30 September 2010, Ryan Pavlik wrote:
> Either add it to your COMPILE_FLAGS, or create/configure a header file
> with #undef lines.
There is also the cmake command remove_definitions()
Alex
___
Powered by www.kitware.com
Visit other Kitwa
On Thursday 30 September 2010, Nicola Brisotto wrote:
> I use Qt creator with cmake for desktop application and it work well. It
> has support for out of source build, it populate the project browser with
> you source and header, etc My main issue is not a full Qt Creator
> integration. My first ne
On Wed, Sep 29, 2010 at 8:09 PM, Clifford Yapp wrote:
> After working for a while at converting a project to CMake, I would
> like to ask a question/suggest a feature for CMake.
>
> The project I am working on (BRL-CAD) includes various external
> libraries that it relies on on a subdirectory, wit
Either add it to your COMPILE_FLAGS, or create/configure a header file
with #undef lines.
Ryan
On 09/30/2010 01:18 PM, Steven Wilson wrote:
Using set_target_properties() we can set the COMPILE_DEFINITIONS
target property to easily define preprocessor macros for our build.
Is there a mechan
Using set_target_properties() we can set the COMPILE_DEFINITIONS target
property to easily define preprocessor macros for our build. Is there a
mechanism to undefine preprocessor macros (equivalent to -U for many Unix
compilers or /U for Microsoft's compilers)?
Thanks,
Steve
___
On 30. Sep, 2010, at 18:10 , David Aldrich wrote:
> Hi Marcel
>
>> Considering all the hassle you have to go through. Why don't you build a
>> shared libKernel.so library and let the runtime loader fix all the
>> issues you're now trying to solve compile/link time?
>
> Thanks for your suggestio
On 30. Sep, 2010, at 15:24 , Cliff Yapp wrote:
> On 09/30/2010 01:50 AM, Michael Wild wrote:
>>
>>> 2. Because ExternalProject_Add does a full build and install prior to
>>> building other targets (which I think is fine) I sometimes put myself
>>> in the annoying position of building the whole
Hi Marcel
> Considering all the hassle you have to go through. Why don't you build a
> shared libKernel.so library and let the runtime loader fix all the
> issues you're now trying to solve compile/link time?
Thanks for your suggestion. I'm not sure how that would work out. At start-up
the runti
I use Qt creator with cmake for desktop application and it work well. It has
support for out of source build, it populate the project browser with you
source and header, etc
My main issue is not a full Qt Creator integration. My first need is build with
cmake from console.
Currently Qt support
Hi,
I'm trying to use "file(COPY ..." during the build of one of my project.
The documentation says that files get overwritten according to their
timestamps, but it seems they just never get overwritten.
For instance, with this CMakeLists :
===
project(test)
cmake
Hi,
until recently I was pretty sure that CMake uses default compiler /
linker options that you usually get when setting up a VisualStudio
project by hand.
I was proven wrong after our latest code changes killed the compiler
with 'compiler is out of heap space' error messages. The problem, as the
Done. Issue number 11279.
[http://public.kitware.com/Bug/view.php?id=11279]
I also noted that the script could be improved by calling the compiler
with the '/?' switch and parsing it's output instead of parsing the
output from try_compile'ing a simple c file it writes. That would make
it quit
Bill Hoffman
writes:
[snip]
> This is a limitation of jom, I know the maintainer of jom said he
> wanted to work on this as a feature, but I don't think he has done it
> yet...
Thanks Bill.
I'll open a bug report on the Qt bug tracker just to let him know that
someone cares about that feature.
On 9/30/2010 10:03 AM, Óscar Fuentes wrote:
Is this a limitation of JOM or an oversight of CMake?
This is a job limitation.
What this means?
It means my spell checker turned jom into job... :)
This is a limitation of jom, I know the maintainer of jom said he wanted
to work on this as a
Bill Hoffman
writes:
> On 9/24/2010 1:03 PM, Óscar Fuentes wrote:
>> JOM does a nice work compiling multiple files of the same top-level
>> product (.exe, .dll etc) but for some reason it doesn't build multiple
>> top-level targets in parallel. Here I have a project that generates
>> several inde
On Thu, Sep 30, 2010 at 12:43 PM, Nicola Brisotto
wrote:
> Hi,
> I use cmake with qt projects for desktop application. Recently I've been
> started developing for symbian.
> I've found a generator for carbide but I use Qt Creator.
> I would like to generate Makefile like qmake does and then build
On 09/30/2010 01:50 AM, Michael Wild wrote:
>
>> 2. Because ExternalProject_Add does a full build and install prior to
>> building other targets (which I think is fine) I sometimes put myself
>> in the annoying position of building the whole system, then realizing
>> I forgot to clean an old build
Aaron,
Thanks for posting. Could you open a new bug report and attach your patch
to it?
On Wed, Sep 29, 2010 at 9:33 PM, wrote:
> *Hi all. I noticed that CMakeDetermineVSServicePack.cmake only supports
> vs2005, vs2005 sp1, vs2008, vs2008 sp1. I wanted to use it for vs2010.*
>
> * *
>
> *I
> I use cmake with qt projects for desktop application. Recently I've been
> started developing for symbian.
> I've found a generator for carbide but I use Qt Creator.
> I would like to generate Makefile like qmake does and then build the project
> with the Symbian toolchain.
> Qmake has also the s
This works. Thanks. Save me from a lot of trouble.
On Wed, Sep 29, 2010 at 11:07 PM, Bill Hoffman wrote:
> On 9/29/2010 11:02 AM, elizabeta petreska wrote:
>
>> This is the link to bug report
>> http://www.paraview.org/Bug/view.php?id=11274
>>
>>
> OK, I have fixed the issue in CMake next.
>
> To
On Thu, 2010-09-30 at 12:30 +0100, David Aldrich wrote:
> Hi Michael
>
> > So, the options are:
> >
> > - use -whole-archive as you do now
> > - make the Kernel library shared
> > - link the dlopen'ed libraries against Kernel
>
> Thanks very much - I understand. I think I will keep the
-whole-ar
On 30. Sep, 2010, at 13:30 , David Aldrich wrote:
> Hi Michael
>
>> So, the options are:
>>
>> - use -whole-archive as you do now
>> - make the Kernel library shared
>> - link the dlopen'ed libraries against Kernel
>
> Thanks very much - I understand. I think I will keep the -whole-archive
> m
Hi Michael
> So, the options are:
>
> - use -whole-archive as you do now
> - make the Kernel library shared
> - link the dlopen'ed libraries against Kernel
Thanks very much - I understand. I think I will keep the -whole-archive method.
However, now I'm worried about how I link in the Python lib
On 30. Sep, 2010, at 13:05 , David Aldrich wrote:
> Hi
>
> Ok, by following the link to the wiki suggested by Michael Loose, I used:
>
> target_link_libraries( myProj -Wl,-whole-archive Kernel -Wl,-no-whole-archive)
>
> This has fixed my problem. The executable links and runs correctly.
>
> M
Hi
Ok, by following the link to the wiki suggested by Michael Loose, I used:
target_link_libraries( myProj -Wl,-whole-archive Kernel -Wl,-no-whole-archive)
This has fixed my problem. The executable links and runs correctly.
My link command is now:
/usr/bin/c++ -O3 -DNDEBUG -Wall -m64 -Wl,--
Hi
> I tried adding:
>
> SET(CMAKE_EXE_EXPORTS_CXX_FLAG "-Wl,--export-dynamic")
>
> But that made no difference to the link command. Am I doing the right thing?
Fixed this by doing:
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
...
SET_TARGET_PROPERTIES(zodiac PROPERTIES ENABLE_EXPORTS ON)
I no
Hi,
I use cmake with qt projects for desktop application. Recently I've been
started developing for symbian.
I've found a generator for carbide but I use Qt Creator.
I would like to generate Makefile like qmake does and then build the project
with the Symbian toolchain.
Qmake has also the support
Hi Michael
> For one, you are missing -ldl. Add ${CMAKE_DL_LIBS} to your
> target_link_libraries call.
Thanks for pointing that out. It's in there now:
/usr/bin/c++ -O3 -DNDEBUG -Wall -m64 -o myProj -rdynamic Kernel/libKernel.a
-ldl -lpython2.4
> --export-dynamic may be also necessary, if yo
On 30. Sep, 2010, at 11:15 , David Aldrich wrote:
> Hi Michael
>
> Thanks for your reply.
>
>> The only difference between -fpic and -fPIC is that the latter has no limit
>> on the size of the global offsets table and this is only relevant for the
>> m68k, PowerPC and SPARC architectures (accor
On Thu, 2010-09-30 at 10:15 +0100, David Aldrich wrote:
> Hi Michael
>
> Thanks for your reply.
>
> > The only difference between -fpic and -fPIC is that the latter has
no limit
> > on the size of the global offsets table and this is only relevant
for the
> > m68k, PowerPC and SPARC architectures
On 30. Sep, 2010, at 11:11 , Christoph Groth wrote:
> Michael Wild writes:
>
>> On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
>>
>>> I was not able to find out how to specify different installation and
>>> runtime locations with cmake.
>>
>> Why must your program know anything about the
Hi Michael
Thanks for your reply.
> The only difference between -fpic and -fPIC is that the latter has no limit
> on the size of the global offsets table and this is only relevant for the
> m68k, PowerPC and SPARC architectures (according to the GCC manual page).
Yes, we aren't using those arch
Michael Wild writes:
> On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
>
>> I was not able to find out how to specify different installation and
>> runtime locations with cmake.
>
> Why must your program know anything about the $HOME prefix? After all,
> it's only symlinked there.
Some packa
On Wed, 2010-09-29 at 18:16 +0200, pellegrini wrote:
> Hello everybody,
>
> I come back with a question I asked yesterday but that I surely
> misformulated. In the meantime I turned around
> the problem all the day but still without any results ...
>
> I would like to build my project using ifor
On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
> Dear cmake experts,
>
> I like to use GNU stow to install self-compiled packages on my system.
> For this to work best, I have to be able to specify during package
> configuration a different runtime location (the directory prefix the
> packa
Dear cmake experts,
I like to use GNU stow to install self-compiled packages on my system.
For this to work best, I have to be able to specify during package
configuration a different runtime location (the directory prefix the
package will "think" it is installed to) and installation location (the
47 matches
Mail list logo