On 2010-01-01 01:57+0100 Spicy wrote:
Hi cmakers,
I decided to start a new project using cmake. While I got a lot of
things going quickly, some things are taking me to despair. The current
issue has a couple of web hits, but either I misunderstand something
critical or cmake 2.6 (as of current
Hi cmakers,
I decided to start a new project using cmake. While I got a lot of
things going quickly, some things are taking me to despair. The current
issue has a couple of web hits, but either I misunderstand something
critical or cmake 2.6 (as of current Debian Lenny) is broken:
--8<---CMa
>> -Original Message-
<> From: Clinton Stimpson [mailto:clin...@elemtech.com]
>
>ADD_LIBRARY(plot STATIC
>...
>...
>...)
>TARGET_LINK_LIBRARIES(plot "C:/Progra~2/Qt/4.6.0/lib/QtCored4.lib")
>1. from cmd dos: dir "C:/Progra~2/Qt/4.6.0/lib/QtCored4.lib" => nothing
> But dir "C:\Progra~2\
On Thu, Dec 31, 2009 at 5:06 PM, Hicham Mouline wrote:
>> -Original Message-
>> From: John Drescher [mailto:dresche...@gmail.com]
>> Sent: 31 December 2009 20:25
>> To: Hicham Mouline; CMake mailing list
>> Subject: Re: [CMake] restricting Qt include and library linking to 1
>> library/pro
> -Original Message-
> From: Clinton Stimpson [mailto:clin...@elemtech.com]
> Sent: 31 December 2009 20:29
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] restricting Qt include and library linking to 1
> library/project
>
>
> On Dec 31, 2009, at 1:12 PM, Hicham Mouline
hello, I have a program that uses fltk, I've defined the require part in
cmakelist.txt but I still get undefined reference error, where are the file's
content: http://pastebin.com/m113e3c48
how can I solve it?
___
Powered by www.kitware.com
Visit o
ok, solved, move array implementation into the header and found the missing
module in boost.
On Tue 29 Dec 19:18 2009 e...@cs.bgu.ac.il wrote:
>
> how much can this bloat my executable?
>
> On Tue 29 Dec 19:16 2009 aaron_wri...@selinc.com wrote:
>
>
>> With templates it's easiest to declare
>>
On Dec 31, 2009, at 1:12 PM, Hicham Mouline wrote:
>> -Original Message-
>> From: Clinton Stimpson [mailto:clin...@elemtech.com]
>> Sent: 31 December 2009 16:08
>> To: Hicham Mouline
>> Cc: cmake@cmake.org
>> Subject: Re: [CMake] restricting Qt include and library linking to 1
>> library/
> If you open cmake-gui does and look at the Qt tab in Grouped View are
> the debug libraries properly set?
>
Hmm sorry for the bad wording..
If you open cmake-gui and look at the Qt tab in Grouped View are the
debug libraries properly set?
John
___
Pow
On Thu, Dec 31, 2009 at 3:12 PM, Hicham Mouline wrote:
>> -Original Message-
>> From: Clinton Stimpson [mailto:clin...@elemtech.com]
>> Sent: 31 December 2009 16:08
>> To: Hicham Mouline
>> Cc: cmake@cmake.org
>> Subject: Re: [CMake] restricting Qt include and library linking to 1
>> libra
> -Original Message-
> From: Clinton Stimpson [mailto:clin...@elemtech.com]
> Sent: 31 December 2009 16:08
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] restricting Qt include and library linking to 1
> library/project
>
>
> If you have multiple directories with differ
If you do "cmake_minimum_required" to something less than 2.8, then that
call will reset any policies you have set at the outer level... So, to
really use a NEW value for policy CMP0011, you have to do it *after* the
last cmake_minimum_required or update your min required to 2.8...
On Thu, Dec 31
Checking Project CMake/2_8.
Running Dashboard for CMake/2_8.
Problem opening /proc/cpuinfo
Problem opening /proc/cpuinfo
Problem opening /proc/cpuinfo
CMake Warning (dev) at Dashboards/Scripts/Possibly_Run_Dashboard.cmake:14
(include):
Policy CMP0011 is not set: Included scripts do automatic cma
If you have multiple directories with different Qt dependencies, you can do:
find_package(Qt4 REQUIRED)
in the top directory,
then each sub directory can do something like
set(QT_USE_QTOPENGL 1)
include(${QT_USE_FILE})
But in your case, its only lib3, so just do it in that CMakeLists.txt file.
C
On Thu, Dec 31, 2009 at 4:06 PM, Hicham Mouline wrote:
>> Assuming lib1 uses QtCore and QtNetwork:
>>
>> find_package( Qt4 COMPONENTS QtCore QtNetwork REQUIRED )
>> include_directories( ${QT_QTCORE_INCLUDE_DIR} ${QT_QTNETWORK_INCLUDE_DIR}
> )
>> add_library( lib1 SHARED lib1_source1.cpp lib1_sour
> -Original Message-
> From: Pau Garcia i Quiles [mailto:pgqui...@elpauer.org]
> Sent: 31 December 2009 14:07
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] restricting Qt include and library linking to 1
> library/project
>
> Hello,
>
> Do find_package( Qt4 COMPONENT
Hello,
Do find_package( Qt4 COMPONENTS ... ) from each subdir and use only
the components you need for each library.
Do not INCLUDE( ${QT_USE_FILE} ) in any case, just do an include_directories.
When linking, do not use the contain-all QT_LIBRARIES variable but the
individual library variables.
Hello,
My toplevel CMakeLists.txt looks like:
PROJECT(...)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
# Openmp
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
END
On Tuesday 29 December 2009, Richard Wackerbarth wrote:
> I have a question about policy CMP0011.
>
> I have:
> $ cat Call_process_dashboard.cmake
>
> # Call process_dashboard
>
> # These files are maintained by Richard Wackerbarth
> set(maintainer_email_account "Richard")
> set(maintainer_email_do
I got it working, thanks!
Turns out that whenever my dependency generator changes the deps file, CMake
notices this fact (because the file is included) and does a reconfigure
anyway. So all I have to do is "make" and everything works. Sweet!
In case you are interested, here's what I did:
The dep
20 matches
Mail list logo