I don't think it is correct.
Better, you should pass configuration which you want to install to cpack.
For your solution, I suppose you need more elaborate build process. While VS
can do this job for you, on Unix you should (manually) explicitly build all
of your configurations. That is: (this usua
Bill Hoffman wrote:
Moritz Moeller wrote:
FIND_LIBRARY(3DELIGHT_LIBRARY NAMES 3Delight PATH $ENV{DELIGHT}/lib)
MESSAGE(STATUS ${3DELIGHT_LIBRARY})
It is PATHS not PATH. You told it to look for a library that might be
named 3Delight, PATH or C:/Program Files/3Delight/lib.
That was it. T
Moritz Moeller wrote:
FIND_LIBRARY(3DELIGHT_LIBRARY NAMES 3Delight PATH $ENV{DELIGHT}/lib)
MESSAGE(STATUS ${3DELIGHT_LIBRARY})
It is PATHS not PATH. You told it to look for a library that might be
named 3Delight, PATH or C:/Program Files/3Delight/lib.
-Bill
___
Sorry for the n00b question but I'm totally new to CMake. :)
I wrote a module to add a package. This works great for the include
path, but the lib can't be found.
Here is the top part of my find module:
IF(3DELIGHT_INCLUDE_DIR AND 3DELIGHT_LIBRARY)
SET(3DELIGHT_FIND_QUIETLY TRUE)
EN
On Friday 26 September 2008, Mathieu Malaterre wrote:
> 'lo,
>
>did anyone wrote a small cmake script to harvest all found
> executables and pass that list to CPACK_STRIP_FILES ?
You don't have to.
With cmake 2.6, set CPACK_STRIP_FILES to TRUE and it will do that
automatically.
Alex
On Wednesday 01 October 2008, Mike Arthur wrote:
> On Tuesday 30 September 2008 23:18:57 Alexander Neundorf wrote:
> > So you want it to run your tests added using add_test(). This is what it
> > does. "make test" alone doesn't update from svn or submit build logs. I
> > guess you mean you want to
On Tuesday 30 September 2008, Mathieu Malaterre wrote:
> Hi there,
>
> I would like to know if the target system support the
> INSTALL(EXPORT) signature. As far as I understand IF(COMMAND) only
> check the command but not the signature, right ?
Yes.
You could check for version >= 2.6.0.
Or if ex
On Tuesday 23 September 2008, E. Wing wrote:
> Given the fact that you know Bryan O'Sullivan, you should be
> considering Mercurial.
It also has better Windows support and good docs (hg book)
Alex
___
CMake mailing list
CMake@cmake.org
http://www.cmake.
On Monday 22 September 2008, Aleksander Demko wrote:
> How do I test if a library target is static or shared? I've checked
> the target properties and commands and nothing sticks out.
Try get_target_property(targetType myTarget TYPE)
Ooops, seems this is undocumented...
Will fix that.
Alex
_
On Friday 19 September 2008, Boudewijn Rempt wrote:
> On Fri, 19 Sep 2008, Boudewijn Rempt wrote:
> > Hi,
> >
> > We're having a little problem when trying to compile a Qt-based library
> > (libiris) using nmake. We're using cmake 2.6 and automoc, but running
> > nmake results in:
> >
> > C:\WORK\H
On Thursday 18 September 2008, [EMAIL PROTECTED] wrote:
> Hi y'all,
>
> I'm a rather new cmake user and I've got a hen & egg problem:
>
> My generator takes an inputfile and a directory, it creates output files
> in
> that directory. Number and names of generated files depend on the
> contents of
Is there a standard way to find the library needed for a particular
function, when possibly none is needed? For example, gethostbyname might
be provided in libc, libnsl, libsocket, etc. on various platforms.
I've found myself a couple times now writing a macro to do this, but I
wonder if there
On Wednesday 17 September 2008, Simon Barner wrote:
> Dear CMake users list,
>
> I am currently development a CMake cross build platform
> definition to support Microchips C18 C compiler[1].
>
> I encountered the problem that C18's linker does not like '/' as
> path delimiter which is why I need so
On Wednesday 17 September 2008, Leo Breebaart wrote:
> In CMake 2.6.1, the header for FindTIFF.cmake says:
>
> # This module defines
> # TIFF_INCLUDE_DIR, where to find tiff.h, etc.
> # TIFF_LIBRARIES, libraries to link against to use TIFF.
> # TIFF_FOUND, If false, do not try to use TIFF.
> # a
On Wed, Oct 1, 2008 at 5:33 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> Stephen Sinclair wrote:
>>
>> Hi,
>>
>> This is strange.
>> I'm using CMake on Fedora Core 9. I have a few .c files that should
>> only be included when my project is compiled on Windows, but for some
>> reason it was includ
Stephen Sinclair wrote:
Hi,
This is strange.
I'm using CMake on Fedora Core 9. I have a few .c files that should
only be included when my project is compiled on Windows, but for some
reason it was including them on Linux. I paired this down to a
minimal example that goes wrong. It seems that
Hi,
This is strange.
I'm using CMake on Fedora Core 9. I have a few .c files that should
only be included when my project is compiled on Windows, but for some
reason it was including them on Linux. I paired this down to a
minimal example that goes wrong. It seems that my subdirectory has
the WI
Attached is (FindXercesC.cmake) a proposal for Xerces-C XML parser
(http://xerces.apache.org/xerces-c/) module for CMake. I've added
some small cleanups from previous version (posted here:
http://www.cmake.org/pipermail/cmake/2008-September/024277.html).
Attached is also, for the purpose of testi
Hi,
I'm using cmake in a project to build different configurations (debug-static,
debug-shared, release-...) of a library out of the same sources. All these
built libraries have to be in a single project as cpack is used to make
binary packages for windows and linux.
In case of the windows pla
I filed a bug about this
(http://public.kitware.com/Bug/view.php?id=7757), and Bill told me
about CMAKE_CURRENT_LIST_FILE.
CMAKE_CURRENT_LIST_FILE
Full path to the listfile currently being processed.
As CMake processes the listfiles in your project this variab
Am 30.09.2008 um 21:39 schrieb Timenkov Yuri:
On Tue, Sep 30, 2008 at 3:45 PM, Jonas Bähr <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm using a macro [1] iterating over a list of source files and
setting a
> COMPILE_FLAGS property. The problem is that there are some files
in the list
> which ar
http://www.cmake.org/Wiki/BuildingOSXApplications
Done. and I updated the project also. it can now be found also on the
wiki site:
http://www.cmake.org/Wiki/images/e/e3/QTTest.zip
The updates include changes so that the bundle only gets "completed"
during a installation process.
I welcom
22 matches
Mail list logo