From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of
Philip Lowman
Sent: 07 December 2010 13:17
To: Hicham Mouline
Cc: Philip Lowman; Dmytro Ovdiienko; CMake mailing list;
boost-bu...@lists.boost.org
Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs
On
>-Original Message-
>From: "Dmytro Ovdiienko" [dmitriy.ovdie...@gmail.com]
>Date: 07/12/2010 10:57 AM
>To: "Hicham Mouline"
>CC: "Philip Lowman" , "CMake mailing list" , boost-bu...@lists.boost.org
>Subject: Re: [CMake] FindBoos
> -Original Message-
> From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf
> Of Philip Lowman
> Sent: 05 December 2010 04:54
> To: Hicham Mouline
> Cc: Philip Lowman; CMake mailing list
> Subject: Re: [CMake] FindBoost: find both win32 and x6
>on win64 boxes, typically, 32bit binaries are under \Program Files (x86)
and
>64bit are under \Program Files
>It would be good if CMAKE_SYSTEM_PREFIX_PATH for e.g., and other similar
>paths, were set to the appropriate
>On win32 boxes:
>. If msvc => \program files
>. If msvc w
ones
based on the name of the libs.
regards
From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of
Philip Lowman
Sent: 04 December 2010 11:03
To: Hicham Mouline
Cc: CMake mailing list
Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs
On Tue, Nov 30, 2010
ir}/${MpiPackageDir}")
endif()
endforeach(MpiPackageDir)
endforeach(SystemPrefixDir)
From: Dave Partyka [mailto:dave.part...@kitware.com]
Sent: 30 November 2010 22:42
To: Hicham Mouline
Cc: CMake mailing list
Subject: Re: [CMake] FindMPI: finding openmpi libs and includes
It will sea
same time as the index of the iteration?
From: Dave Partyka [mailto:dave.part...@kitware.com]
Sent: 30 November 2010 22:42
To: Hicham Mouline
Cc: CMake mailing list
Subject: Re: [CMake] FindMPI: finding openmpi libs and includes
It will search standard locations (/usr/include & /
on win64 boxes, typically, 32bit binaries are under \Program Files (x86) and
64bit are under \Program Files
It would be good if CMAKE_SYSTEM_PREFIX_PATH for e.g., and other similar
paths, were set to the appropriate
On win32 boxes:
. If msvc => \program files
. If msvc win64
As boost libraries naming convention doesn't include in the lib names
whether they are built by msvc9 win32 or x64, I am forced on a winxp 64 box
where I hold both versions to have a different lib directory under
boost_root.
I set BOOST_ROOT then call FIND_PACKAGE(Boost 1.44 COMPONENTS ...).
Am I
Hi,
I have built debug and release win32 and x64 openmpi libs for windows, and I
have them installed on linux x64.
How does FindMPI work for auto detecting If I don't set any MPI_ variable at
all?
Does it search for mpic++ in the %PATH% or $PATH?
What MPI_ variables is the user required to defi
Hi,
Is there a variable that holds the proper newline for the current platform?
\n for unix linux mac
\n\r for windows
I need a cmake variable that will hold
#include "header1.hpp"
#include "header1.hpp"
...
#include "headern.hpp"
and that will be replaced by configure_file to g
-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: 29 July 2010 21:35
To: Hicham Mouline; CMake mailing list
Subject: Re: [CMake] FindQt4 QT_LIBRARIES
> It does crash currently with release libs for relwithdebingfo config. If I
> link against debug li
>>> Hello,I have looked at FindQt4.cmake module for 2.8.2, but I can't find
the code that sets the QT_LIBRARIES variable.Could someone point that
out?Regards
>
>>It's in UseQt4.cmake.
>
>>HTH
>
>>Michael
>
> I am now trying to link against QT debug libariries in the RelWithDebInfo
cmake configuati
>On 29. Jul, 2010, at 10:47 , Hicham Mouline wrote:
>> Hello,I have looked at FindQt4.cmake module for 2.8.2, but I can't find the
>> code that sets the QT_LIBRARIES variable.Could someone point that out?Regards
>It's in UseQt4.cmake.
>HTH
>Michael
I am n
Hello,I have looked at FindQt4.cmake module for 2.8.2, but I can't find the
code that sets the QT_LIBRARIES variable.Could someone point that out?Regards,___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
Hello
I file glob the list of directories and get the result as a list in
MYPROJECT_LIST which is just a string with semicolons.
I'd like to obtain a string that looks like this:
(dir1)(dir2)(dir3)(dir4)...
that I will then pass as a preprocessor macro to C++ code.
Thanks,
___
That must be it, obvious indeed,
Thank you,
From: David Cole [mailto:david.c...@kitware.com]
Sent: 01 July 2010 20:27
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] generating source files with ADD_CUSTOM_COMMAND
Did you build yet?
Custom commands are executed at
to:david.c...@kitware.com]
Sent: 01 July 2010 19:58
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] generating source files with ADD_CUSTOM_COMMAND
I think you mean:
${CMAKE_COMMAND} -E copy src dst
You forgot the -E.
On Thu, Jul 1, 2010 at 2:38 PM, Hicham Mouline wrote:
From: David Cole [mailto:david.c...@kitware.com]
Sent: 01 July 2010 19:58
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] generating source files with ADD_CUSTOM_COMMAND
I think you mean:
${CMAKE_COMMAND} -E copy src dst
You forgot the -E.
_
I'll try
Hello
I'm trying to generate source files .cxx and include them in ADD_LIBRARY to
build a static library, according to
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_generate_a_source_file_during_
the_build.3F
#
# Copy template source files to *.cxx and place them in the build dir
#
ADD_CUSTOM_CO
From: David Cole [mailto:david.c...@kitware.com]
Sent: 27 June 2010 16:39
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] maximum length of a list
On Sun, Jun 27, 2010 at 11:05 AM, Hicham Mouline wrote:
hello
I assign the list of all directories the names of which starts with a
hello
I assign the list of all directories the names of which starts with a
pattern like pattern_ to a cmake variable which I then pass as a
preprocessor macro:
FILE(GLOB MYPROJECT_LIST_SYSTEMS RELATIVE ${CMAKE_SOURCE_DIR} system_*)
MYPROJECT_LIST_SYSTEMS is then a cmake "list", a string w
Hello,
My cmake system is configured to use distcc, as shown here:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/bin/distcc
-- Check for working C compiler: /usr/local/bin/distcc -- works
-- Detecting C compiler ABI in
Hello,
Cmake 2.8.0 doesn't generate the required entry in the VC9 project files to
enable openmp at the IDE level.
It does cause a little confusion.
The /openmp flag is nevertheless added and the compilation succeeds.
There must be a low prio ticket that I couldn't find.
rds,
_
Hello,
I have a library that contain the core of my application.
I have been running this application in text-mode so far. I will now extend it
to use a GUI, and I've chosen Qt.
I have used cmake to generate Makefiles on linux/g++4.x and solutions files on
win32/vs2008.
Qt comes with qmake whi
,
From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of
Philip Lowman
Sent: 15 February 2010 18:06
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] FindBoost: trunk
Not that I know of. I think FindBoost expects only versioned releases.
Please open a ticket with your
Hello,
Is there a way to find the boost trunk include directories and lib
directories?
Regards,
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages o
> -Original Message-
> Subject: [CMake] FindBoost: Boost_ADDITIONAL_VERSIONS : what to do for trunk
> Hi,
> I use the trunk checkout of boost as well as released versions.
> I have it installed under \Program Files
>- boost-trunk
>- boost_1_41_0
> Is there any support at all for
Hi,
I use the trunk checkout of boost as well as released versions.
I have it installed under \Program Files
- boost-trunk
- boost_1_41_0
Is there any support at all for a non-number version?
I want to find the include directory and some of the libraries as well,
rds,_
Hello,
I branch this question out of another post that I posted earlier.
My top-level cmakelists.txt :
.
ADD_SUBDIRECTORY(lib3)
.
In the source tree, the lib3 directory includes a CMakeListst.xt:
ADD_LIBRARY(lib3 ...)
FILE(TO_CMAKE_PATH "C:\\Program Files (x86)\\Qt\\4.6.0\\lib\\QtCore
>> -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\
> -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, 20
> -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
> -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
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
I didn't quite understand.
Was there a workaround (besides setting the /openmp flag manually) ?
Rds,
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on
Hi,
Can the /VERSION:... flag in Linker/General only be added through
compiler-specific options for vs2008 in a cmake file?
Rds,
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.ht
> -Original Message-
> From: Michael Jackson [mailto:mike.jack...@bluequartz.net]
> Sent: 30 December 2009 16:12
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] cmake file in build directory
>
>
> On Dec 30, 2009, at 10:48 AM, Hicham Mouline w
> -Original Message-
> From: John Drescher [mailto:dresche...@gmail.com]
> Sent: 29 December 2009 23:16
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] cmake file in build directory
>
> On Tue, Dec 29, 2009 at 6:01 PM, Hicham Mouline
wrote:
Hello,
I am writing software that uses boost and Qt and other 3rd party libraries for
win/mingw, win/msvc2008 and linux/gcc.
The location of the 3rd party header files is different on each of the boxes I
compile on.
Is there a file to put in the build directory? Is such a file automatically
re
> -Original Message-
> From: Tyler Roscoe [mailto:ty...@cryptio.net]
> Sent: 29 April 2009 19:50
> To: Hicham Mouline
> Cc: cmake@cmake.org
> Subject: Re: [CMake] header-only project for VS2005
>
> On Wed, Apr 29, 2009 at 07:27:05PM +0100, Hicham Mouline wrote:
>
Hello,
I use cmake to generate a VS2005 solution as well as linux/g++ makefiles.
I have a directory containing headers only and subdirs also with headers
only,
However I wish to display 1 project for that directory, and filters 1 for
each of the subdirs.
There is nothing to build for that dir, but
> -Original Message-
> From: Mattias Helsing [mailto:helsin...@gmail.com]
> Sent: 27 March 2009 10:45
> To: Hicham Mouline
> Subject: Re: [CMake] SOURCE_GROUP in VS005
>
> Hi Hicham,
>
> You need to point out files explicitly like:
> source_group("Heade
Hello,
I have the following source dir structure
lib1\CMakeLists.txt
lib1\file1.cpp
lib1\file1.hpp
lib1\subdir1\CMakeLists.txt
lib1\subdir1\file2.hpp
lib1\subdir1\file3.hpp
lib1\subdir2\CMakeLists.txt
lib1\subdir2\file4.hpp
lib1\subdir2\file5.hpp
...
I wish to see this in VS2005
...
+ lib1 (pr
Hello,
we have a number of projects, in some of them, we have translation units that
define member functions of template classes,
and at the bottom we have explicit template instantiations of those templates:
template class Templ;
template class Templ;
it turns out under VS2005/2008 we only need
-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: 13 March 2009 21:25
To: Bill Hoffman
Cc: Hicham Mouline; cmake@cmake.org
Subject: Re: [CMake] VS2005 all headers are excluded
> Is this causing issues with the building of your project? Or is it just
ugly
&
Hello,
cmake 2.6.3.
There has been a number of modifications which have caused all headers in the
generated project files .vcproj to be excluded frm build
(the red minus sign next to the file in Solution explorer)
I have searched from inside VStudio the string HEADER_ONLY (ignoring case) in
all
Hello,
In my CMakeListConfigurationDefaults.txt
I have:
SET(Boost_ADDITIONAL_VERSIONS "1.37" "1.37.0")
SET(BOOST_ROOT "C:/Program Files/boost/boost_1_37")
However, on running cmake, it fails to find boost
-- INFO: Boost not found, you need to set your environment manually
according for your bui
48 matches
Mail list logo