Re: [CMake] cmake shared library exported symbols on 64bit AIX XLC compiler

2015-02-19 Thread Michael Hufer
Hi, We already supply the correct CMAKE_C_FLAGS and CMAKE_CXX_FLAGS to the compiler and link flags for 64bit. So the issue is not with the compiler or linker but the "CreateExportList"- tool cmake invokes to generate the list of symbols to be exported by the shared library before linking it.

Re: [CMake] cmake shared library exported symbols on 64bit AIX XLC compiler

2015-02-19 Thread Roman Bolshakov
If your project is supposed to be built 64-bit only on 64-bit build host and 32-bit only on 32-bit one, you can just append proper flag into CMAKE_CXX_FLAGS and CMAKE_C_FLAGS depending on the value of CMAKE_SIZEOF_VOID_P ( http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_SIZEOF_VOID_P.html). In

[CMake] cmake link issue

2015-02-19 Thread Jim Edwards
The FindHDF5.cmake returns this for HDF5_C_LIBRARIES /soft/libraries/hdf5/1.8.14/cnk-xl/V1R2M2-20150213/lib/libhdf5.a;/soft/libraries/alcf/current/xl/ZLIB/lib/libz.a;/usr/lib64/libdl.so;/usr/lib64/libm.so;/soft/libraries/hdf5/1.8.14/cnk-xl/V1R2M2-20150213/lib/libhdf5_hl.a;/soft/libraries/hdf5/1.8.

[CMake] CheckIncludeFiles doesn't find header files

2015-02-19 Thread NoRulez
Hello, I hope someone could help me please. I've the following situation that when I run CMake from the command line, all is working as expected and CheckIncludeFiles find the header files. However, when I run the configure and build steps from within a CTestScript the CheckIncludeFiles doesn'

Re: [CMake] EXTERNAL cache entries

2015-02-19 Thread Miklos Espak
The workaround I found was to delete the configure time stamp file. It is not very nice, though, so better suggestions are welcome. On 19 February 2015 at 15:47, Miklos Espak wrote: > Hi, > > in CMakeCache.txt the entries are divided into two sections, external and > internal cache entries. > >

[CMake] EXTERNAL cache entries

2015-02-19 Thread Miklos Espak
Hi, in CMakeCache.txt the entries are divided into two sections, external and internal cache entries. What does exactly get into the external section, and when does this section get updated? The CMake cache of my project has some external cache entries that come from an external project. If I up

Re: [CMake] How to force package target generate a file before proceeding

2015-02-19 Thread Shyrokov, Sasha
Thanks Roman for the detailed response. I would like the hash generated when I use “make package” command, not “make install”. I can see that my hgHash.cmake is included, but it does not run on “make package”. Thanks, Sasha From: Roman Bolshakov [mailto:rool...@gmail.com] Sent: Wednesday, Febr

Re: [CMake] Visual Studio Dependencies broken for custom target sln

2015-02-19 Thread Jörg Kreuzberger
Dependency handling works with 3.2-rc1. So i will migrate. -- 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 more information on each offering, please

[CMake] cmake shared library exported symbols on 64bit AIX XLC compiler

2015-02-19 Thread Michael Hufer
Hi, we have issues linking against shared libraries created in our project on AIX 7.1 with XLC 12.1 when creating 64bit applications. The created shared libraries to not export any symbols. After some digging around I figured out that this is due to a missing argument for IBM's XL CreateExport

Re: [CMake] Visual Studio add-in: adding non-cmake files as dependencies to trigger re-generation

2015-02-19 Thread Alessio
Works like a charm Thank you very much! On 19 February 2015 at 00:26, Roman Bolshakov wrote: > You might try to use CMAKE_CONFIGURE_DEPENDS ( > http://www.cmake.org/cmake/help/v3.0/prop_dir/CMAKE_CONFIGURE_DEPENDS.html) > property: > > set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPE

[CMake] Visual Studio Dependencies broken for custom target sln

2015-02-19 Thread Jörg Kreuzberger
Hi! I have a problem with visual studio dependencies that i actually do not understand. Perhaps you can give me an hint. I have made my libs, apps with cmake successfull and everything is fine with any SINGLE Configuration generator, even jom nmake makefiles, linux, etc. For building my apps se