On Thu, 10 Oct 2019, Eric Noulard wrote:
...
> with patchelf is works with an intriguing warning:
> warning: working around a Linux kernel bug by creating a hole of 2093056
> bytes in ‘/path/to/executable’
>
> which seems to be a resolved issue:
> https://github.com/NixOS/patchelf/issues/92
>
> aft
On Thu, 10 Oct 2019, Eric Noulard wrote:
...
> No rpath and using "only" LD_LIBRARY_PATH is not feasible in that case?
> Removing rpath is easy; chrpath -d lib_or_exe
You could but, to avoid a maintenance headache, you'd normally end up
getting the environment module to load any prereq environmen
On Thu, 10 Oct 2019, Eric Noulard wrote:
...
> No they can't because the maximum size is burried into the binary ELF file,
> that why CMake "reserve" some space with many ";;;" in order to replace
> BUILD_RPATH with INSTALL_RPATH when doing
> 'install'.
Hi Eric,
Interesting - any ideas on how big
On Wed, 9 Oct 2019, Aaron Cohen wrote:
> Is it not feasible to just let the build system do whatever it is going to
> and use "chrpath" or "patchelf" to change the rpath after-the-fact?
Thanks for the suggestion, but I need to add directories to the rpath: I
believe that neither utility allows i
On Wed, 9 Oct 2019, Craig Scott wrote:
...
>>> Is there a way to reliably add to, or at least override, the developer's
>>> rpath in any cmake-built software?
>>
>> Short of editing the build system scripts? I doubt...
>
> The CMAKE_INSTALL_RPATH variable is used to initialise the INSTALL_RPATH
> p
On Wed, 9 Oct 2019, Zakrzewski, Jakub wrote:
...
> That "something" seems to be line 257: set(CMAKE_INSTALL_RPATH
> "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
There's a second something that's adding boost's library directory. I'm
guessing this is maybe coming from my copy of cmake's boost de
Hi,
I install lots of software packages under Linux and, increasingly, they
use cmake instead of other methods (congratulations!)
Frustratingly for me, I seem to keep ending up in a fight with the various
developer's cmake config files over what rpath should be set, among other
things. Obvious
.
[1] https://git.cryptomilk.org/users/asn/socket_wrapper.git/log/?h=master-fix
Thanks,
Anoop C S.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For
Hello.
I tried to compile LTP using cmake on Windows 10 with Visual Studio compiler
...
However, "CMakeOutput.log" says that The system is: Windows - 10.0.14393 -
AMD64.
And I Installed Windows 10 SDK but the same error keeps occurring.
Hope your help.
Waiting for your reply.
_201707201
Hello,
I am trying to get ctest working on CircleCI with multiple concurrent
containers. The following command works for many cases:
ctest -j 2 -I ${CIRCLE_NODE_INDEX},,${CIRCLE_NODE_TOTAL}
unless there are dependencies specified between tests via something like:
set_property(TEST B APPEND
Thanks you for the fix and tips!
Brad
From: Brad King [brad.k...@kitware.com]
Sent: Tuesday, June 07, 2016 3:13 PM
To: Lowekamp, Bradley (NIH/NLM/LHC) [C]
Cc: CMake@cmake.org
Subject: Re: [CMake] Problem building CMake with system OPENSSL
On 06/07/2016 10
3.6.0-rc1/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c:52:0:
/tmp/cmake-3.6.0-rc1/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:102:25:
fatal error: openssl/evp.h: No such file or directory
#include
^
compilation terminated.
Thanks for
gt; 2016-06-03 10:27 GMT-04:00 Lowekamp, Bradley (NIH/NLM/LHC) [C]
> :
>> Hello,
>>
>> I am trying to build CMake on an old system with a new version of openssl.
>> My build script was working with CMake 3.4 but is not working with 3.5.2 or
>> current master.
make -j ${NPROC} &&
./bin/cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_USE_OPENSSL:BOOL=ON
-DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_USE_SYSTEM_CURL:BOOL=OFF . &&
make -j${NPROC}
ERROR MESSAGE:
41%] Building C object
Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibar
I have seen this issue has been closed:
https://cmake.org/Bug/view.php?id=16093#bugnotes
I understand the synopsis shows that those "options" (so they are called)
have to be given as first, but I think then it should be made explicit in
the option description and/or cmake should give a clear error
I don't know the package on the website has been updated in the meantime,
but cmake.exe and cmake-gui.exe are there now, in the bin subfolder.
Message: 1
Date: Fri, 6 May 2016 22:32:01 +0100
From: Miklos Espak
To: "cmake@cmake.org"
Subject: [CMake] No cmake.exe in latest CMake windows binaries
The proposed solution does not seem to work.
There is now an issue related https://cmake.org/Bug/view.php?id=16059
--
Ing. Claudio Caraffi, PhD
E-Mail: claudio.cara...@gmail.com
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/W
I recently struggled with the command CheckIncludeFile (and siblings) while
working with a custom toolchain.
Even if I was setting the necessary CMAKE_SYSROOT, include_directories and
even CMAKE_REQUIRED_INCLUDES, the commands would report a given header was
not found.
When I hacked into:
CheckInc
|__GNU-CXX.cmake
|| ||__GNU.cmake
|| | |__GNU.cmake
|| |
|| |__[Platform]
|| | |__Win
S "ARGV${i}: ${CMAKE_ARGV${i}}")
endforeach()
message(STATUS "ExternalData file: ${file}")
Some runs:
$ cmake -Dfile=good.tif -P EqualTest.cmake
-- ARGV0: c:\Program Files (x86)\CMake 2.8\bin\cmake.exe
-- ARGV1: -Dfile=good.tif
-- ARGV2: -P
-- ARGV3: EqualTest.cmake
-- ARGV4:
-- Ex
Hi,
I'm trying to set up a project pulls in information from another CMake project
(include dirs, libraries, etc.). As I understand it the right thing to do is
create a config.cmake.in in the source project and then use
find_package in config mode to pull in the information to the dependent pr
roach?
Regards,
--
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
On Tue, Nov 22, 2011 at 5:11 PM, Clinton Stimpson wrote:
> On
patch the FindQt4 module if the community agrees
on this solution.
Regards,
--
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
--
input on this issue and alternative permanent
solution to the problem.
Regards,
--
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
--
Power
On So, 18.09.2011 16:37:31, Perry Ismangil wrote:
> On of our project, one of the header file included in the project is
> deliberately missing, the user have to manually create it before
> building for the first time.
Do you want the user to manually add the header, or do you want cmake
to create
t me to the right location to add documentation, I'm happy to write
>> some. (I can write some for _UNICODE as well, if you like.)
>>
>> Aaron Meadows
>>
>>
>> -Original Message-
>> From: David Cole [mailto:david.c...@kitware.com]
>> Sent:
http://public.kitware.com/Bug/print_bug_page.php?bug_id=10077*
*
James
*
*
On Tue, Mar 29, 2011 at 11:56 AM, David Cole wrote:
> Hi all,
>
> Now that we have released CMake 2.8.4, *now* would be a great time to
> prioritize bug fixes for the next release of CMake.
>
> Replies requested. Read o
The recent thread on ctest and git submodules made me start considering
using submodules in a few projects. My question is how to integrate the two
build systems (both cmake based).
Right now I do a find_package() to resolve the dependent library. If I move
to a submodule, and both the superproj
My company has been tightening up the security of our systems and we have had
some new security settings and new security software added to our machines.
I've been using CMAKE to build both Linux and Windows deliverables for close to
a year now with no significant problems. I tried to launch a
Mantis lets you customize bug resolution. Maybe a new category of
resolution could be created. Instead of "Won't Fix" it could be
"Lack of Activity"?
David
From: cmake-boun...@cmake.org [cmake-boun...@cmake.org] On Behalf Of Bill
Hoffman [bill.hoff...@
Be sure that you have
INCLUDE_DIRECTORIES( [path to Internal.h and External.h] )
set.
James
On Tue, Nov 16, 2010 at 12:24 PM, David Doria wrote:
> Ryan,
>
> The issue is that these headers are only used internally to this
> collection of files, so I don't want to have to include them in my
>
On Wed, Sep 1, 2010 at 8:06 AM, Michael Jackson wrote:
> This probably isn't the best solution but until CMake fixes the bug and
> includes the updated FindHDF5.cmake file in the next or future release this
> is what you have to do:
>
> Copy the FindHDF5.cmake file from the current CMake distribu
On Wed, Sep 1, 2010 at 8:06 AM, Michael Jackson wrote:
>
> Now, edit the FindHDF5.cmake file (the one that you copied into your
> project) to remove the offending lines/fix the bug.
>
Well - that is the real trick. I am not sure where the offending lines
are...
It may be that the path of least
FYI, I just replicated this on Mac OSX 10.6.4 with HDF5 1.8.2 and CMake
2.8.1. If I do not have the "hl" libs installed things break with the same
message on the configure step.
James
On Wed, Sep 1, 2010 at 7:51 AM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:
>
...@bluequartz.net
> BlueQuartz Software Dayton, Ohio
>
>
> On Sep 1, 2010, at 9:17 AM, James C. Sutherland wrote:
>
> I was aware of the CMake build for the newer HDF5 releases.
>>
>> However, I need this to work for users who are not able/willing to build
>> th
; REQUIRED NO_MODULE PATHS
> "$ENV{ProgramFiles}/HDF5")*
>
>
>
> [To fix the problem on the systems without re-installing, just remove
> references to hdf5_hl from the FindHDF5 stuff in your cmake installation
> module]
>
>
>
> JB
>
>
>
> *From:* cmake-bo
s/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5_cpp.a
>
My CMakeLists.txt file has the following:
set( HDF5_USE_STATIC_LIBRARIES 1 )
> find_package( HDF5 COMPONENTS C CXX )
>
Any idea of how to get fix this problem?
James
_
Hi,
Am Mittwoch, 18. August 2010 schrieb Nils:
> 1. Is there a way to tell find_package to only look for 32bit libs?
> 2. Is there a way to tell find_package to look only in a specific
> path?
Findpackage is just a normal cmake script running find_library.
So you could copy FindGtest.cmake to you
Is the FindMatlab.cmake package maintained? It seems to fail miserably on
Mac.
Are there any patches out there?
Thanks for any tips...
James
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/o
I have a project that may need to use a fortran compiler depending on the
user configuration of the project.
The problem is that I don't want to force usage of fortran (in the project()
statement) since in some cases a user may not have a fortran compiler
installed and I want the configure to proc
On Mon, Jul 5, 2010 at 10:44 AM, John R. Cary wrote:
> On 7/5/2010 9:37 AM, James C. Sutherland wrote:
>
>
>
> On Mon, Jul 5, 2010 at 9:34 AM, John Cary wrote:
>
>> I have simply:
>>
>>FIND_PACKAGE(BLAS)
>>FIND_PACKAGE(LAPACK)
>>
>&
On Mon, Jul 5, 2010 at 9:34 AM, John Cary wrote:
> I have simply:
>
>FIND_PACKAGE(BLAS)
>FIND_PACKAGE(LAPACK)
>
> but cmake gives
>
> -- Looking for BLAS... - NOT found (Fortran not enabled)
> -- Looking for LAPACK... - NOT found (Fortran not enabled)
>
> Is this more complicated somehow?
Hi again,
Am Sonntag, 13. Juni 2010 schrieb Michael Hertling:
> SET(var1 ${var1} PARENT_SCOPE)
Thank you; that completey solved it!
Thanks again,
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/o
Hello list,
A varible ${var1} can be accessed in any subdirectory’s
CMakeLists.txt.
However, if those files change ${var1} these changes are not
accessible from the directory above.
Is there any possibility of getting this done, anyway?
I need to provide easy adding for source files to the deve
On May 12, 2010, at 11:43 AM, James C. Sutherland wrote:
> I would like to execute a command like:
> getrates -n < myFileName
>
> I am trying to add this so it is processed after the target "getrates" is
> built
>
> set( infile ${CM
I would like to execute a command like:
getrates -n < myFileName
I am trying to add this so it is processed after the target "getrates" is built
set( infile ${CMAKE_CURRENT_BINARY_DIR}/myFileName )
add_custom_command( TARGET getrates
POST_BUILD
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/get
t;
Message-ID:
<9bf48db58688484396c43886e8e7ad880695725...@rshbgxmbcls1.rosettastone.local>
Content-Type: text/plain; charset="us-ascii"
I am using swig in cmake to create a JNI wrapper around a C++ library.
Everything is working fine, however I would like to jar up
on the wiki page, CMake fails during the configure
>> phase:
>> The C compiler "/Applications/MATLAB_R2010a.app/bin/mex" is not able to
>> compile a simple test program.
>>
>
> Did you apply to the patch linked on the wiki page and build your out custom
>
e fails
during the configure phase:
The C compiler "/Applications/MATLAB_R2010a.app/bin/mex" is not able to
compile a simple test program.
Is anyone using Matlab in their CMake files? I am trying to build a rather
large project with mixture of C, C++, fortran, Matlab, and py
I am trying to use CMake to build a very simple CUDA program. I am seeing the
following errors when I try to build:
> /usr/include/c++/4.2.1/new(95): error: first parameter of allocation function
> must be of type "size_t"
> /usr/include/c++/4.2.1/new(96): error: first para
g my expectations too high.
Basically I want to create a java interface to a c++ lib using SWIG as part of
my CMake build process. This library has been successfully created before
using SWIG so I'm sure it can be done. It's just a matter of figuring out how
integrate it with the CM
>
> 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)
> include_directori
>
> 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.
__
...@kitware.com]
Sent: Thursday, March 18, 2010 4:16 PM
To: Caron, Michael C. (US SSA)
Cc: cmake@cmake.org
Subject: Re: [CMake] CMake and SWIG
If you open the file "C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/FindSWIG.cmake" and read through it, you will see
exactly where CMake
I'm just starting to try and get CMake and SWIG to play nice together. All
I've done is add:
FIND_PACKAGE(SWIG REQUIRED)
to an existing CMakeLists.txt file that has worked before now. With only this
addition I get:
CMake Error at C:/Program Files/CMake
2.8/share/cmake-2
On Mar 18, 2010, at 7:47 AM, Marcel Loose wrote:
> I ran into a problem with FindBoost where it fails to find the correct
> version of a component library. The cause is pretty clear to me.
This isn't an answer to your question, but have you tried the CMake version of
boost? I have found it much
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 machines (all
win or all Linux), and on distributed heterogeneous machines (
I'd like to say thanks to those who have responded to my plea for help. I was
able to finally figure out what the problem was and figured I should share.
As I suspected it was something stupid. We use DevStudio .NET 2003 and Intel
Fortran 9.0 to build our projects on windows. We h
I've just started using CMake and have great hopes for it making my life
simpler. I currently have a windows console project that mixes C++ and Fortran
code. I have the main body of the code (in Fortran), an interface to display
code written in C++(in Fortran), and some display code (C++
Hello,
thx for your reply…
Am Dienstag, 9. Februar 2010 schrieb Michael Wild:
> What is it exactly you are trying to achieve?
Well, you got me perfectly right…
I like to have all symbols in my static libraries included as is… :-)
> IMHO this can't possibly work. I assume that you want to create
Hello Lists,
I have lots of small libraries and sometime it is needed to unify them to a
main program library e.g. libtest.so for my test program…
I tried
ADD_LIBRARY(test-mainlib SHARED "")
SET_TARGET_PROPERTIES( test-mainlib PROPERTIES OUPUT_NAME libtest )
But this does not work due to "Canno
See this property:
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:LIBRARY_OUTPUT_DIRECTORY
Oh, wow, I totally missed that. Thanks, Bill, it worked like a charm. :)
--ryan.
___
Powered by www.kitware.com
Visit other Kitware open-sour
I'm trying to add bindings for various scripting languages to my library
PhysicsFS ( http://icculus.org/physfs/ ), and I'm having some trouble.
Eventually I end up with something like this abbreviated example for the
Perl bindings...
# This is the actual main library, not the binding.
Hello Liu,
> However, after ccmake and then make, I got the error:
> main.cxx:(.text+0x10a): undefined reference to `func()'
> collect2: ld returned 1 exit status
Can you put
SET (CMAKE_VERBOSE_MAKEFILE TRUE)
to your CMakeLists.txt to check what compiler command is run?
bye
C.M.
Hello,
Am Freitag, 8. Januar 2010 schrieb Marcel Loose:
> If you've set the flags "-foo -bar" using add_definitions(), instead of
> manipulating CMAKE_C_FLAGS directly, you can use
>
> set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "-baz")
Currently I manually set CMAKE_Fortran_FLAGS_D
Hello,
Is it possible to create a library which itself gets some of its
implementation from another library?
This comes because of some sources files of my library need modules of another
source file in a subdirectory…
Is it considered bad style to build a library out of appr. 5 “sub-libraries
Hi,
Am Samstag, 2. Januar 2010 schrieb Pau Garcia i Quiles:
> No, there is not. Just use an out-of-source build.
Great help.
Thanks a lot!
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensour
Hello list,
is there a make or cmake target which cleans all cmake generated files?
(e.g. folder CMakeFiles, cmake_install.make, …)
Would be nice not to be forced doing this manually…
Thanks in advance
C.M.
___
Powered by www.kitware.com
Visit other K
Hello again,
You helped a lot…
Thank You!
I solved the ordering problem with
“add_dependencies( … )”
Thank you again.
bye
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.htm
Hello List,
I’m moving my fortran project to cmake…
I have a src directory containing 3 dirs:
main
mod1
mod2
The main program in “main” is to be linked against the libs in “mod1”
and “mod2”.
Additionally “mod2” does need “mod1”, too. (use mod1).
When compiling gfortran says:
Fatal Error: Can'
t; More precisely, how can I force the use of the MPI_COMPILER ? Do I have
> to set the CMAKE_CXX_COMPILER to MPI_COMPILER value ? If yes, how can I
> force it because it is initially set to /usr/bin/c++ (I've a cache
> option to switch on/off sequential/parallel mode) and it seems
Is there a way in CMake to determine the number of shared-memory cores on a
system?
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check th
ry(MainLib)
> add_subdirectory(MainLib/luabind-0.7)
> add_subdirectory(OgreFltk)
>
>
> ---
>
> in the OgreFltk directory, project (OgreFltk) and add_executable (OgreFltk
> ...) is defined.
>
> cmake .
> make VERBOSE=true
>
&g
a tutorial somewhere? Where does the
> file get installed into? What does the consumer of the file need to put into
> their cmake files?
>
> And what version of CMake does all that apply to?
>
Mike,
I applaud this effort! Now we just need a fully functional C++ interface for
HDF5.
On Nov 11, 2009, at 9:05 AM, Brad King wrote:
> James C. Sutherland wrote:
>> Thanks. To be clear, it only works if I use
>>
>> set( ExprLib_LIBRARIES @TPL_LIBRARIES@ )
>>
>> because otherwise I have no way of propagating the dependents of
>> Exp
Brad, thanks for the feedback. See comments below.
On Nov 10, 2009, at 11:30 AM, Brad King wrote:
> James C. Sutherland wrote:
>> The library I am building pulls in several other libraries (MPI, BLAS,
>> Boost, etc). I would like any down-stream apps that use my library to
&
On Nov 9, 2009, at 12:00 PM, Brad King wrote:
James C. Sutherland wrote:
However, I just discovered that this is a deprecated feature, and
that
install(EXPORT...)
should be used instead.
Good, it is much more modern and more powerful.
However, it is not clear to me how to incorporate
On Nov 7, 2009, at 11:59 AM, James C. Sutherland wrote:
I have been using
export_library_dependencies()
to incorporate library dependencies when generating configuration
files for use with find_package()
However, I just discovered that this is a deprecated feature, and that
I have been using
export_library_dependencies()
to incorporate library dependencies when generating configuration
files for use with find_package()
However, I just discovered that this is a deprecated feature, and that
install(EXPORT...)
should be used instead.
However, it is
On Oct 29, 2009, at 2:03 PM, Will Dicharry wrote:
James C. Sutherland wrote:
It appears that the variable
HDF5_FOUND
is not being set in the FindHDF5.cmake module.
Any way of getting this fixed prior to the 2.8.0 release?
It is set for my systems when it is found. The standard system
It appears that the variable
HDF5_FOUND
is not being set in the FindHDF5.cmake module.
Any way of getting this fixed prior to the 2.8.0 release?
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/
On Oct 26, 2009, at 8:13 AM, Moreland, Kenneth wrote:
Consider using the UseLATEX.cmake collection of macros. It supports
out-of-source builds (in fact, sort of enforces them) and handles
copying .sty files as well as all sorts of other sticky little
issues with building LaTeX files. You
On Oct 22, 2009, at 8:50 AM, Bill Hoffman wrote:
James C. Sutherland wrote:
Thank you, Dave and Bill. Your suggestions fixed the problem. It
seems that this is likely a bug that should be fixed, since the
behavior is different on Mac and Linux.
Can you add some message statements and
Thank you, Dave and Bill. Your suggestions fixed the problem. It
seems that this is likely a bug that should be fixed, since the
behavior is different on Mac and Linux.
On Oct 22, 2009, at 6:27 AM, Bill Hoffman wrote:
James C. Sutherland wrote:
I am using configure_file to copy files
I am using configure_file to copy files during the build process. I
have a nested directory structure, that can be represented as:
/rootdir
CMakeLists.txt
/test
CMakeLists.txt
When processing rootdir/test/CMakeLists.txt, I have the following:
#---
get_filename_
If I add a CMake file via add_subdirectory is there a way to obtain
its absolute or relative path?
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-
How do I set an environment variable so that it is visible globally in
CMake? Specifically, I want to have it visible when I run something
like:
#---
# set the environment variable value
set( ENV{myVariable} ... )
# run a test through a CMake script that requ
I have a fairly large project where the header files from various
subdirectories are combined into a single include directory when the
project is installed.
For example, header "a.h" may be located in:
/root/subproject1/
in the source tree, it is located in
/include/MyProject/
I have a situation where I have a few TPLs that are built via auto
tools and another project with CMake.
tpl1 -> lib1
tpl2 -> lib2
myproject -> libmyproj
I would like to combine the two TPLs into my project library. From
looking at previous postings on this list, it s
On Oct 2, 2009, at 8:20 AM,
wrote:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--test=${TESTVAR} --prefix=$
{CMAKE_I
On Sep 22, 2009, at 6:16 AM, motes motes wrote:
In a CMakeList.txt file I have:
SET(ELASTIX_BUILD E:/local/lib/elastix_sources_v4.1/src/build)
...
LINK_DIRECTORIES(${ELASTIX_BUILD}/Components/Optimizers/
StandardGradientDescent)
I would to be able to specify the variable: ELASTIX_BUILD w
Visual Studio 2008 like this:
bjam --build-dir=c:\temp\boost toolset=msvc --build-type=complete
install
and for MinGW GCC like this:
bjam --build-dir=c:\temp\boost toolset=gcc --build-type=complete
install
Adding set(Boost_ADDITIONAL_VERSIONS "1.40" "1.40.0") didn
On Sep 15, 2009, at 2:47 PM, Tyler Roscoe wrote:
On Tue, Sep 15, 2009 at 02:20:35PM -0600, James C. Sutherland wrote:
set( CMAKE_INSTALL_PREFIX
${CMAKE_CURRENT_BINARY_DIR}
CACHE PATH "installation path"
)
This doesn't work - I assume that this is because
CMAKE_INSTALL_PREF
On Sep 15, 2009, at 12:59 PM, Tyler Roscoe wrote:
On Tue, Sep 15, 2009 at 12:37:27PM -0600, James C. Sutherland wrote:
A related question: If I set CMAKE_INSTALL_PREFIX in my
CMakeLists.txt file
set( CMAKE_INSTALL_PREFIX
${CMAKE_CURRENT_BINARY_DIR}
)
and then run ccmake, I find that the
On Sep 15, 2009, at 2:15 PM, Tyler Roscoe wrote:
On Tue, Sep 15, 2009 at 02:08:44PM -0600, James C. Sutherland wrote:
So assuming that I wanted my CMakeLists.txt file to modify the
default
install location, but allow the user to change this, wouldn't I do
something like:
On Sep 15, 2009, at 12:50 PM, David Cole wrote:
I believe the word used was "reproducible" not "reliable" -- and I
think he was talking about the fact that it is not reproducible
because it depends on human interaction. Other than the human
sitting at the keyboard, I have found ccmake (an
On another mailing list that I subscribe to someone mentioned that
ccmake was not very reliable. Is this true?
A related question: If I set CMAKE_INSTALL_PREFIX in my
CMakeLists.txt file
set( CMAKE_INSTALL_PREFIX
${CMAKE_CURRENT_BINARY_DIR}
)
and then run ccmake, I find that the CMAKE_
On Sep 11, 2009, at 12:16 PM, Boudewijn Rempt wrote:
On Friday 11 September 2009, James C. Sutherland wrote:
On Sep 11, 2009, at 8:24 AM, Boudewijn Rempt wrote:
I'm getting weird linking errors after I upgraded to Snow Leopard.
This is probably because the library you are linking to
On Sep 11, 2009, at 8:24 AM, Boudewijn Rempt wrote:
I'm getting weird linking errors after I upgraded to Snow Leopard.
This is probably because the library you are linking to is 32-bit and
Snow Leopard's development environment will produce 64-bit binaries.
Try recompiling the library/libr
On Sep 2, 2009, at 3:27 AM, Tim Chan wrote:
I am getting the error:
-- Boost version required: 1.35.0. Found: ..
CMake Error at /usr/share/cmake-2.6/Modules/FindBoost.cmake:553
(MESSAGE):
Couldn't find the Boost libraries and/or include directory, or the
version
found is too old. Plea
1 - 100 of 227 matches
Mail list logo