define BOOST_ROOT and point it at the root install location for boost. I
had the same problem, that fixed it. I only had to do that on windows.
Curtis Rueden wrote:
Hi everyone,
I am using CMake to build some code cross-platform. This code requires
Boost Thread to compile. I am having several
wowI typed that at 2:25am last night. so many typos
I actually found out what's going on. It's not cmakes fault, pkg-config
under windows is returning that exact same string, but I didn't notice
because --cflags looked alright. when using --cflags-only-I I get the
C:\Program thing. Maybe I'll
I don't know how the ARTK library is installed on linux systems, but you
could add the NO_DEFAULT_PATH option to find_path...chances are it's
looking in a default path and picking up a header in /usr/include before
getting to your specified directories. What makes you think the
/usr/include is
? Also please keep this on the cmake mailing list.
e...@cs.bgu.ac.il wrote:
On Tue 19 May 3:07 2009 Christopher Harvey wrote:
I don't know how the ARTK library is installed on linux systems, but you
could add the NO_DEFAULT_PATH option to find_path...chances are it's
looking in a default
Hi,
Interesting question. You said that
only one of them has to be used in every executable, the implementation
to use is determined by the executable.
These are static libraries, so how can the exec pick one if it isn't
even built? (As opposed to loading one dynamically)
Basically I'm still
hardcoded in
each executable makefile, in the link line. There is no automatic lib
dependency management.
Alexandre
-Message d'origine-
De : cmake-boun...@cmake.org De la part de Christopher Harvey
Envoyé : jeudi 19 mars 2009 17:58
Hi,
Interesting question. You said that
only one
libraries, and the dependency chain is too complicated for us
to keep maintaining it by hand).
Alexandre
-Message d'origine-
De : cmake-boun...@cmake.org De la part de Christopher Harvey
Envoyé : jeudi 19 mars 2009 19:04
À : Alexandre Feblot
Cc : cmake@cmake.org
Objet : Re: [CMake
Hi Bill,
You can use the MESSAGE(${SOME_INCLUDES}) command. You can also use
the verbose makefile to watch the -I flags that are passed to the compiler.
Chris.
Bill O'Hara wrote:
Hi
If I do a few include_directories() commands in various files.. is
there a variable which I can use to print
Packages don't have to be required because many projects don't require
every single library they can use. For example, not requiring libpng
just means if it's not on the system then your project can't open pngs.
Andrea Tagliasacchi wrote:
This is a bit odd to me. Why would not everything be
Michael Jackson wrote:
On Feb 20, 2009, at 8:51 AM, Christian Ehrlicher wrote:
Michael Jackson schrieb:
On Feb 20, 2009, at 4:59 AM, Eric Noulard wrote:
2009/2/20 Christian Ehrlicher ch.ehrlic...@gmx.de:
Von: Andreas Pokorny
Hello,
Wow that was fast. Thanks a lot.
Obviously I was too
Off the top of my head I think
TARGET_LINK_LIBRARIES(Test1 ${MyLibs})
should be
TARGET_LINK_LIBRARIES(Test1 MyLibs)
Also, I think you need to specify a static library if you want one. It seems
like a static library is what you want in this case.
I wrote this up really quick, and could be wrong
I wasn't able to get a copy, but it's in kde svn
/kde-svn/src/trunk/koffice/*cmake*/modules/
Kaveh Kohan wrote:
Dear CMake users,
I am trying to use gmm++ in my code. I read somewhere on web that
FindGMM.cmake is available. I don't know from where I can download it.
I would be thankful if
perhaps include_directories(..)
That's how I do it.
You can also print the
${SERVER_SOURCE_DIR}
variable.
MESSAGE(SERVER_SOURCE_DIR is ${SERVER_SOURCE_DIR})
Let me know if this works.
Nick Ogden wrote:
Hi there,
I have a problem with using CMake to compile a library that I'm trying to use
Wilfried Holzke wrote:
Hi,
I try to find Boost within a CMakeList.txt file.
I got the following from the documentation of CMake 2.6:
*
SET(Boost_USE_STATIC_LIBS OFF)
SET(Boost_USE_MULTITHREAD OFF)
FIND_PACKAGE(Boost 1.34.1 COMPONENTS multi_array)
if (NOT Boost_FOUND)
how can you be sure it's not going into the if? what's the full code?
Brad Aisa wrote:
The cmake web site says
MSVC: True when using Microsoft Visual C
However if I put it in test like this:
if (MSVC)
...
it is not true!
___
CMake mailing list
works here.
Philip Lowman wrote:
Is anyone else having problems with accessing the CMake website?
--
Philip Lowman
___
CMake mailing list
CMake@cmake.org
what is ${project_SOURCE_DIR} ?
try adding MESSAGE(project_SOURCE_DIR is '${project_SOURCE_DIR}')
right before that line in your cmakelists. I have a sneaking suspicion
it's not what you think it is. You have to use something like
${project_SOURCE_DIR}/../include instead.
BRM wrote:
I have a
what is ${project_SOURCE_DIR} ?
try adding MESSAGE(project_SOURCE_DIR is '${project_SOURCE_DIR}')
right before that line in your cmakelists. I have a sneaking suspicion
it's not what you think it is. You have to use something like
${project_SOURCE_DIR}/../include instead.
BRM wrote:
I have a
I recently wondered the same thing, but when I ran the script by this
mailing list, using all uppercase didn't seem to be a problem.
Judicaël Bedouet wrote:
Hello,
I have read the README file provided in directory cmake-2.6/Modules.
I would just like to clarify a point : the names of the
Alexander Neundorf wrote:
Hi Chris,
On Monday 10 November 2008, Christopher Harvey wrote:
Hi list,
This is a pretty simple module. I'd like to give back to cmake, even in
a small way. I'll maintain this module myself if it's put into the cmake
core.
I removed
I'm not sure what exactly it wants you to recompile with the -fPIC flag,
however with cmake simply doing add_library should include the -fPIC
flag automatically. If you want to verify what flags are being used to
compile a target set CMAKE_VERBOSE_MAKEFILE to TRUE and you should see
that -fPIC is
the name of the IL library.
# ILU_LIBRARY the name of the ILU library.
# ILUT_LIBRARY the name of the ILUT library.
# IL_INCLUDE_DIR where to find the il.h, ilu.h and ilut.h files.
# IL_FOUND this is set to TRUE if all the above variables were set.
# Original file by: Christopher Harvey
Hi cmake maintainers,
I'm wondering if there was a reason why the windows configure interface
outputs message commands as individual dialogs instead of inside some
sort of in-program terminal (that the user wouldn't be able to type
into). It seems to me that it would make the cmake experience more
Alexander Neundorf wrote:
On Friday 07 November 2008, Christopher Harvey wrote:
Hi list,
I wrote this library finding module. If it's good enough for cmake
please include it. If not let me know what's wrong with it so I can fix
it up. It has only had limited testing under linux. Before
Hi list,
Sometimes when using the FindBoost.cmake package I have a very hard time
figuring out what valid names for the components list are. Normally I
just do a google code search but now I can't find what I'm looking for.
I'd like to check to make sure that the boost uBLAS library is
and ilut.h files.
# IL_FOUND this is set to TRUE if all the above variables were set.
# Original file by: Christopher Harvey
FIND_PATH(IL_INCLUDE_DIR il.h
PATH_SUFFIXES include
PATHS
~/Library/Frameworks
/Library/Frameworks
/usr/local/include/IL
/usr/include/IL
/usr/local/include
Hi list,
I just tried FindSDL today. Works great under linux, however under
windows it doesn't seem to do anything at all. My SDL library is
installed in a non-standard location (is there a standard location on
windows?)
Here is my CMakeLists.txt layout:
FIND_PACKAGE(SDL)
...
...
IF(SDL_FOUND)
Hello list,
I was wondering if a better way to handle failed find_library under
windows would be to give the user a chance to manually find the package
before giving an error. I know the user always has the chance to specify
the path afterwards in the GUI, but I think that for users that are
Sorry about the long subject,
My question is about the way cmake defines dynamic link library search
paths for release builds of executables. I've got an executable, written
in C++ that depends on a shared library within the same project. When I
run ldd on that executable I get this output
Eric Noulard wrote:
2008/9/19 Christopher Harvey [EMAIL PROTECTED]:
Sorry about the long subject,
My question is about the way cmake defines dynamic link library search paths
for release builds of executables. I've got an executable, written in C++
that depends on a shared library within
Hello list,
I'll just start off by pasting my CMakeLists.txt, and I'll explain the
problem right after.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
ADD_LIBRARY(Portal SHARED
BSPWorld.cc
Polygon3D.cc)
SET_TARGET_PROPERTIES(Portal PROPERTIES
usually, I just do this type of thing:
TARGET_LINK_LIBRARIES(binary SDL GL GLU GLEW)
try getting rid of quotes, and putting them all in a single command.
Andrew Sayman wrote:
I've been working on linking to some system libraries in a project I'm
building in Linux and I've run into a problem
)))
in both cases, building the library and including the library somewhere else.
visibility is available in a stable form since 4.0.2. Before that
there were issues with
the standard library.
kind regards
Andreas Pokorny
2008/8/9 Christopher Harvey [EMAIL PROTECTED]:
Hi,
I read that gcc exports all
Hi,
I've got a root directory, say /
and there is a CMakeLists.txt in it, that looks like this:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(GlewMingW)
#SET(CMAKE_VERBOSE_MAKEFILE TRUE)
INCLUDE_DIRECTORIES(include)
ADD_LIBRARY(glew STATIC src/glew.c)
#ADD_EXECUTABLE(visualinfo
I was talking to a friend about different build systems. We both like
CMake but we are unable to find a gui for it. (Other than the ncurses
one) It's not terribly important, mostly for fun really. Are there any
GUIs that use GTK or other for CMake?
thanks.
Pau Garcia i Quiles wrote:
Quoting Bill Hoffman [EMAIL PROTECTED]:
Mike Jackson wrote:
In CMake CVS there is a Qt 4.x based GUI in development. I use it
on a daily basis on OS X and it is quite nice.
If you compile CMake from CVS, there is an option to compile the
QtGUI. Look for it in
Hi,
Before I ask my question I want to clarify what I mean by an arbitrary
library. There are libraries that are registered in the system and you
can link to them like so:
target_link_library(targetName GL SDL pq)
and they get sent to the linker int the form:
-lGL -lSDL -lpq
that fine, but I have
Philip Lowman wrote:
On Wed, Feb 27, 2008 at 8:08 PM, Christopher Harvey
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Philip Lowman wrote:
On Wed, Feb 27, 2008 at 7:13 PM, Christopher Harvey
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto
38 matches
Mail list logo