Original-Nachricht
Datum: Wed, 20 Dec 2006 11:27:45 -0500
Von: Mike Jackson <[EMAIL PROTECTED]>
An: David Cole <[EMAIL PROTECTED]>
Betreff: Re: [CMake] How to get a variable that is defined in another
CMakeLists.txt file
> That did not seem to work either. Basically I am tryi
On Wednesday 20 December 2006 23:38, Mike Jackson wrote:
> So in Project B's CMakeLists.txt file I have:
>
> SUBDIRS(${PROJECT_SOURCE_DIR}/Project_A)
>
> ADD_EXECUTABLE( MyProgram ${SOURCES})
> TARGET_LINK_LIBRARIES( MyProgram ${A_LIB_OUTPUT_NAME})
As far as I understand it variables def
On Dec 20, 2006, at 3:15 PM, Axel Roebel wrote:
On Wednesday 20 December 2006 17:27, Mike Jackson wrote:
That did not seem to work either. Basically I am trying to set a
place where we can set the names of the libraries and apps and have
those found by other projects that depend on these base
On Wednesday 20 December 2006 17:27, Mike Jackson wrote:
> That did not seem to work either. Basically I am trying to set a
> place where we can set the names of the libraries and apps and have
> those found by other projects that depend on these base libraries.
>
>I have noticed that if you "I
Am Mittwoch, den 20.12.2006, 12:28 +0100 schrieb frederic heem:
>
> Note that cmake has a bug in which it reports the error at FindXSD.cmake:55,
> whereas the mistake is in PCHSupport.cmake.
> Then the marco tries to copy the precompiled header to the build directory
> but
> fails because the
Hi,
Is there a nice way to find out if a target is using -fPIC ?
Indeed, this information is needed for generating compiled header.
At the moment, a kludge is to use the following code:
#If the target is a shared library, add -fPIC to compile
GET_TARGET_PROPERTY(_targetType ${_targetName}
That did not seem to work either. Basically I am trying to set a
place where we can set the names of the libraries and apps and have
those found by other projects that depend on these base libraries.
I have noticed that if you "INCLUDE(${PROJECT_SOURCE_DIR}/
FindHDF.cmake)" a file, in this
Hello,
How can I have the build portion of running ctest -D Experimental use
the -j option and do a parallel build? I normally do a make -j 4 and
want to do something similar when building an Experimental (or Nightly
or Continuous build for that matter). Thanks. Sorry if this is obvious.
-
On Monday 18 December 2006 1:47 pm, Maik Beckmann wrote:
> Am Montag, den 18.12.2006, 13:33 +0100 schrieb Maik Beckmann:
>
>
> Even more intelligent ;)
>
> Maik
Hi,
The new macro generates an error:
CMake Error: Error in cmake code at
/home/heefre/svn/trunk/voxgratia/OpalTester/cmake/modules/FindX
You can inherit from the top level CMakelists.txt variables.
So if the GET_DIRECTORY_PROPERTY command does not work for your case,
you can use the SET command in the top level CMakeLists.txt which calls
the command ADD_SUBDIRECTORY of your libraries A and B.
Something like:
IF(condition)
S
Von: Craig Bradney <[EMAIL PROTECTED]>
> On Monday 18 December 2006 19:40, Alexander Neundorf wrote:
> > Von: Craig Bradney <[EMAIL PROTECTED]>
> >
> > > Hi,
> > >
> > > I'm wondering if theres an option or setting I have missed for outof
> > > source builds.
> > >
> > > When you build Scribus ou
Hi,
Von: "Mehdi Rabah" <[EMAIL PROTECTED]>
> Hi everyone,
>
> I have another simple question : is there a way to tell cmake to search
> some
> directories for sources (not include files)
> Let's say I have:
>
> add_executable(exec src/source1 src/source2)
>
> and I'd prefer having somehting li
Alexander Neundorf a écrit :
...
I have defined EXECUTABLE_OUTPUT_PATH to set this general bin
directory and I did try to change the output name (OUTPUT_NAME
property of the target) for the helper programs. But it did not work
because the value of EXECUTABLE_OUTPUT_PATH is always
prepended to th
13 matches
Mail list logo