Is there someway to programmatically, in the CMakeLists.txt file for
my project to turn off the embedding of manifest files? i.e. I'd like
to have separate manifest files.
In the gui this is done under project properties -> configuration
properties -> manifest tool -> input and ouput -> embed mani
On Thursday 06 August 2009, Tyler Roscoe wrote:
> On Thu, Aug 06, 2009 at 12:42:44PM -0700, ML wrote:
> > Thanks Tyler, is this avail in 2.6 (WINDOWS rather than using WIN32)
> > or in a future release?
>
> It's available if you are working with CMake at my company :). Otherwise
> you can do it you
On Thursday 06 August 2009, Michael Jackson wrote:
> Here is some snippets from a project that I use: (hdf5)
>
> # Include all the necessary files for macros
> INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
> INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
> INCLUDE (${CMAKE_ROOT}
Hi Mike,
Also is that a linker error or a compile error? Looks like a
compile error. You probably have to include the location of the
Carbon Headers.
What is the best way to do that exactly? I am in cluding Carbon/
Carbon.h in my source files. but I guess CMAKE needs to know where
to fin
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Aug 6, 2009, at 3:52 PM, ML wrote:
Hey Mike,
Also is tha
Not sure if this helps but from the FindQt4.cmake file there is the
following:
IF(Q_WS_MAC)
SET(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} "-
framework Carbon")
# Qt 4.0, 4.1, 4.2 use QuickTime
IF(QT_VERSION_MINOR LESS 3)
SET(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI
On Thu, Aug 06, 2009 at 12:42:44PM -0700, ML wrote:
> Thanks Tyler, is this avail in 2.6 (WINDOWS rather than using WIN32)
> or in a future release?
It's available if you are working with CMake at my company :). Otherwise
you can do it yourself easily:
# We want to use WINDOWS instead of th
Tyler,
Something like:
if (OSX)
if (Win32)
if(Linux)
http://www.cmake.org/Wiki/CMake_Useful_Variables/Logging_Useful_Variables
Btw, we're switching to using an extra variable WINDOWS that we define
as having the same value as WIN32. We got a lot of questions from
developers wondering if WI
HI All,
I am continuing my learning curve.
Consider this block:
if (APPLE)
SET(MOREFILESX_HEADERS
source/thirdparty/OSX/MoreFilesX/MoreFilesX.h
)
SET(MOREFILESX_SOURCES
source/thirdparty/OSX
Hi,
I'm trying to generate a qt4 *external* binary resource file
(http://doc.trolltech.com/4.5/resources.html).
However the macro QT4_ADD_RESOURCES only talks about "create code".
macro QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...)
create code from a list of Qt resource files.
James Bigler wrote:
> On Thu, Aug 6, 2009 at 12:10 PM, Bill Hoffman
> mailto:bill.hoff...@kitware.com>> wrote:
>
> James Bigler wrote:
>
>
> Well, I was using VS 2005 64 bit with SP 1. I wonder if there
> is a similar bug or if there is something else going wrong
> such
On Thu, Aug 06, 2009 at 11:58:53AM -0700, ML wrote:
> I am looking at the 2.6 documentation for a property or variable that
> I can use platform depending. I dont see one, so I am sure that I am
> looking int the wrong place.
>
> Something like:
>
> if (OSX)
>
> if (Win32)
>
> if(Linux)
ht
On Thu, Aug 6, 2009 at 12:10 PM, Bill Hoffman wrote:
> James Bigler wrote:
>
>
>> Well, I was using VS 2005 64 bit with SP 1. I wonder if there is a
>> similar bug or if there is something else going wrong such as what Marcus
>> Hanwall described.
>>
>>
> I am not sure what your issue is, but I k
Hi All,
I am looking at the 2.6 documentation for a property or variable that
I can use platform depending. I dont see one, so I am sure that I am
looking int the wrong place.
Something like:
if (OSX)
if (Win32)
if(Linux)
etc.
I tried googling for 'cmake platform check' and did not fin
On Thu, Aug 6, 2009 at 2:34 PM, ML wrote:
> Hi All,
>
> Can CMAKE use Pre-compiled headers now? I thought that I recalled their
> being an issue at some point, not sure.
>
> Can anyone shed some light?
>
I do this for my Visual Studio builds with a macro.
#
Hi All,
Can CMAKE use Pre-compiled headers now? I thought that I recalled
their being an issue at some point, not sure.
Can anyone shed some light?
-Jason
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitw
James Bigler wrote:
> I've just been bitten hard by this issue (many hours of frustration
> while attempting to run a demo application that should have "Just
> Worked" (TM) ).
>
> According to this page:
>
> http://support.microsoft.com/kb/326922
>
>
> "You should install these versions of the CRT
James Bigler wrote:
Well, I was using VS 2005 64 bit with SP 1. I wonder if there is a
similar bug or if there is something else going wrong such as what
Marcus Hanwall described.
I am not sure what your issue is, but I know I have done this many
times...
-Bill
___
Bill Hoffman wrote:
James Bigler wrote:
I've just been bitten hard by this issue (many hours of frustration
while attempting to run a demo application that should have "Just
Worked" (TM) ).
According to this page:
http://support.microsoft.com/kb/326922
"You should install these versions of
On Thu, Aug 6, 2009 at 11:55 AM, Bill Hoffman wrote:
> James Bigler wrote:
>
>> I've just been bitten hard by this issue (many hours of frustration while
>> attempting to run a demo application that should have "Just Worked" (TM) ).
>>
>> According to this page:
>>
>> http://support.microsoft.com/
James Bigler wrote:
I've just been bitten hard by this issue (many hours of frustration
while attempting to run a demo application that should have "Just
Worked" (TM) ).
According to this page:
http://support.microsoft.com/kb/326922
"You should install these versions of the CRT on target co
I've just been bitten hard by this issue (many hours of frustration while
attempting to run a demo application that should have "Just Worked" (TM) ).
According to this page:
http://support.microsoft.com/kb/326922
"You should install these versions of the CRT on target computers by running
the V
Il giorno Thu, 6 Aug 2009 08:49:27 -0700
Tyler Roscoe ha scritto:
> On Thu, Aug 06, 2009 at 12:43:05PM +0200, Antonio Valentino wrote:
> > The unset command seems to be undocumented in cmake 2.6.2 (the one
> > packaged in ubuntu jaunty).
> > Is it new?
>
> Newer than 2.6.2, yes. Not sure if it's
On Thu, Aug 06, 2009 at 08:04:37PM +0900, Asmodehn Shade wrote:
> there fore I use the trick here which gives me the correct solution :
> http://www.vtk.org/Wiki/CMake_FAQ#How_to_convert_a_semicolon_separated_list_to_a_whitespace_separated_string.3F
>
> So now SPACES_SOURCES holds : "filea.c fileb
On Thu, Aug 06, 2009 at 12:43:05PM +0200, Antonio Valentino wrote:
> The unset command seems to be undocumented in cmake 2.6.2 (the one
> packaged in ubuntu jaunty).
> Is it new?
Newer than 2.6.2, yes. Not sure if it's different for cache variables
but you can use set(myVar) in 2.6.2 to get the sa
See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538280
--
Mathieu
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake
On Aug 6, 2009, at 10:23 , Clinton Stimpson wrote:
On 08/06/2009 06:49 AM, Mathieu Malaterre wrote:
On Thu, Aug 6, 2009 at 2:46 PM, Mathieu
Malaterre wrote:
On Thu, Aug 6, 2009 at 2:27 PM, Stephen Roderick
wrote:
On Aug 6, 2009, at 06:02 , Mathieu Malaterre wrote:
On Wed, Aug 5, 2009 a
On 08/06/2009 06:49 AM, Mathieu Malaterre wrote:
On Thu, Aug 6, 2009 at 2:46 PM, Mathieu
Malaterre wrote:
On Thu, Aug 6, 2009 at 2:27 PM, Stephen Roderick wrote:
On Aug 6, 2009, at 06:02 , Mathieu Malaterre wrote:
On Wed, Aug 5, 2009 at 6:55 PM, Stephen Roderick wrote:
Here is some snippets from a project that I use: (hdf5)
# Include all the necessary files for macros
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFileCXX.cmake)
INCLUDE (${CMAKE_ROOT}/Mo
On Thu, Aug 6, 2009 at 2:46 PM, Mathieu
Malaterre wrote:
> On Thu, Aug 6, 2009 at 2:27 PM, Stephen Roderick wrote:
>> On Aug 6, 2009, at 06:02 , Mathieu Malaterre wrote:
>>
>>> On Wed, Aug 5, 2009 at 6:55 PM, Stephen Roderick wrote:
The existing UseSWIG.cmake file creates a MODULE and not
On Thu, Aug 6, 2009 at 2:27 PM, Stephen Roderick wrote:
> On Aug 6, 2009, at 06:02 , Mathieu Malaterre wrote:
>
>> On Wed, Aug 5, 2009 at 6:55 PM, Stephen Roderick wrote:
>>>
>>> The existing UseSWIG.cmake file creates a MODULE and not a SHARED
>>> library.
>>> The module is unuseable by any progra
On Aug 6, 2009, at 06:02 , Mathieu Malaterre wrote:
On Wed, Aug 5, 2009 at 6:55 PM, Stephen Roderick
wrote:
The existing UseSWIG.cmake file creates a MODULE and not a SHARED
library.
The module is unuseable by any program trying to load dynamic
libraries (eg
wrapped Java). The attached patc
Hi,
I think you should be able to do something like the following:
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS}) # For CXX
probably as well
ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" )
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" )
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" )
set(CMAKE_C_FLAG
Ah I forgot to say also...
I cant put the whole command line in quotes, otherwise the add_custom_target
tells me
"/bin/sh : command not found "
"
so I need to separate the command executable and its parameter, but then the
command gets parameters with quotes and fails...
---
AlexV ... puzzled...
Hi everyone,
Sorry if this has been answered before, but google doesnt give me anything
useful...
Lets say I have a list of source files : SOURCES holds : filea.c;fileb.c
I want to pass them to an external program ( Astyle for example ) so I need
to have a whitespace separated list
there fore I
Hi,
I want to rebrand a package. It would be nice if I could do that without
changing a lot of code, so I was wondering if I rename the *.exe binary
and point the installer and menu item on Windows to that renamed binary
using cpack?
Any suggestions, tips?
Thanks in advance,
\d
__
Il giorno Thu, 06 Aug 2009 12:04:06 +0200
Hendrik Sattler ha scritto:
> Zitat von Antonio Valentino :
> > I would like allow the user to choose whenever to use the system
> > version of a library or the developer provided one.
> >
> > In the code snippet below the library is FFTW and its source
>
Zitat von Antonio Valentino :
I would like allow the user to choose whenever to use the system
version of a library or the developer provided one.
In the code snippet below the library is FFTW and its source archive is
bundled together with the project source in the COTS/FFTW sub-folder.
The pr
On Wed, Aug 5, 2009 at 6:55 PM, Stephen Roderick wrote:
> The existing UseSWIG.cmake file creates a MODULE and not a SHARED library.
> The module is unuseable by any program trying to load dynamic libraries (eg
> wrapped Java). The attached patch fixes this problem for our situations.
> Demonstrate
Hi list,
I would like allow the user to choose whenever to use the system
version of a library or the developer provided one.
In the code snippet below the library is FFTW and its source archive is
bundled together with the project source in the COTS/FFTW sub-folder.
The problem is how to reset t
On 6. Aug, 2009, at 3:03, Joseph Garvin wrote:
One of the cool features of autotools is configure tests -- actually
invoking the compiler on a small sample program and seeing if it's
successful. Does CMake do this or do you have to depend on #ifdef
SOME_PLATFORM blocks to enable/disable feature
41 matches
Mail list logo