Tron Thomas wrote:
Tyler Roscoe wrote:
On Fri, May 08, 2009 at 01:43:16PM -0700, Tron Thomas wrote:
I am trying to use CMake to configure a project for Windows. The
project has dependencies on 3rd party packages. Most of these packages
are resolved successful with the FIND_PACKAGE command
Tyler Roscoe wrote:
On Fri, May 08, 2009 at 01:43:16PM -0700, Tron Thomas wrote:
I am trying to use CMake to configure a project for Windows. The
project has dependencies on 3rd party packages. Most of these packages
are resolved successful with the FIND_PACKAGE command. However, CMake
i
On Fri, May 08, 2009 at 11:27:41PM +0200, Piotr Wyderski wrote:
> Unfortunately not, the primary goal is to generate a preprocessed
> source file. The entry list is just a way
> to inform the compiler about the input files involved.
> The task is easy on its own, i.e. run gcc with -E, but
> it must
Hello Sebastian,
On Friday 08 May 2009, Sebastian Witt wrote:
> Hello list,
>
> I'm using cmake for generating OpenWatcom wmake files for 32-bit DOS
> applications.
>
> Currently I've modified the file Modules\Platform\Windows-wcl386.cmake:
>
> - Removed -br -bm from CMAKE_C_FLAGS*INIT (runtime dl
On Fri, May 08, 2009 at 01:43:16PM -0700, Tron Thomas wrote:
> I am trying to use CMake to configure a project for Windows. The
> project has dependencies on 3rd party packages. Most of these packages
> are resolved successful with the FIND_PACKAGE command. However, CMake
> is unable to resol
It's a bug... that shortcut should point to cmake-gui now... go ahead and
enter a bug report in mantis.
thx,
David
On Fri, May 8, 2009 at 11:23 AM, Robert Dailey wrote:
> When installing CMake 2.6.4 on Windows XP, I notice that the shortcut that
> the installer creates links to the deprecated G
On Friday 08 May 2009, Javier Loureiro Varela wrote:
> I am trying to include some assembler files in my project for visual studio
> (masm)
>
> How should I do it?
>
> after reading http://www.cmake.org/Wiki/CMake/Assembler , anything there
> works for me:
>
> SET(CMAKE_CAN_USE_ASSEMBLER TRUE)
Ther
I am trying to use CMake to configure a project for Windows. The
project has dependencies on 3rd party packages. Most of these packages
are resolved successful with the FIND_PACKAGE command. However, CMake
is unable to resolve a recent package that was added to the project,
even though the f
Tyler Roscoe wrote:
> I don't know how to run the preprocessor by itself. If all you are
> trying to do is write out a file containing the contents of entry_1 ...
> entry_n, I wouldn't bother with the preprocessor;
Unfortunately not, the primary goal is to generate a preprocessed
source file. The
Hello list,
I'm using cmake for generating OpenWatcom wmake files for 32-bit DOS
applications.
Currently I've modified the file Modules\Platform\Windows-wcl386.cmake:
- Removed -br -bm from CMAKE_C_FLAGS*INIT (runtime dll/multithreading)
- Commented out CMAKE_C_STANDARD_LIBRARIES_INIT
In the C
I am trying to include some assembler files in my project for visual studio
(masm)
How should I do it?
after reading http://www.cmake.org/Wiki/CMake/Assembler , anything there
works for me:
SET(CMAKE_CAN_USE_ASSEMBLER TRUE)
ENABLE_LANGUAGE(ASM_MASM)
but i fI enable masm as custom command in vis
Just thinking here
Perhaps you can use the export() command then make a cmake script to
include that, and just query for the libraries with
get_target_property(LIBS mytarget IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE)
and create your *.pc file from that information?
That export is roughly
I just realized that some of the debug and optimized keyword logic inside
FindQt4.cmake appears outside an IF(CMAKE_CONFIGURATION_TYPES OR
CMAKE_BUILD_TYPE) logic block which considerably weakens my case. Also, I
acknowlege that there is so much information available from FindQt4.cmake it
is an e
On Friday 08 May 2009, Anders Backman wrote:
> Hi.
> Im using CMake 2.6 patch 1. in Windows.
> It seems that it is has changed the way jpeg is found.
Compared to which version ?
I don't see a version in cvs which had "libjpeg" there.
But it could be added if necessary.
> FindJPEG.cmake:
>
> SET(J
On Thursday 07 May 2009, Micha Renner wrote:
> If I use FIND_LIBRARY(_result name1), I have a strange effect, which I
> do not understand.
>
> E.g FIND_LIBRARY(_result tiff) works as it should.
>
> FIND_LIBRARY(_result gs) fails. An inspection with nautilus shows
> libgs.so is located in /usr/lib.
On Thursday 07 May 2009, Mike Arthur wrote:
> I'm sure I read some time about some option you could set in a CMake
> project that would always implicitly do
> include_directories(${CMAKE_CURRENT_BINARY_DIR}) in child CMakeLists.txt
> without the need to do so manually.
>
> Searched the documentatio
On Tuesday 05 May 2009, alexandre.feb...@thomsonreuters.com wrote:
> I saw this too.
> IMHO, it's a bug. If it's a feature, I don't see the point.
I think it's a feature that imported targets are not global. Brad explained
this in a mail not too long ago, but I don't remember the details.
Alex
_
On Tuesday 05 May 2009, Denis Scherbakov wrote:
> I have checked cmGlobalGenerator.cxx and its CheckLocalGenerators
> function. This seems to the right place to perform all checks.
>
> I think I could make a global variable CMAKE_ALLOW_PARTIAL_PROJECT_TREE,
> which I could check in this function. I
Hi CPack RPM user,
I did implement a new feature in CPack RPM generator which:
1) gives control of post/pre (un)install script of the RPM spec files
2) supports user provided spec file.
Any interested people should have a look at the tracker which contains
both a patch against CMake-2-6 branch o
On Fri, May 08, 2009 at 07:25:04PM +0200, Benoit wrote:
> And i don't know why it link also with the static library
> ..\3rdparty\lib\liblibjpeg.a ..\3rdparty\lib\libtinyxml.a because they have
> already been linked in ..\x7s\src\x7scv\libx7scv.dll.a
> ..\x7s\src\x7sxml\libx7sxml.dll.a
By default,
On Thu, May 07, 2009 at 04:57:11PM +0200, Piotr Wyderski wrote:
> And specify a command to generate the file:
>
> ADD_CUSTOM_COMMAND(
>
>OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/inc.cpp
>COMMAND YYY >inc.cpp
>DEPENDS ${_runtime_header_list}
> )
>
> but what shoud YYY be in order to achieve
On Fri, May 8, 2009 at 12:07 PM, Clinton Stimpson wrote:
> Alan W. Irwin wrote:
>>
>> On 2009-05-07 22:45+0200 Christian Ehrlicher wrote:
>>
>>> Alan W. Irwin schrieb:
I have just discovered that for -DCMAKE_BUILD_TYPE=Debug, the
combination of
FindQt4.cmake and UseQt4.cmake in
On 2009-05-08 10:07-0600 Clinton Stimpson wrote:
Alan W. Irwin wrote:
On 2009-05-07 22:45+0200 Christian Ehrlicher wrote:
Alan W. Irwin schrieb:
I have just discovered that for -DCMAKE_BUILD_TYPE=Debug, the
combination of
FindQt4.cmake and UseQt4.cmake inserts the keywords debug, optimized,
Hy guy,
I'm building a project using 2 libraries:
x7scv -> which integrate opencv (dynamically) and libjpeg (statically)
x7sxml -> which integrate tinxml (statically)
The problem is that when i create a program that use theses 2 libraries:
SET(X7S_LIBRARIES "x7snet" "x7scv" "x7sxml")
include_di
On Fri, May 08, 2009 at 02:51:27PM +0200, David Larsson wrote:
> First, should really CMAKE_CXX_FLAGS affect targets suffixed .c at all?
> Shouldn't it be only for c++ files like suffixed .cpp or .cxx?
I wouldn't think it should, but it's not impossible that CMake would
determine what language a p
On Fri, May 08, 2009 at 12:13:57PM +0200, Marcel Loose wrote:
> So, it appears as if CMake is not searching the /usr/lib64 directory. Am
> I missing something, or is this a bug in FindPythonLibs.cmake?
Does this help?
http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_global:FIND_LIBRARY_USE_
On Fri, May 08, 2009 at 09:44:50AM +0200, Anders Backman wrote:
> Is there a reason why jpeg is not using the 'lib' convention?
> Most dependency packages with jepeg for windows is named libjpeg.lib not
> jpeg.lib
I'm not sure of the pedigree of the copy of jpeg.lib that I use on
Windows machines,
Alan W. Irwin wrote:
On 2009-05-07 22:45+0200 Christian Ehrlicher wrote:
Alan W. Irwin schrieb:
I have just discovered that for -DCMAKE_BUILD_TYPE=Debug, the
combination of
FindQt4.cmake and UseQt4.cmake inserts the keywords debug,
optimized, AND
general into the QT_LIBRARIES list to divide t
Hi All CPack RPM users,
Problems have been reported when using CPack RPM generator with
rpm/rpmbuild version greater or equal than 4.6.0.
(Fedora Core 10 or greater, Mandriva 2009 and greater, etc...)
I've submitted a simple patch borrowing solution from Dmitry Gerasimov:
http://public.kitware.c
Am Freitag, den 08.05.2009, 07:29 -0600 schrieb Bill Hoffman:
> Marcel Loose wrote:
> > Ping!
> >
> > I sent this mail more than a week ago, but got no answers.
This happens sometimes.
> >
> >
> >
> > Hi all,
> >
> > I've
When installing CMake 2.6.4 on Windows XP, I notice that the shortcut that
the installer creates links to the deprecated GUI, or at least, that's what
the shortcut's text says. If this GUI is deprecated, why is the installer
encouraging its use by creating a link to it from the desktop? Unless ther
Hi Denis,
There are definitely cases where you do want to create a statically
linked executable; for example when running on a massively parallel
diskless system -- you don't want thousands of compute nodes to load a
shared library over some NFS link.
Anyway, the real problem with find_library()
Denis Scherbakov wrote:
> In general, linking statically is a very bad idea.
Not always though. There are many reasons for linking statically
including distributing an app that uses a small part of a library
without requiring users to have the whole thing, running on compute
nodes that do not su
2009/5/4 Miguel A. Figueroa-Villanueva :
>>
>> I did just gave a "generic" Eclipse CDT advice
>> which does not fits the Eclipse CDT generator case
>> (but my "hand-made" Eclipse project with CMake which enables to use CVS)
>> again sorry about the confusion.
>>
>> --
>> Erk
>
> Ah, no problem. I
I think that would be possible if
http://public.kitware.com/Bug/view.php?id=8438 was solved, so that you could
create a custom dependency on the clean-target.
On Thu, May 7, 2009 at 10:58 PM, Bill O'Hara wrote:
> In addition to deleting files, is it possible to get the generated clean
> target t
> 1) Is there a generic platform- and compiler-independent
> way to specify
> that you want to create a statically linked executable?
find /usr/share/cmake -type f | grep -E '\.cmake$' | xargs grep -i -n -H
'\-static'
No matches == there is no cross-platform way to specify that you want static
Marcel Loose wrote:
Ping!
I sent this mail more than a week ago, but got no answers.
Hi all,
I've been searching the documentation, but couldn't find a way to
specify that I want to create a statically linked binary. T
Hi!
I have built a simple system to get precompiled header support in visual
c++.
The mechanism behind this functionality is adding the command line flags
when compiling every source file. /Yu to specify a header file that should
be precompiled and what /Fp as name for the actually generated precom
Ping!
I sent this mail more than a week ago, but got no answers.
Hi all,
I've been searching the documentation, but couldn't find a way to
specify that I want to create a statically linked binary. The only
platform-specif
Hi all,
I ran into a problem with FindPythonLibs.cmake on a 64-bit machine.
Somehow, CMake cannot find the python library, and I don't know why.
CMakeLists.txt
project("MyProject" NONE)
cmake_minimum_required(VERSION 2.6)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
f
Hi.
Im using CMake 2.6 patch 1. in Windows.
It seems that it is has changed the way jpeg is found.
FindJPEG.cmake:
SET(JPEG_NAMES ${JPEG_NAMES} jpeg)
For all other image formats the following convention is used: libjpeg jpeg
Is there a reason why jpeg is not using the 'lib' convention?
Most de
41 matches
Mail list logo