Re: [CMake] check_function_exists

2014-05-30 Thread Christer Solskogen
On 30.05.2014 18:42, Hendrik Sattler wrote: Linking the static library may require additional link libraries for this test to succeed... -ltermcap was missing. Thanks for the input, it helped :-) -- chs -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ a

[CMake] list of install components

2014-05-30 Thread Rick McGuire
Is there a variable that contains the list of components that have had install() commands issued for them? Rick -- 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 comm

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Bill Hoffman
On 5/30/2014 2:44 PM, Michael Jackson wrote: How is CMake determining if the Intel Compiler is available? Registry query or Path query? I tried to export the FC variable but that did not work either. I guess I'll have to fire up yet-another virtual machine. was just hoping to bounce back and for

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Андрей Парамонов
I have now checked on different system, and it works now in cmake-gui (with patched CMakeFilters.cmake)! Thank you for your support, Andrey Paramonov 2014-05-30 14:46 GMT+04:00 Nils Gladitz : > On 05/30/2014 12:28 PM, Андрей Парамонов wrote: > >> However, in any case cmake-gui shows a checkbox,

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Michael Jackson
On May 30, 2014, at 1:43 PM, Bill Hoffman wrote: > On 5/30/2014 12:53 PM, Michael Jackson wrote: >> Is it possible to install both a GFortran and Intel Fortran on the >> same machine? I have a window 7 x64 machine where I have Visual >> Studio 2013 Pro installed in addition to Intel Fortran (Wha

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Bill Hoffman
On 5/30/2014 12:53 PM, Michael Jackson wrote: Is it possible to install both a GFortran and Intel Fortran on the same machine? I have a window 7 x64 machine where I have Visual Studio 2013 Pro installed in addition to Intel Fortran (What ever the latest is) and I also downloaded GFortran (From th

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Nils Gladitz
On 30.05.2014 18:53, Michael Jackson wrote: Is it possible to install both a GFortran and Intel Fortran on the same machine? I have a window 7 x64 machine where I have Visual Studio 2013 Pro installed in addition to Intel Fortran (What ever the latest is) and I also downloaded GFortran (From th

[CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Michael Jackson
Is it possible to install both a GFortran and Intel Fortran on the same machine? I have a window 7 x64 machine where I have Visual Studio 2013 Pro installed in addition to Intel Fortran (What ever the latest is) and I also downloaded GFortran (From the GCC Wiki pages). I have setup some batch fi

Re: [CMake] check_function_exists

2014-05-30 Thread Hendrik Sattler
On 30. Mai 2014 17:36:41 MESZ, Christer Solskogen wrote: >Hi! > >I have a CMakefile with the following code: > >find_package(Readline) >if(READLINE_FOUND) > set(CMAKE_REQUIRED_LIBRARIES "readline") > check_function_exists(rl_filename_completion_function >HAVE_RL_COMPLETION_FUNC

[CMake] check_function_exists

2014-05-30 Thread Christer Solskogen
Hi! I have a CMakefile with the following code: find_package(Readline) if(READLINE_FOUND) set(CMAKE_REQUIRED_LIBRARIES "readline") check_function_exists(rl_filename_completion_function HAVE_RL_COMPLETION_FUNCTION) if(HAVE_RL_COMPLETION_FUNCTION) set(HAVE

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Nils Gladitz
On 05/30/2014 12:28 PM, Андрей Парамонов wrote: However, in any case cmake-gui shows a checkbox, not a editbox/combobox. So, it's likely a problem of cmake-gui. I tried this reduced CMakeLists.txt: cmake_minimum_required(VERSION 2.8.12) set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Андрей Парамонов
2014-05-30 14:12 GMT+04:00 David Cole : > The cache is telling you: > > >"//No help, variable specified on the command line." > > If you want the help string from your sources to appear in the > CMakeCache.txt, then don't specify a value for it on the command line... > > Delete the cache, and

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Nils Gladitz
On 05/30/2014 12:12 PM, David Cole wrote: The cache is telling you: "//No help, variable specified on the command line." If you want the help string from your sources to appear in the CMakeCache.txt, then don't specify a value for it on the command line... Delete the cache, and try again w

Re: [CMake] String option recognized as boolean

2014-05-30 Thread David Cole
The cache is telling you: "//No help, variable specified on the command line." If you want the help string from your sources to appear in the CMakeCache.txt, then don't specify a value for it on the command line... Delete the cache, and try again without giving the arg on the command line

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Андрей Парамонов
2014-05-30 13:09 GMT+04:00 Nils Gladitz : > Does the cache show BOOL as the type of HDF5_ALLOW_EXTERNAL_SUPPORT or is > it specifically just cmake-gui showing the wrong type? > > If it is BOOL in your CMakeCache.txt then it has to be specifically set as > such from within your project somewhere. >

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Nils Gladitz
On 05/30/2014 10:31 AM, Андрей Парамонов wrote: 2014-05-30 11:54 GMT+04:00 Nils Gladitz mailto:nilsglad...@gmail.com>>: Did you start with a fresh build directory? If HDF5_ALLOW_EXTERNAL_SUPPORT already exists as a BOOL entry in your CMakeCache.txt the set() will not modify its type

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Андрей Парамонов
2014-05-30 11:54 GMT+04:00 Nils Gladitz : > Did you start with a fresh build directory? > If HDF5_ALLOW_EXTERNAL_SUPPORT already exists as a BOOL entry in your > CMakeCache.txt the set() will not modify its type or value. I've double-checked and yes, the problem doesn't go away with fresh build

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Nils Gladitz
On 05/30/2014 09:37 AM, Андрей Парамонов wrote: I have replaced option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO SVN TGZ)" "NO") with set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO SVN TGZ)") SET_PROPERTY(CACHE HDF5_ALLOW_EXTERNA

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Андрей Парамонов
I have replaced option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO SVN TGZ)" "NO") with set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO SVN TGZ)") SET_PROPERTY(CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO SVN TGZ) however cm

Re: [CMake] String option recognized as boolean

2014-05-30 Thread Nils Gladitz
On 05/30/2014 08:27 AM, Андрей Парамонов wrote: Is it a problem in cmake or in HDF5 sources? If the latter, how could it be fixed? I'm a first-time cmake user, so please forgive my ignorance ;-) Best wishes, Andrey Paramonov I haven't tried configuring the project but looking at the sources .