Have you considered tweaking your rpath settings? This
linkhttp://www.cmake.org/Wiki/CMake_RPATH_handlinghas proved to be
very useful to me in the past.
Cheers,
Adolfo
On Sun, Mar 1, 2009 at 10:34 PM, Gregory Sharp gregsharp@yahoo.comwrote:
Hello, I ran into a problem with getting the
Hello Juan,
Several years ago, I wrote some cmake rules to work with lex and yacc on
Linux and windows.
Hop it will help you.
Andre E.
Below the macro :
#
# here, I will put some macro
# for flex and yacc transformation
#
# Author EBERSOLD Andre
# Created 6/7/2007
#
IF(UNIX)
SET(LEXER
Hi,
I have a problem with one project. There's one file that doesn't accept a some
compiler flags because g++ then has problems (templates, etc).
So, I would like to set with another valuer the CMAKE_CXX_FLAGS_RELEASE and
CMAKE_CXX_FLAGS_RELWITHDEBINFO for an _specific_ target.
I have looked
Hello,
I need to copy a directory structure into a MAC OSX bundle at build
time and to generate a configuration file containing the file-paths of
those file (or at least the directories where they are located).
I can up to now copy the files in the bundle but CMAKE destroys the
directory
Philip Lowman wrote:
On Fri, Feb 27, 2009 at 5:24 PM, Brad King brad.k...@kitware.com
Try removing an object file from a shared library, rebuild just that
library,
and then run the executable (which still exists). It will break at
runtime,
but if you try relinking the
Hi all,
After reading the recently added wiki
dochttp://www.cmake.org/Wiki/CMake:Improving_Find*_Modulesabout
improving CMake Find* modules, I have a style question. In the section
that discusses finding packages in unusual locations, it is suggested that
Each module should have an environment
Hi,
I want to know if there are any progress on git support for
CMake/CTest/CDash. Is this planned to be released soon?
Regards,
Félix C. Morency
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi Eric,
genrb does not create libraries to link against, but binary resource files that
will be loaded by an application using ICU at runtime.
Here's an example how we are using genrb in our project:
macro(IcuResources Encoding)
set(${CurrPkg}_resdir
I saw a bug closed that allows one to associate file extensions it looks
like, does this mean I can now associate file types with executables in
windows as well? If so, how?
-Tom
___
Powered by www.kitware.com
Visit other Kitware open-source projects
All,
if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I pass
additional libraries to the target_link_libraries? I have two optimized
libaries. One for /MT and one for /MD.
Thanks,
Dima
2009/2/25 jessepe...@gmail.com
On Wed, Feb 25, 2009 at 1:38 AM, Hendrik Sattler
Félix C. Morency wrote:
I want to know if there are any progress on git support for
CMake/CTest/CDash. Is this planned to be released soon?
You can track progress here:
http://www.cmake.org/Bug/view.php?id=7541
I have an implementation mostly done, but not quite ready for publishing
to the
Hello,
i try to compile the library vtkfltk with cmake but i don't manage. in fact,
i have some fields that i don't know what to put
in(fltk_include_directory,fltk_images_library,fltk_GL_library,fltk_forms_library,fltk_base_library...).
please could you help me with a tuto or else where i can get
Version 2.6 patch 2 on OS X and Linux -- you know your code is
portable when the same issue happens on multiple platforms!
Here's the scenario -- a guy in our department was having trouble
getting ccmake to generate makefiles.
My diagnosis was pretty simple: His project depended on both ITK and
When I add a library target with add_library command
If my lib type is SHARED I get this error at link time on apple no input
files and if I look at the command there is realy no input file .o
specified. And if the lib is static everything work fine with the same source
file.
Is there
On Monday 02 March 2009, Nicolas Slythe (Intern) wrote:
When I add a library target with add_library command
If my lib type is SHARED I get this error at link time on apple no input
files and if I look at the command there is realy no input file .o
specified. And if the lib is static
Have you considered tweaking your rpath settings? This
linkhttp://www.cmake.org/Wiki/CMake_RPATH_handlinghas proved to be
very useful to me in the past.
Thank you for the suggestion. I'm pretty sure that RPATH
is only for Unix, however, so I use the script as in step (3)
to set PATH.
SET(TARGET_SOURCE
./utils/utils.cxx
./test/test.cxx
./test/test1.cxx
)
ADD_DEFINITIONS (
-DK_NODLL
-DK_DISABLE_UI
)
ADD_LIBRARY (
test
SHARED
${TARGET_SOURCE}
)
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Am Montag 02 März 2009 18:24:32 schrieb Dmytro Ovdiienko:
if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I
pass additional libraries to the target_link_libraries? I have two
optimized libaries. One for /MT and one for /MD.
That depends if you want to link statically or
On Monday 02 March 2009, Nicolas Slythe (Intern) wrote:
SET(TARGET_SOURCE
./utils/utils.cxx
./test/test.cxx
./test/test1.cxx
)
ADD_DEFINITIONS (
-DK_NODLL
-DK_DISABLE_UI
)
ADD_LIBRARY (
test
SHARED
${TARGET_SOURCE}
)
I don't have a mac here, but
Alexander Neundorf wrote:
On Monday 02 March 2009, Nicolas Slythe (Intern) wrote:
SET(TARGET_SOURCE
./utils/utils.cxx
./test/test.cxx
./test/test1.cxx
)
ADD_DEFINITIONS (
-DK_NODLL
-DK_DISABLE_UI
)
ADD_LIBRARY (
test
SHARED
${TARGET_SOURCE}
)
I don't have
Hi,
Suppose, IMPORTED libraries should help. Following is text from CMake
manual:
Higher granularity may be achieved for per-configuration rules by creating
and linking to IMPORTED library targets. See the IMPORTED mode of the
add_library command for more information.
See also
Philip Lowman wrote:
On Fri, Feb 27, 2009 at 7:11 PM, Clinton Stimpson
clin...@elemtech.com mailto:clin...@elemtech.com wrote:
I'm writing a FooConfig.cmake to support
find_package(Foo COMPONENTS A B C)
I see that Foo_FOUND is always TRUE no matter what I try to set to
from
FindCxxTest is a simple module. Other than a helper macro, it mostly
just does:
find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h)
find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl)
find_program(CXXTEST_PYTHON_TESTGEN_EXECUTABLE cxxtestgen.py)
It figures out where CxxTest is installed,
I want to link something against the date_time library in boost. The
comments in the FindBoost.cmake module imply that I
should be able to use something like ${Boost_date_time_LIBRARY}. But the
variable is always empty for me.
Here is my code:
SET(Boost_USE_STATIC_LIBS ON)
On Mon, Mar 2, 2009 at 6:33 PM, Tyler Roscoe ty...@cryptio.net wrote:
FindCxxTest is a simple module. Other than a helper macro, it mostly
just does:
find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h)
find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl)
On Mon, Mar 2, 2009 at 7:55 AM, Gerhard Grimm ggr...@detec.de wrote:
Hi Eric,
genrb does not create libraries to link against, but binary resource files
that will be loaded by an application using ICU at runtime.
Here's an example how we are using genrb in our project:
Probably should be ${Boost_DATE_TIME_LIBRARY}
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Mar 2, 2009,
On Mon, Mar 2, 2009 at 7:20 PM, E. Wing ewmail...@gmail.com wrote:
I want to link something against the date_time library in boost. The
comments in the FindBoost.cmake module imply that I
should be able to use something like ${Boost_date_time_LIBRARY}. But the
variable is always empty for me.
Thanks for the replies. Capitalization was indeed the problem.
FIND_PACKAGE(Boost 1.3.6 COMPONENTS date_time filesystem regex system)
The 1.3.6 is a typo, btw. You probably want 1.36 or whatever minimum
version you need to use boost
Thanks for pointing that out. I probably would have
On Mon, Mar 2, 2009 at 9:39 PM, E. Wing ewmail...@gmail.com wrote:
Also, one additional thing. If you use Boost_LIBRARIES it will
automatically contain all of the libraries you specify after the COMPONENTS
line (including debug/optimized keywords). This is often fine for many
Boost
On Mon, Mar 2, 2009 at 7:37 AM, Leopold Palomo Avellaneda
l...@alaxarxa.netwrote:
Hi,
I have a problem with one project. There's one file that doesn't accept a
some
compiler flags because g++ then has problems (templates, etc).
So, I would like to set with another valuer the
On Mon, Mar 2, 2009 at 9:59 AM, Adolfo Rodríguez dof...@gmail.com wrote:
Hi all,
After reading the recently added wiki
dochttp://www.cmake.org/Wiki/CMake:Improving_Find*_Modulesabout improving
CMake Find* modules, I have a style question. In the section
that discusses finding packages in
Do you feel that I'm better off using Boost_LIBRARIES?
If you're comfortable with maintaining the dependencies where they are
needed I would recommend doing it the way you were planning on and use
Boost_COMPONENT_LIBRARY, it also handles the debug/optimized links for
Visual Studio. I only
Hi
I'm working on general purpose CMake applications building facility (in fact
fixing existing one - part of Gentoo build system) and I need some way of
filtering out hardcoded insane CMAKE_BUILD_TYPE-specific compiler flags still
being able to preserve user specified CMAKE_BUILD_TYPE (to
34 matches
Mail list logo