Hi Vince,
does your system have the make utility (not nmake)? That is the
build program that the MinGW generator is looking for.
You should also build in a different directory than the source directory
- to keep that clean.
So, something along these lines:
cd \
md plplot-build
cd
Well, in my case, the library name was not even that specific.
It found /usr/lib/libboost_date_time-mt.so
before /home/loose/boost/boost-1.40.0/lib/libboost_date_time.so, simply
because libboost_date_time-mt.so is searched for in *all* paths before
libboost_date_time.so.
Anyway, I still think
Someone could add an option to FindBoost that will simply exclude the system
paths from the search. This has never been implied by setting BOOST_ROOT.
As long as the unversioned library names are being searched for with
find_library they are likely going to be found. Currently the onus is on
the
Hi Michael,
That still doesn't answer my question about turning that loop inside
out.
A quick grep in the CMake Modules directory showed me that there are at
least a dozen other FindXXX scripts that use multiple NAMES with a
FIND_XXX() commands. I haven't checked how they handle default
That is exactly what I had tried (thanks for confirming that things work the
way I think) at first. I didn't try the SET(...) but I did put the full path
to SWIG in my PATH. Since that should have worked I tried something else. I
usually run from a .bat file on windows and an equivalent
Hi,
-Original Message-
From: Michael Wild [mailto:them...@gmail.com]
I'd recommend to change the add_sources function to do all the
preprocessing and then only add the products (.f, .f90, .c etc.) files
to the list. You can do the preprocessing like this (of course, you'll
have to
- Original Message -
From: John Drescher dresche...@gmail.com
To: Oli Glaser o...@glasers.org; bacula-users
bacula-us...@lists.sourceforge.net
Sent: Friday, March 19, 2010 12:46 PM
Subject: Re: [CMake] QTCreator project to VS2008 problems
On Fri, Mar 19, 2010 at 5:58 AM, Oli Glaser
Hi. I have a ctest script for my nightly builds, as follows:
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
SET (CTEST_SITE mysite)
SET (CTEST_BUILD_NAME myproject)
SET (CTEST_DASHBOARD_ROOT C:/myproject)
SET (CTEST_SOURCE_DIRECTORY ${CTEST_DASHBOARD_ROOT})
SET (CTEST_BINARY_DIRECTORY
Thanks for the reply - I added mainwindow.h to the automoc but I get the
same thing - I thought it might be the QMetaobject header or library it was
looking for, looking at the the error messages, but I checked and the header
is there, and the search paths are correct. I built the QTProject
- Original Message -
From: John Drescher dresche...@gmail.com
To: Oli Glaser o...@glasers.org; CMake mailing list cmake@cmake.org
Sent: Friday, March 19, 2010 1:09 PM
Subject: Re: [CMake] QTCreator project to VS2008 problems
Thanks for the reply - I added mainwindow.h to the automoc
You may want to take a look at the following sample project:
http://www.cmake.org/Wiki/images/2/25/QtTest-Package-Example.zip
While the project was geared towards OS X specific topics the project
will compile and run on any platform that Qt is supported on,
Including MinGW and Visual
On Mar 19, 2010, at 9:21 AM, Oli Glaser wrote:
- Original Message - From: John Drescher dresche...@gmail.com
To: Oli Glaser o...@glasers.org; CMake mailing list cmake@cmake.org
Sent: Friday, March 19, 2010 1:09 PM
Subject: Re: [CMake] QTCreator project to VS2008 problems
Thanks
I may have worded that badly, so just to clarify - the QT I am using to
create the VS2008 project (the one used with cmake) was compiled with
VS2008, it's just the original code that was created in a mingw compiled
QTCreator. I thought the point of cmake is to enable porting code from one
Steven Wilson wrote:
That's an interesting idea. Would this step attach the dependencies to
the .c file or the .bc file?
It would attach them to the .c file.
On Thu, Mar 18, 2010 at 7:49 PM, Bill Hoffman bill.hoff...@kitware.com
mailto:bill.hoff...@kitware.com wrote:
I have a
Thanks for all the help, I got it working. I was not including the automoc
generated headers or wrapped ui in the executables, I was adding the
original files instead.
- Original Message -
From: John Drescher dresche...@gmail.com
To: Michael Jackson mike.jack...@bluequartz.net
Cc:
I insert
SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file
and
SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file
for disable testing of compiler.
After that cmake generated make file correctly and i compiled may
application.
Another temp solution may be put this
With multiple versions installed, setting the BOOST_ROOT variable will force
the FindBoost module to search the desired location first. Turning the loop
inside out wouldn't really solve the problem when multiple libraries are
searched for (date_time, thread). The problem arises when multiple
What version of Visual Studio 2008 are you running? Express. Standard?
Pro?
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton,
Kitware is pleased to announce the release of the Fifth Edition of
Mastering CMake. This edition features instructions for building your
own project with CMake; information on how to update a project for new
versions of CMake by explaining the CMake policy system; and a
discussion of how to
Ramazan Girgin wrote:
I insert
SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file
and
SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file
for disable testing of compiler.
After that cmake generated make file correctly and i compiled may
application.
Another temp
Bill Hoffman wrote:
Ramazan Girgin wrote:
I insert
SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file
and
SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file
for disable testing of compiler.
After that cmake generated make file correctly and i compiled may
Say your project is called foo, you could do something like this:
# Mark variables to be included in the cache-init script
# The variables must already exist in the cache.
function(foo_add_cache_init_vars)
get_property(is_defined GLOBAL PROPERTY FOO_CACHE_INIT_VARIABLES DEFINED)
if(NOT
On Fri, Mar 19, 2010 at 11:07 AM, Luis Ibanez luis.iba...@kitware.com wrote:
Kitware is pleased to announce the release of the Fifth Edition of
Mastering CMake
http://www.kitware.com/products/books/CMakeBook.html
This edition features instructions for
Hi,
the solution with a master CMakeLists.txt works well but now I don't
know how to write wrapper for OPTION and SET functions, can you give
me an example?
I'm quite new to cmake so another question is:
what is the diffence between create a xxx-config and the file I create
with INSTALL(EXPORT
Hi,
This is a bit length, sorry.
-Original Message-
From: Michael Wild [mailto:them...@gmail.com]
What am I missing? I'm trying again with my simple a/liba.c and
b/b/libb.c setup, but this time I start out with liba.cr and libb.cr
that need to be converted to liba.c and libb.c.
On Fri, Mar 19, 2010 at 10:08:39AM -0300, Felipe Sodre dos Santos wrote:
SET (CTEST_UPDATE_COMMAND svn)
SET (REPO_USERNAME nightly_builder)
SET (REPO_PASSWORD nightly_builder_pass)
SET (REPO https://myrepo/svn/myproject/trunk)
SET (CTEST_CVS_CHECKOUT svn co ${REPO} --username ${REPO_USERNAME}
On 19. Mar, 2010, at 16:27 , Verweij, Arjen wrote:
Hi,
This is a bit length, sorry.
-Original Message-
From: Michael Wild [mailto:them...@gmail.com]
What am I missing? I'm trying again with my simple a/liba.c and
b/b/libb.c setup, but this time I start out with liba.cr and
Quoting Bill Hoffman bill.hoff...@kitware.com:
Kitware is pleased to announce the release of the Fifth Edition of
Mastering CMake. This edition features instructions for building your
own project with CMake; information on how to update a project for new
versions of CMake by explaining the
Eric Noulard wrote:
Is there really nothing you can to to lower the price of the shipping
for european people?
(I did not checked whether if the price is similar for other european
countries).
I would suggest that you order the book from Amazon, they are able to
get much better international
2010/3/18 Caron, Michael C. (US SSA) michael.ca...@baesystems.com:
Can CMake/CTest handle testing distributed applications? For example, I’ve
got a Socket based server and client. I want to test various combinations
of server and client on the same machine, on distributed homogeneous
indig...@blogistan.co.uk wrote:
\
What's actually *new* in this edition? I run a blog on Qt developments
so I'd like to know if there's any Qt-specific stuff.
Matt
There is nothing extensive on Qt in the new book. We have just made the
table of contents and index available here:
Nehme Bilal wrote:
Hello all,
I am a not very familiar with Cmake but I am starting a
new project based on cmake and trying to add boost
libraries to my project.
Fortunately boost now provide a cmake configuration
FYI, the CMake configuration for Boost is unofficial.
No decision has been
include_directories(
boost/src
boost/build/lib/Exports.cmake
)
I think that you want
include( boost/build/lib/Exports.cmake )
instead. Also, you will need to specify the full path to the boost directory.
___
On Fri, Mar 19, 2010 at 2:17 PM, James C. Sutherland
james.sutherl...@utah.edu wrote:
include_directories(
boost/src
boost/build/lib/Exports.cmake
)
I think that you want
include( boost/build/lib/Exports.cmake )
instead. Also, you will need to specify
Why not just let the user decide where they'd like to get boost, and simplify
your build system by just using find_package(Boost)?
For example, this is all you need for a simple boost-using app...
find_package(Boost 1.34.0 REQUIRED COMPONENTS filesystem system)
On Mar 19, 2010, at 3:34 PM, James C. Sutherland wrote:
Why not just let the user decide where they'd like to get boost,
and simplify your build system by just using find_package(Boost)?
For example, this is all you need for a simple boost-using app...
find_package(Boost 1.34.0 REQUIRED
Thanks all for your responses !
I tried James C. Sutherland solution and modified my
CMakeList like this:
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
include_directories(${CMAKE_SOURCE_DIR}/boost/src)
include(
Sorry I did some mistakes. The error I am getting is:
LINK : fatal error LNK1104: cannot open file
'libboost_date_time-vc100-mt-gd-1_41.lib'
and visual studio is trying to look for vc100 instead of
vc
On Fri, 19 Mar 2010 16:49:24 -0400
Nehme Bilal nbi...@mirarco.org wrote:
Thanks all for
Hello,
I have the following directory structure
root
|--- project A
|--- project B
Project A B both have their cmakelists.txt file
Root has a cmakelists.txt file which does add_subdirectory for project A
and B
When I generate the tree in visual studio, I have a solution
I just tried the same solution below on linux and it's
working perfectly. I guess it's a visual studio-boost
problem.
Thanks.
Nehme
On Fri, 19 Mar 2010 16:51:49 -0400
Nehme Bilal nbi...@mirarco.org wrote:
Sorry I did some mistakes. The error I am getting is:
LINK : fatal error LNK1104:
I'm having trouble using set_source_files_properties from a subdirectory. Say
I have a top-level CMakeLists.txt like this:
cmake_minimum_required(VERSION 2.8)
project(test)
add_subdirectory(subdir)
get_source_file_property( temp subdir/test.c COMPILE_FLAGS )
41 matches
Mail list logo