On 11/03/2011 07:23 PM, Bill Hoffman wrote:
> On 11/3/2011 1:19 PM, Paul Whelan wrote:
>> Hi guys,
>>
>> I have a possibly naive question about cmake. I've got three
>> applications that build with cmake. Normally they build and run
>> independently. However, for a particular release I have to comb
On 11/03/2011 10:02 PM, Stephen Torri wrote:
> Searching the net for how to install PDB files with CMake comes up with no
> real solution. I can see from the mailing list archives that this issue had
> been brought up before. What is am acceptable way to install PDB files when
> compiling on Win
Hi,
I am using cmake 2.8.6 and add_jar from UseJava.cmake
I am unable to change the output directory of the freshly created jar
sat archive.jar to some output directory say PROJECT_OUTPUT.
Although I see it in the ${CMAKE_CURRENT_BINARY_DIR} I can not move it
even using add_custom_command or ex
Thanks for volunteering for this!
-
Robert Dailey
On Wed, Nov 2, 2011 at 7:30 PM, Stephen Kelly wrote:
> David Cole wrote:
>
> > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey
> > wrote:
> >> On Tue, Nov 1, 2011 at 3:32 PM, David Cole
> >> wrote:
> >>>
> >>> Not yet
> >>
> >> Meaning
On 11/03/2011 09:10 PM, Daniel Dekkers wrote:
> Hi,
>
> We are creating a directory structure for distribution of an open-source
> library with examples included.
> It looks something like this:
>
> + library <- the root directory
> CMakeLists.txt <- create context for building (only) the libra
On Thu, Nov 3, 2011 at 4:16 PM, Michael Hertling wrote:
>> Static linking of glibc is not really supported; IIRC glibc's
>> DNS and localization support use shared libraries under
>> the hood, even when you ask for static linking
>
>[statically linked utilities are essential for disaster recovery
The normal library search semantics on OS X are:
Normally, the linker goes through each path in the search paths one at a
time to find a dynamic version of the library. If none is found, it goes
through each of those paths looking for a static version of the same
library.
http://developer.apple.c
On 11/03/2011 10:18 PM, Dan Kegel wrote:
> On Thu, Nov 3, 2011 at 7:51 AM, Mauricio Klein
> wrote:
>> One last question: i've tried to compile my code using static linkage, once
>> i need my daemon runs in many Linux releases.
>
> Static linking of glibc is not really supported; IIRC glibc's
> DN
On Thu, Nov 3, 2011 at 2:44 PM, Michael Hertling wrote:
> However, variables preset with OPTION() are usually
> intended to be at the user's disposal - otherwise, they wouldn't be
> options - so a project should definitely pass through without errors
> regardless to which values these variable are
First time posting to the list. I couldn't find an issue tracker or a
place to post a patch (not sure if this is a dev/user or both list). I've
happily converted over to using CMake from Autotools, and I hope to never
go back. I use CxxTest, but I'd like to put it in a non-standard location
(it
On 11/03/2011 08:20 PM, Dan Kegel wrote:
> Thanks for the authoritative answer.
>
> I'm now using
>
> SET(gtest_force_shared_crt on CACHE BOOL
> "Use shared (DLL) run-time lib even when Google Test is built as static
> lib.")
> add_subdirectory(gtest)
> include_directories(gtest/include)
> add
Am Donnerstag, 3. November 2011, 21:39:05 schrieb Daniel Dekkers:
> It's standard practice if you go down your hierarchy, hence
> add_SUBdirectory(). But "upstream"? add_subdirectory(../../library)?
> Doesn't work.
> Maybe a standard include() with an absolute path, but doesn't feel right.
Look at
On Thu, Nov 3, 2011 at 7:51 AM, Mauricio Klein
wrote:
> One last question: i've tried to compile my code using static linkage, once
> i need my daemon runs in many Linux releases.
Static linking of glibc is not really supported; IIRC glibc's
DNS and localization support use shared libraries under
Searching the net for how to install PDB files with CMake comes up with no real
solution. I can see from the mailing list archives that this issue had been
brought up before. What is am acceptable way to install PDB files when
compiling on Windows?
Stephen
--
Sent from my Android phone with K-
I have finally successfully compiled our library and tests on Win7 with mpich2.
However I had to make the following changes in FindMPI.cmake starting at line
409. I added the fortran block and removed the quotes from the
set(MPI_LIBRARIES_WORK ...) commands. The qoutes really messed up VS linkin
It's standard practice if you go down your hierarchy, hence add_SUBdirectory().
But "upstream"? add_subdirectory(../../library)? Doesn't work.
Maybe a standard include() with an absolute path, but doesn't feel right.
Op 3 nov. 2011 om 21:27 heeft Dan Kegel het volgende
geschreven:
> Wait, what
Wait, what happens when you do add_subdirectory(..), or whatever? I
thought that was standard practice.
--
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 the CMake FAQ at:
http://
Hi,
We are creating a directory structure for distribution of an open-source
library with examples included.
It looks something like this:
+ library <- the root directory
CMakeLists.txt <- create context for building (only) the library
+ src <- contains the sources of the library
CMakeLis
Thanks for the authoritative answer.
I'm now using
SET(gtest_force_shared_crt on CACHE BOOL
"Use shared (DLL) run-time lib even when Google Test is built as static lib.")
add_subdirectory(gtest)
include_directories(gtest/include)
add_executable(mymain mymain.cpp)
target_link_libraries(mymain gt
On 11/03/2011 06:39 PM, Mauricio Klein wrote:
> ldd reports that is not dynamically executable, as expected. But even ldd
> saying that, the problem with GLIBC occurs.
What exactly does ldd report, and how exactly the executable is linked?
Regards,
Michael
> On Thu, Nov 3, 2011 at 3:33 PM, Mich
On 11/03/2011 02:14 AM, Dan Kegel wrote:
> Right, so, I have this fragment:
>
> set(gtest_force_shared_crt ON)
> add_subdirectory(gtest)
>
> Oddly, when I run cmake, that variable is off. WTF?
>
> Looking at the cache, I see
>
> build/CMakeCache.txt:gtest_force_shared_crt:BOOL=OFF
>
> It look
Wiki page is here:
http://www.cmake.org/Wiki/BundleUtilitiesExample
On Thu, Nov 3, 2011 at 2:35 PM, Michael Jackson
wrote:
> You will want to look for "BundleUtilities" in the CMake Wiki for a working
> example of this.
> ___
> Mike Jac
You will want to look for "BundleUtilities" in the CMake Wiki for a working
example of this.
___
Mike JacksonPrincipal Software Engineer
BlueQuartz SoftwareDayton, Ohio
mike.jack...@bluequartz.n
On 11/3/2011 1:19 PM, Paul Whelan wrote:
Hi guys,
I have a possibly naive question about cmake. I've got three
applications that build with cmake. Normally they build and run
independently. However, for a particular release I have to combine them
in a source distribution. I wanted to create a cm
Hi guys,
I have a possibly naive question about cmake. I've got three
applications that build with cmake. Normally they build and run
independently. However, for a particular release I have to combine them
in a source distribution. I wanted to create a cmake script in a parent
directory conta
Hi,
How is it possible to add a Shared Library to a bundle?
Are there any properties to place the library to a defined directory (e.g.
Bundle.app/Contents/Framework)?
Thanks in advance
Best Regards
NoRulez
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.k
ldd reports that is not dynamically executable, as expected. But even ldd
saying that, the problem with GLIBC occurs.
On Thu, Nov 3, 2011 at 3:33 PM, Michael Hertling wrote:
> On 11/03/2011 06:20 PM, Mauricio Klein wrote:
> > The error reported occurs in the launch time: the daemon doesn't starts
On 11/03/2011 06:20 PM, Mauricio Klein wrote:
> The error reported occurs in the launch time: the daemon doesn't starts and
> report (in terminal) a GLIBC version error. [...]
Usually, this means that it has *not* been linked statically against
the GLIBC on the build system. Which dependencies doe
The error reported occurs in the launch time: the daemon doesn't starts and
report (in terminal) a GLIBC version error. I mean, the daemon was compiled
in a old CentOS (4.8) and i'm trying to run in the latest Ubuntu.
But anyway, i will make more tests as you sugested and try to discovery
what exa
On 11/03/2011 03:51 PM, Mauricio Klein wrote:
> Thank you Raphael, it worked!
>
> One last question: i've tried to compile my code using static linkage, once
> i need my daemon runs in many Linux releases. But, even static, in many
> systems my code crashes because the GLIBC version.
How do these
Hello,
I'm encountering some issues during configuration.
Config is :
- cmake 2.8.5
- Visual Studio 2008 Express
CHECK_CXX_SOURCE_RUNS_ARGS is used to compile and run a program, to
verify that it does not segfault, and output a warning message if it does.
I'm encountering a runtime issue (an
Thank you Raphael, it worked!
One last question: i've tried to compile my code using static linkage, once
i need my daemon runs in many Linux releases. But, even static, in many
systems my code crashes because the GLIBC version.
My question is: asking for static linkage in CMake can solve this pr
Mauricio Klein
writes:
> I can compile all my codes without problems, but in the linkage step, i
> receive a lot of errors about undefined reference to OpenSSL functions
> (yes, my code uses OpenSSL).
>
> In my own (and ugly :P) Makefile, i use "-lssl" flag in g++ compile line.
>
> My question is
On 3 November 2011 15:12, Mauricio Klein wrote:
> Hello guys!
> I'm new in CMake world, and i'm trying to compile a daemon developed a log
> time ago.
> I can compile all my codes without problems, but in the linkage step, i
> receive a lot of errors about undefined reference to OpenSSL functions
Hello guys!
I'm new in CMake world, and i'm trying to compile a daemon developed a log
time ago.
I can compile all my codes without problems, but in the linkage step, i
receive a lot of errors about undefined reference to OpenSSL functions
(yes, my code uses OpenSSL).
In my own (and ugly :P) Make
Am 03.11.2011 12:42, schrieb Hendrik Sattler:
Am 03.11.2011 12:26, schrieb John R. Cary:
Feels like I am doing something wrong.
Looking for multiple libraries:
$ cat CMakeLists.txt
set(mylibdir /contrib/netcdf-4.1.2-ser/lib)
foreach (name netcdf_c++ netcdff netcdf)
message("Looking for ${nam
Am 03.11.2011 12:26, schrieb John R. Cary:
Feels like I am doing something wrong.
Looking for multiple libraries:
$ cat CMakeLists.txt
set(mylibdir /contrib/netcdf-4.1.2-ser/lib)
foreach (name netcdf_c++ netcdff netcdf)
message("Looking for ${name} in ${mylibdir}.")
find_library(mylib NAMES
Feels like I am doing something wrong.
Looking for multiple libraries:
$ cat CMakeLists.txt
set(mylibdir /contrib/netcdf-4.1.2-ser/lib)
foreach (name netcdf_c++ netcdff netcdf)
message("Looking for ${name} in ${mylibdir}.")
find_library(mylib NAMES ${name} PATHS ${mylibdir} NO_DEFAULT_PATH)
38 matches
Mail list logo