Hi,
I'm currently trying to find a good approach to bundling Qt5 with my
application on Linux using CMake (and CPack to create tar.gz). It
appears this topic isn't covered very well - or I'm using the wrong
search keywords.
What I have right now is copying the different plugins that are needed
by
Hi,
On Fri, Jan 6, 2017 at 6:41 PM, wrote:
> As it turns out, no, I can't use Qt5. In fact, I'd love to hear from anyone
> who actually has. I find this in Modules/FindQt.make:
That module is specifically only for applications wanting to support
Qt3 and Qt4 at the same time.
> ==
Hi,
On Fri, Jan 6, 2017 at 4:41 PM, wrote:
> CMake suite maintained and supported by Kitware (kitware.com/cmake).
> daryl@eve-ldb:~/cmake/cmake-3.7.1$ cmake-gui
> cmake-gui: symbol lookup error: cmake-gui: undefined symbol:
> _ZN9QListData11detach_growEPii
> ==
>
> That looks like a Qt l
Hi,
On Mon, Mar 7, 2016 at 9:29 PM, Ivan wrote:
> Hello!
>
> Here is my CMakeLists.txt:
>
> cmake_minimum_required(VERSION 3.3)
> project(untitled19)
>
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
>
> set(LIBRARY_SRC library.cpp)
>
> add_library(libra SHARED ${LIBRARY_SRC})
>
> set(SOU
Hi Jan,
On Thu, Jan 28, 2016 at 4:52 PM, đ Jan Hegewald
wrote:
> Hi Andreas,
>
> > On 28.01.2016, at 16:43, Andreas Pakulat wrote:
> >
> > Hi Jan,
> >
> > On Thu, Jan 28, 2016 at 2:35 PM, đ Jan Hegewald
> wrote:
> > Hi Nils,
> >
Hi Jan,
On Thu, Jan 28, 2016 at 2:35 PM, đ Jan Hegewald
wrote:
> Hi Nils,
>
> > On 28.01.2016, at 13:39, Nils Gladitz wrote:
> >
> > You might already be aware but CMake discourages using GLOB for source
> files
>
> yes, I read the docs before posting (:
> Avoiding glob would be a workaround to
Hi,
On Mon, Nov 2, 2015 at 4:26 PM, Clinton Stimpson
wrote:
> On Monday, November 02, 2015 04:08:55 PM Andreas Pakulat wrote:
> > Hi,
> >
> > On Mon, Nov 2, 2015 at 2:49 PM, Boudewijn Rempt
> wrote:
> > > On Mon, 2 Nov 2015, Andreas Pakulat wrote:
> > &
Hi,
On Mon, Nov 2, 2015 at 2:49 PM, Boudewijn Rempt wrote:
> On Mon, 2 Nov 2015, Andreas Pakulat wrote:
>
> I think the idea of using @rpath as install name of the Qt libraries is
>> geared towards the usecase
>> of shipping Qt within the application bundle of the applica
Hi,
On Mon, Nov 2, 2015 at 10:26 AM, Boudewijn Rempt wrote:
> I checked the manual and the blog post about rpath on osx, but I'm still
> confused, and still not getting it right...
>
> I build and installed Qt 5.6 alpha like this:
>
> ./configure -prefix /Users/boudewijnrempt/kf5/i
>
> Then I ma
Hi,
On Mon, Oct 12, 2015 at 10:39 AM, René J. V. wrote:
> Hello,
>
> I'm using cmake in conjunction with a packaging/distribution system that
> aims to
> control the compiler and linker flags, a priori via the usual environment
> variables. (We're talking about MacPorts.)
>
> Using one of the CM
Hi,
On Wed, Aug 26, 2015 at 3:10 PM, Jakob van Bethlehem <
jsvanbethle...@gmail.com> wrote:
> Hej Andrew,
>
> CMake does never scan source files (as far as I know), as it is not a
> compiler. From your question it almost seem you are making this assumption,
> so I just wanted to make sure to ment
Hi Nils,
On Mon, Jul 27, 2015 at 3:58 PM, Nils Gladitz wrote:
> On 07/27/2015 03:46 PM, Andreas Pakulat wrote:
>
>> I've meanwhile also noticed that the default compiler flags that CMake
>> uses include the debug information in the dll itself (dll size is
>> doubled
Hi Nils,
On Mon, Jul 27, 2015 at 3:12 PM, Nils Gladitz wrote:
> On 07/27/2015 02:25 PM, Andreas Pakulat wrote:
>
>> Hi,
>>
>> I'm trying to generate a zip file (on Windows) for a shared library
>> including the generated debug symbols in pdb files with CPa
Hi,
I'm trying to generate a zip file (on Windows) for a shared library
including the generated debug symbols in pdb files with CPack.
Unfortunately CPack does not seem to pick up the pdb files all by itself
and after cross-reading the cpack docs in the cmake wiki I didn't see any
switch to enable
Hi Paul,
On Mon, May 18, 2015 at 3:20 PM, Paul Smith wrote:
> On Mon, 2015-05-18 at 12:32 +0200, Ruslan Baratov via CMake wrote:
> > This table tells you what attribute you need to set to disable/enable
> > specific warning.
>
> I see, so these are CMake attributes? That wasn't clear to me. I
Hi,
On Wed, Feb 11, 2015 at 3:16 PM, Arjen Markus
wrote:
> Hello,
>
> I am trying to build the Fortran interface to NetCDF4 on Windows, using
> the Intel Fortran compiler and "Nmake Makefiles" as the generator (see
> http://www.unidata.ucar.edu/downloads/netcdf/index.jsp).
>
> I had some trouble
Hi Nils,
On Mon, Jan 12, 2015 at 11:50 AM, Nils Gladitz
wrote:
> On 01/12/2015 11:40 AM, Andreas Pakulat wrote:
>
>> Ah, that works. Its a little ugly in the CMake files but I guess I can
>> live with that. Ideally I was hoping to simply have a 'complete' list
>
Hi,
On Sun, Jan 11, 2015 at 10:55 PM, Dario Oliveri
wrote:
> It is very simple for each of the files you want to include in the build
> (I use txt example so that you know it can work for arbitrary types):
>
> ---
> set_source_files_properties( comment.txt PROPERTIES HEADER_FILE_ONLY true)
> ---
Hi,
I'm using QtCreator with CMake and have several files that are included in
targets depending on the platform on which I build.
Files that are not enabled on the current platform will not be included by
CMake in the CodeBlocks file which in turn is used by QtCreator.
Since QtCreator only pick
Hi,
On Sat, Aug 23, 2014 at 8:12 AM, Nico Schlömer
wrote:
> Hi all,
>
> I'm linking my shared library against
> ```
> /usr/lib/x86_64-linux-gnu/libhdf5.so -> libhdf5.so.7.0.0
> /usr/lib/x86_64-linux-gnu/libhdf5.so.7 -> libhdf5.so.7.0.0
> /usr/lib/x86_64-linux-gnu/libhdf5.so.7.0.0
> ```
> resulti
Hi Bill,
On Sun, Feb 9, 2014 at 8:45 PM, Bill Somerville wrote:
> Hi,
>
> noob here so firstly thanks for the great build tools!
>
> I'm struggling with shoehorning a Win32/Linux Qt GUI application into
> CMake for those targets and for OS-X.
>
> At the moment the Mac build is manually transforme
Hi,
I have a custom command to copy over some javascript files from the source
to the build tree and along with that run them through a javascript lint
tool. The main point of the lint is to catch syntax errors and the like
early on.
Unfortunately the lint tool also reports all kinds of warnings
Hi,
On Fri, Jan 10, 2014 at 9:42 PM, SzilĂĄrd PĂĄll wrote:
> Indeed, I did (accidentally) download the .zip package. I was rather
> annoyed that the bootstrap script did not have executable permission
> set, but it did not ring a bell... Thanks guys!
>
> Just for curiosity:
> - what *nix tool does
Hi,
On Fri, Jan 10, 2014 at 2:16 PM, SzilĂĄrd PĂĄll wrote:
> Found a workaround:
> $ find /tmp/cmake-2.8.12.1 -type f | xargs dos2unix
>
> This must be a bug, should I file a report?
>
Did you use the .zip file of the CMake sources? That one is intended to be
used for Windows and hence contains W
Hi,
On Wed, Jan 8, 2014 at 10:07 PM, Magnus Therning wrote:
> On Wed, Jan 08, 2014 at 01:56:22PM +0100, Andreas Pakulat wrote:
> > Hi,
> >
> > I know this has been raised in the past, but I don't think the
> > arguments for not providing the binaries are strong en
Hi,
I know this has been raised in the past, but I don't think the arguments
for not providing the binaries are strong enough to warrant the hassle a
cmake user has to go through to run the 32bit binaries on a 64bit Linux
distribution.
I think requiring users to figure out how to install 32bit co
Hi,
On Sat, Dec 14, 2013 at 2:58 PM, Stephen Kelly wrote:
> Andreas Pakulat wrote:
>
> > Anyway, I've now stripped it down as much as I can (without diving into
> > the wilderness of FindKDE4Internal) and also added the observations I've
> > made while strip
Hi,
I've been quite annoyed by the warnings from CMP0022 in a project I use (
http://quickgit.kde.org/?p=kdevplatform.git) and wanted to set the policy
to OLD to hide the warnings (porting the code is not an option as that
would require to enforce CMake 2.8.11 which is too new for this project).
Hi,
On Mon, Dec 9, 2013 at 3:50 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:
> Dear list members,
>
> I often like or need to install two versions of the same software.
> Ideally the software should put its files by default to
> $prefix/include/$NAME/*.h
> $prefix/lib/$NAME
Hi,
On Thu, Nov 14, 2013 at 11:45 AM, Lars Lars wrote:
> Using CMake 2.8.10 on Windows 7.
>
> We have a working project that finds QT liket this:
> FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)
>
> Now we would like to update Qt library, so changed it to:
> FIND_PACKAGE(Qt4 4.8.4 COMPONENTS Qt
Hi James,
On Thu, Oct 17, 2013 at 6:58 PM, James Bigler wrote:
> It doesn't seem to work.
>
> I can't use target_link_libraries on an imported target.
>
> add_library(imported_lib STATIC IMPORTED GLOBAL)
> set_target_properties(imported_lib PROPERTIES IMPOARTED_LOCATION
> "${imported_lib_locatio
Hi,
On Sun, Oct 6, 2013 at 10:13 PM, Pau Garcia i Quiles
wrote:
> Hello,
>
> I am using CMake 2.8.11.2 on Windows to build and package some software.
> If I do this, it works fine:
>
>set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Wt binary build")
>set(CPACK_PACKAGE_VENDOR "emweb bvba")
>set
Hi,
I'm wondering wether I'm overlooking something with DeployQt4.cmake or
wether its not prepared to handle commandline utilities using Qt (and Qt
plugins).
I'm having a server-like app which uses networking and the sqlite plugin
and when trying to install it the INSTALL_QT4_EXECUTABLE macro see
Hi,
On Mon, Sep 16, 2013 at 10:24 AM, Nikolay wrote:
>
> On 14 September 2013 09:59, Alexander Neundorf wrote:
>
>> On Friday 13 September 2013, lorddoskias wrote:
>> > Hello list,
>> >
>> > I have a couple of questions whose answers I couldn't find. So first
>> > thing's first - I have the foll
Hi Eric,
On Fri, Sep 13, 2013 at 5:02 PM, Eric Noulard wrote:
> 2013/9/13 Andreas Pakulat :
> > Hi,
> >
> > I'm having a bit of an issue with the behaviour of the TGZ generator and
> > componentized packagings. The generation of the packages for the various
>
Hi,
I'm having a bit of an issue with the behaviour of the TGZ generator and
componentized packagings. The generation of the packages for the various
components works just fine, but unfortunately the contents are not as I'd
like them to be.
It seems like the TGZ generator drops the 'common' prefi
Hi,
On Fri, Sep 6, 2013 at 12:26 AM, Robert Dailey wrote:
> I have an interesting structure for my code & build scripts:
>
> root/
> source/
> CMakeLists.txt
> build/
> CMakeLists.txt
> cmake/
> common.cmake
>
> My root CMakeLists.txt is actually in 'root/source/build", and
Hi,
On Thu, Sep 5, 2013 at 12:22 AM, Jacky Alciné wrote:
> On Wed September 4 2013 1.14.17 PM Tanweer Rashid wrote:
> > Hi,
> >
> > I am trying to build CMake 2.8.11 on my 64 bit Ubuntu 12.04. I am trying
> to
> > use QT5.1, but CMake is saying that Qt is not correctly installed.
> >
> > I am wo
Hi,
On Tue, Sep 3, 2013 at 7:41 PM, Felipe Menezes Machado wrote:
> On Tue, Sep 3, 2013 at 2:33 PM, Matthew Woehlke <
> matthew.woeh...@kitware.com> wrote:
>
>> On 2013-09-03 13:21, Felipe Menezes Machado wrote:
>>
>>> I'm having trouble understanding this behavior: what happens if the
>>> direct
Hi,
On Mon, Aug 19, 2013 at 6:23 PM, Magnus Hagdorn wrote:
> Hi there,
> I have the following problem with cmake:
>
> I would like to set the installation path for plugins to be
> ${LIB_INSTALL_DIR}/${PROJECT_**NAME}. As I understand it, the
> LIB_INSTALL_DIR is relative to CMAKE_INSTALL_PREFIX i
Hi,
On Wed, Aug 14, 2013 at 8:06 PM, Josef 'Jeff' Sipek
wrote:
> If you have a (linux or solaris) system with openssl installed in /usr and
> a
> second copy installed elsewhere (e.g., /opt) and you want a cmake project
> to
> find the elsewhere version, no matter what you try it finds the system
Hi,
On Wed, Jul 31, 2013 at 10:52 PM, Eric Noulard wrote:
> 2013/7/31 Andreas Pakulat :
> > Hi,
> >
> > On Sat, Jul 27, 2013 at 12:39 AM, Andreas Pakulat wrote:
> >>
> >> Hi,
> >>
> >> I'm having a project here where cmake refu
Hi,
On Sat, Jul 27, 2013 at 12:39 AM, Andreas Pakulat wrote:
> Hi,
>
> I'm having a project here where cmake refuses to recognize the "COMPONENT"
> option for the install() command for certain targets.
>
> Within the project there are several subdirs, the
Hi,
I'm having a project here where cmake refuses to recognize the "COMPONENT"
option for the install() command for certain targets.
Within the project there are several subdirs, the top-level CMakeLists.txt
has a component-install rule like this:
INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/html
Hi,
On Fri, Jul 19, 2013 at 4:37 PM, Nicolas DesprĂšs
wrote:
> Hi,
>
> In Unix shell we can do that:
> $ VAR=foo cmd in out
>
> This way the environment variable is only set in the environment of the
> process of the command and not the in current shell like when using the
> "export" built-in.
>
Hi,
On Sun, Apr 28, 2013 at 4:36 PM, maaschn wrote:
> I currently try to add an external dynamiced linked library (dll) to my
> cmake
> project. I have got the .dll and the .lib file. I spent a lot of time to
> find an answer by myself but I didn't manage to find the solution. The
> include work
Hi,
On Sat, Apr 27, 2013 at 8:06 AM, Lloyd wrote:
> Hi,
>
> I am studying to compile an application using CMake in Cygwin. I am
> installing a file using the install command based on the value of
> CONFIGURATIONS variable.
>
> May I know the default configuration (debug, release) in cygwin
>
> I
Hi,
On Thu, Apr 18, 2013 at 5:38 AM, John Gallagher <
johnkgallagher+cm...@gmail.com> wrote:
> Hello all,
>
> Some Googling has led me to questions that have been asked that are
> similar to this one but I haven't seen a definitive answer. I'm trying to
> set up a CMake "superbuild" where there
Hi,
Am Dienstag, 26. MĂ€rz 2013 schrieb sandrews :
> Hi,
>
> My project is primarily C and C++, but also includes some Python code. I
> can get everything to build fine, and my CMakeLists.txt files uses the
> INSTALL(TARGETS ...) to so that the user can install the compiled code to
> the proper p
Hi,
On Wed, Feb 20, 2013 at 6:39 AM, Patrick McMunn wrote:
> I'm not 100% sure this is a cmake bug or if this is even the place to report
> it, but I ran into a bug as described here:
> http://www.gccxml.org/Bug/view.php?id=11069 It seems that cmake gives an
> error when checking the compiler fla
Hi,
On Wed, Jan 23, 2013 at 5:17 PM, Michael Jackson
wrote:
> I am trying to determine if certain TR1 Headers are available to the
> compiler. My first test system is an OS X 10.6.8 system using the built in
> GCC. Here is the pertinent parts of my CMake file:
>
> macro (CORE_CHECK_INCLUDE_FIL
Hi,
On Wed, Jan 16, 2013 at 11:01 PM, wrote:
> The problem is that the script fails when using cmake 2.6. I want to know
> if this is expected or a bug ?
>
> I filed a bug report with Red-Hat 6, but they just decided to ignore it. See
> https://bugzilla.redhat.com/show_bug.cgi?id=896116
Hi,
On Mon, Jan 14, 2013 at 9:17 AM, Nicolas Herbaut wrote:
> I started working on a new c++ project comming back after 4+ years of java
> coding.
>
> For java, I use nexus, which is a binary repository server, that provides an
> nice REST API that allows clients to download dependencies by provi
Hi,
On Wed, Jan 9, 2013 at 1:17 AM, kgardenia42 wrote:
> I am trying to write a CMakeLists.txt where the same source files are
> compiled separately to both a C library and a C++ library.
>
> So, lets say I have foo.c, bar.c and baz.c and I would like to build
> mylib.a and mylib++.a
>
> My intui
Hi,
On Fri, Dec 14, 2012 at 11:16 AM, Reza Housseini wrote:
> Hello Guys
>
> I try to import a library and was now wondering if there's a
> platform-independent way?
Not in the sense that CMake would handle this for you magically. At
least not when importing libraries that are not shipping with
Hi,
On Thu, Dec 6, 2012 at 5:13 PM, Mateusz Loskot wrote:
> The CMake 2.8.10 manual includes the following statement in the paragraph
> about link_directories() command:
>
> "Library locations returned by find_package() and find_library() are
> absolute paths."
>
> Would it be possible to include
Hi,
On Wed, Nov 28, 2012 at 1:41 PM, Martin Koller wrote:
> Hi,
>
> I'm struggling with the following requirement:
> I have a lib stored in a zip file (the lib is not built via cmake, e.g.
> delivered from external company).
>
> I want a target to link against this lib and want to extract the li
Hi,
On Wed, Nov 14, 2012 at 12:34 PM, Andrea Galeazzi wrote:
> I'm using cmake_policy(SET CMP0015 NEW) to link external libraries (I don't
> have the sources of them) in order to avoid to specify the absolute path of
> each library. So I wrote the following commands:
> link_directories(path1 path
Hi,
On Sat, Nov 3, 2012 at 12:40 PM, lzprgmr wrote:
> Is there any way to clean the generated build system files, like vs project
> files, make files, it might be ok if generate out-of-place, but for in-place
Thats why cmake advertises out of source builds to be used all the time.
> files, it i
Hi,
On Wed, Oct 31, 2012 at 12:02 AM, David Doria wrote:
> I just learned about automoc, and it is fantastic! I have been able to
> get rid of all of my manual QT4_WRAP_CPP calls. Is there a similar way
> to get rid of my QT4_WRAP_UI calls? They are equally as bulky to write
> out manually :)
No
Hi,
On Sun, Oct 28, 2012 at 10:09 PM, Rui Maciel wrote:
> I'm developing a software package which consists of a GUI application and a
> command line program. Both programs share common libraries, and essentially
> they only differ in which UI components each program uses.
>
> I would like to use
Hi,
On Mon, Oct 22, 2012 at 6:04 PM, Eric Clark wrote:
>
> First off, you cannot call both add_executable and add_library in the same
> CMakeLists file.
I think there's something missing here, but its perfectly possible to
have one or more library and executable targets specified in the same
cma
Hi,
On Sat, Oct 20, 2012 at 11:39 AM, Petr Kmoch wrote:
> when running the install step of a CMake-generated buildsystem (i.e. 'make
> install' or building the VS project INSTALL), the run terminates after the
> first failure (e.g. when it cannot find a file which is to be installed). Is
> there
Hi,
On Wed, Oct 17, 2012 at 9:02 PM, Vivek Goel wrote:
> Hi,
> I am buidilng 5 binary using cmake.
> Currently I am using svn source code version as app version for the
> application but it does not scale enough because if any file changed it
> force building of all the binary.
> Is there a way I
Hi,
in addition to that, moc does not support ifdef'ing of code it needs
to look at (it does not have a preprocessor at all, only knows a few
select define's), so there can also not be a case of Dum.h setting
defines which cause moc to generate different code for Main.h.
I'd say qmake is just too
Hi,
I've once written a find-module for subversion for KDE's kdevelop, you
can look/download it via
http://quickgit.kde.org/index.php?p=kdevplatform.git&a=blob&h=208b63bf40937d7752d1210c81d056b54e70ff37&hb=19c3711103575d389fca90dff0f28bf7fb8a0dad&f=cmake%2Fmodules%2FFindSubversionLibrary.cmake
It
Hi,
On Tue, Oct 9, 2012 at 5:39 PM, Fabio Fracassi
wrote:
> On 10/9/12 5:05 PM, Andreas Pakulat wrote:
> On Tue, Oct 9, 2012 at 4:42 PM, Fabio Fracassi
> What do you mean with "package registry" here?
>
> It means the package registry where cmake stores previously build
Hi,
On Tue, Oct 9, 2012 at 3:46 PM, Fabio Fracassi
wrote:
> Hello,
>
> I am using find_package in Module mode for a Library that is also build
> using cmake.
> The Library is build in a way that it can be used both from the build dir,
> and from the installed location.
>
> When using find_package
Hi,
On Sat, Sep 15, 2012 at 12:46 PM, Loaden wrote:
> http://www.cmake.org/Wiki/CMake_Useful_Variables
>
>> UNIX is TRUE on all UNIX-like OS's, including Apple OS X and CygWin WIN32
>> is TRUE on Windows, including CygWin APPLE is TRUE on Apple systems. Note
>> this does not imply the system is
Hi,
On Mon, Sep 10, 2012 at 6:12 PM, Yuri Timenkov wrote:
> Or it's implementation on Linux... I doubt anybody had any problems with
> NTFS on Windows :)
Actually people do have problems with that, but since there's
basically no competitor you don't have a choice. And Microsoft has no
reason to
Hi,
as Michael said, don't move Qt around.
In fact Qt itself does not support this at all, so a Qt installation
that is moved after the install process and without re-running the
patching or a writing a qt.conf file is to be considered a broken Qt
installation. It'll also not find plugins etc. it
Hi,
On Fri, Aug 24, 2012 at 7:27 PM, Adam B wrote:
> Hello all,
>
> I'm relatively new to CMake but I've encountered some unexpected behavior.
> Perhaps it's by design or perhaps it's a bug - you tell me. The short story
> is this:
It is a bug, but not in CMake, its in your cmake code.
> It ap
Hi,
On Thu, Aug 23, 2012 at 8:20 PM, Robert Dailey wrote:
> On Thu, Aug 23, 2012 at 1:12 PM, Andreas Pakulat wrote:
>> Hi,
>>
>> On Thu, Aug 23, 2012 at 5:48 PM, Robert Dailey
>> wrote:
>>> On Thu, Aug 23, 2012 at 10:43 AM, John Drescher
>&g
Hi,
On Thu, Aug 23, 2012 at 5:48 PM, Robert Dailey wrote:
> On Thu, Aug 23, 2012 at 10:43 AM, John Drescher wrote:
>>> Is the separation between configuration & generation really necessary
>>> for cmake-gui? I ask because several of my co-workers are confused
>>> between the differences in the t
Hi,
On Sat, Aug 18, 2012 at 12:16 AM, Edgar
wrote:
> I've already looked at the cmake tutorial, and it isn't that great. It
> starts really simple but then goes into really complex things that most
> people might not even use.
>
> Also, there is currently no such thing as 'The Openlayer community
Hi,
Am Donnerstag, 16. August 2012 schrieb Randolph M. Fritz :
> I'm having problems find_package(X11) on Mac, and I'd like to provide a
> local FindX11.cmake so I can try alternatives without altering my cmake
> install. Is there any easy way to do that?
You can simply set CMAKE_MODULE_PATH t
Hi,
On Mon, Aug 13, 2012 at 9:40 PM, Toronto Andrew
wrote:
>
> Andreas Pakulat-2 wrote
>>
>> Relocating Qt requires either patching the qmake binary or installing
>> a qt.conf file to help qmake find the libs in the new position. The
>> absolute include/lib dirs are
Hi,
you can't tell cmake to do this and usually you don't want to either.
These are status messages indicating what cmake is using so you can
easily spot if cmake chose the wrong compiler or found a library in a
place where you didn't expect it.
To suppress all non-error output you can do:
cmake
Hi,
On Mon, Aug 13, 2012 at 9:48 PM, Peng Yu wrote:
> Hi,
>
> The following directory has 'cmake ../src1' run before. I get the
> following error when I run the following command. One way to solve the
> problem is to run "rm -rf *", but I'm wondering if there is a way to
> force cmake to run even
Hi,
On Mon, Aug 13, 2012 at 4:16 PM, Toronto Andrew
wrote:
> Haha spot on mate.
>
> I did so. To rectify, I reinstalled VTK and CMake, fixed the PATH var and
> the QTDIR.
Relocating Qt requires either patching the qmake binary or installing
a qt.conf file to help qmake find the libs in the new p
Hi,
On Wed, Aug 8, 2012 at 7:32 AM, Jerry Krinock wrote:
> Hello,
>
> I have been using CMake for a couple years, invoked from a script, to build
> an Xcode project in Mac OS X. Most recently, I have successfully used CMake
> 2.8.7 on Mac OS X 10.7.
>
> Upon upgrading to CMake 2.8.8 and Mac OS
Hi,
On Fri, Aug 3, 2012 at 8:41 PM, Leif Walsh wrote:
> This is sort of the point of shared libs though, you can update them without
> relinking everything on your system, unless you're doing something really
> brain-damaged.
Actually no, adding new public API, changing existing API in
compati
Hi,
On Tue, Jul 31, 2012 at 6:25 PM, rainman110.de
wrote:
> Hello together,
>
> this is my first post to this mailing list as I am a new cmake user and
> trying to learn it. I already posted the message but somehow it was not
> accepted by nabble...
>
> I have a multiplatform project which requir
Hi,
On Wed, Jul 25, 2012 at 10:06 PM, Johannes Zarl wrote:
> Hi,
>
> Out of curiosity (and thinking about saving a couple of seconds during the
> first cmake run) I tried just to use C++ as language for some KDE program.
Really? Seconds? I mean the toolchain-stuff in CMake is more or less
hardco
Hi,
On Thu, Jul 12, 2012 at 6:12 PM, Yixun Liu wrote:
> Hi,
> I am using FIND_PACKAGE(Qt4 REQUIRED) in the CMakeLists to find Qt libs.
> QT_LIBRARIES gives me QtGui, QtSql and QtCore, which are static libs.
>
How do you know that? Whats the actual content of the variable? Which
platform are you
Hi,
On Fri, Jun 29, 2012 at 2:44 PM, Christian Arnault wrote:
> Hi,
>
> I wanted to factor out some initial stuff of my CMakeLists.txt that I
> systematically include.
>
> typically I include the following lines at the beginning of all my
> CMakeLists.txt:
>
> cmake_minimum_required(VERSION 2.8)
Hi,
Am Dienstag, 26. Juni 2012 schrieb Ateljevich, Eli :
> Hi Andreas,
> Thanks. This must be what is happening. The references I saw to
> CMAKE_PREFIX_PATH suggested it was environment-only and needs to be known
> "at cmake time". That didn't fit my needs well and even though it seemed
> funny I
Hi,
On Tue, Jun 26, 2012 at 12:14 AM, Sohail Shafii wrote:
> I'm sorry but I don't quite understand the first sentence in your
> response. How would I run my locally-built cmake "for the cmake sources"?
> Do you mean try to use cmake to generate a makefile for the cmake sources?
>
Yes, exactly,
Hi,
On Mon, Jun 25, 2012 at 11:48 PM, Sohail Shafii wrote:
> Thanks. What it is apparently doing is including the argument:
> -I/home/***/local/include/ncurses. It should be -I/home/***/local/include.
> I'm not sure why it generates the former during the bootstrap/configuration
> phase.
>
> The p
Hi,
On Mon, Jun 25, 2012 at 11:20 PM, Ateljevich, Eli wrote:
> Actually, clearing the cache worked for FindPythonInterp but I still canât
> get FindPythonLibs.cmake to work. Same problem âŠ. it can find the 2.4
> version but not the 2.7 version â and gives an error when 2.7 is required.
> Obvious
Hi,
On Mon, Jun 25, 2012 at 11:25 PM, Sohail Shafii wrote:
> Hi,
>
> [ 49%] Building C object
> Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o
> In file included from
> /home/***/src/cmake-2.8.8/Source/CursesDialog/form/form.priv.h:34,
> from
> /home/***/src/cmake-2.8
Hi,
On Fri, Jun 22, 2012 at 6:10 PM, Leif Walsh wrote:
> Suppose I have two projects, A and B. A builds a shared lib that links
> with a static lib in B.
>
> Sometimes, I want to build and test B by itself. Other times I want to
> build A, which requires building B.
>
> For now, I manually (or
Hi,
On Fri, Jun 22, 2012 at 6:33 AM, hce wrote:
>
> Andreas Pakulat-2 wrote
> >
> > You can find extensive explanation where find_path works on the different
> > platforms in the CMake documentation:
> > http://cmake.org/cmake/help/v2.8.8/cmake.html#command:find_pa
Hi,
On Thu, Jun 21, 2012 at 1:07 PM, hce wrote:
> Hi,
>
> I am running 2.8.8 on Linux. I have a library already been set up in
> environment, I can see it in both LD_LIBRARY_PATH and $PATH, but when I was
> compiling another source code which calling find_path() to check the
> library
> package
Hi,
On Fri, Jun 8, 2012 at 3:14 AM, Robert Dailey wrote:
> I think I might know what it is...
>
> I do the following:
>
> include_directories( Z )
> add_library( A )
> include_directories( A ) # Include "A"'s include directory
> add_library(B) # B depends on A, and thus includes its header direct
Hi,
On Wed, Jun 6, 2012 at 5:40 PM, vivek goel wrote:
> I am using following command to find pcre library
>
> SET(CMAKE_LIBRARY_PATH "${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib")
> All compiled library are located in
> ${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib
>
> find_library(PCRE_LIBRARY
Hi,
On Mon, May 21, 2012 at 6:14 AM, David A. Alexander wrote:
>
> We are running CPack remotely through Jenkins [1] to end up running a
> build/package process on a Windows 2008 Server machine and are seeing
> errors during the install into the _CPack_Packages directory because file
> paths exce
Hi,
On Sat, May 19, 2012 at 3:44 PM, Rolf Eike Beer wrote:
>
> > > But to have some useful information: set CMAKE_PREFIX_PATH to the path
> > > where the libraries can be found without the lib/ or include/ suffix,
> > > CMake will add them itself.
> > >
> > > So if you have fftw2 in /opt/fftw2/li
Hi,
On Thu, May 17, 2012 at 11:36 PM, David Doria wrote:
> Why are you doing that? If TestB is always available as sub-dir under
>> TestA it doesn't make much sense to also add it as a subdirectory of the
>> parent of TestA - IMHO. Test/CMakeLists.txt can still use all targets from
>> TestB, sin
Hi,
On Thu, May 17, 2012 at 11:20 PM, David Doria wrote:
> I have a main project (called Test) that has two submodules, TestA and
> TestB. TestA also has a submodule, which is exactly the same TestB.
>
> So there is a directory Test/TestB as well as Test/TestA/TestB
>
> In TestA/CMakeLists.txt,
1 - 100 of 622 matches
Mail list logo