[CMake] system runtime library file does not exist (warning)

2019-09-17 Thread Ilias Miroslav, doc. RNDr., PhD.
Hello, I have recent CMake 3.15.2 and old MKL library 11.1. Upon configuration cmake is issuing warnings due to faulty determined folder of general name FOLDER_lin (proper name is without lin): CMake Warning at /home/milias/bin/cmake/cmake-3.15.2-Linux-x86_64/share/cmake-3.15/Modules/InstallR

[CMake] help with OBJECT libraries hierarchy

2016-06-22 Thread Ilias Miroslav
Dear experts, I am trying to introduce OBJECT libraries into our project, http://www.diracprogram.org. Into local src/functionality1/CMakeLists.txt I changed add_library(main ${local_sources}) to add_library(main OBJECT ${local_sources})

Re: [CMake] first WARNING message swallows all previous STATUS messages in cmake configure

2016-06-18 Thread Ilias Miroslav
Sent: Saturday, June 18, 2016 7:46 PM To: Ilias Miroslav Cc: cmake@cmake.org Subject: Re: [CMake] first WARNING message swallows all previous STATUS messages in cmake configure I have some questions for clarification: Which CMake-Version do you use? Which OS do you use? And where is the output of

[CMake] first WARNING message swallows all previous STATUS messages in cmake configure

2016-06-18 Thread Ilias Miroslav
Dear experts, we are employing CMake buildup system in our project http://www.diracprogram.org. We have a system of cmake files, many of them containing printouts in the form message(STATUS "...") . What happens, however, is when message (WARNING ...) appears du

[CMake] execute short program during cmake configuration ?

2016-06-02 Thread Ilias Miroslav
Greetings, dear experts, we have (two) short Fortran programs (detection of integer*4/8 for math libraries) which we would like to build and execute during project's configuration phase. There is the " CheckFortranSourceCompiles" command to compile a Fortran source code during project's c

Re: [CMake] ctest not sending xlm-files to dashboard

2015-05-09 Thread Ilias Miroslav
-j 2 -D Experimental --track Miro 1>>%LOG% 2>&1 Best, Miro From: Ilias Miroslav Sent: Saturday, May 09, 2015 12:28 PM To: cmake@cmake.org Subject: ctest not sending xlm-files to dashboard Dear experts, I found that ctest is not sending resul

[CMake] ctest not sending xlm-files to dashboard

2015-05-09 Thread Ilias Miroslav
Dear experts, I found that ctest is not sending resulting xml-files to the CDash-board. This is the ctest of version 3.2.0-rc1 on Windows server 2012. With the "ctest -D ExperimentalSubmit" command in the bat-script, which is launched automatically during the night by the Task Scheduler (wh

Re: [CMake] Cannot find appropriate C++ compiler

2013-06-10 Thread Ilias Miroslav
Ad: http://www.cmake.org/pipermail/cmake/2013-June/054994.html Dear Bill, the log output file is attached; repeating errors in this file are: -- cmake_bootstrap_22794_test.cxx:3:21: error: iostream: No such file or directory cmake_bootstrap_22794_test.cxx:

[CMake] CC, CXX (& Fortran) compiler version - CMake macros wanted

2012-12-11 Thread Ilias Miroslav
Dear CMake experts, I appreciate your efforts resulting into the introduction of the CMAKE_[C|CXX]_COMPILER_VERSION variables from CMake version 2.8.10 ( http://www.cmake.org/pipermail/cmake/2012-January/048596.html ). However, I would need also the CMAKE_Fortran_COMPILER_VERSION variable. L

Re: [CMake] ifort, icc, icpc: ld: cannot find -lcilkrts : RULE_LAUNCH_LINK ?

2012-12-03 Thread Ilias Miroslav
Ad: http://www.cmake.org/pipermail/cmake/2012-November/052833.html Dear CMake experts, in one of my previous posts, http://www.cmake.org/pipermail/cmake/2011-March/043365.html, I was instructed to use RULE_LAUNCH_LINK with a custom shell script to modify linker command line. Now I would need

[CMake] -rdynamic again

2012-11-30 Thread Ilias Miroslav
Ad: http://www.cmake.org/pipermail/cmake/2012-November/052773.html Hi, this good point - having possibility to modify linker flags, which are set up automatically. I am struggling (http://www.cmake.org/pipermail/cmake/2012-November/052833.html) with offending libraries beeing added to linker

[CMake] can CMake determine linker version ?

2012-11-28 Thread Ilias Miroslav
Dear experts, in recent versions of ld-linker I have to use this flags for static linking: target_link_libraries(${EXECUTABLE} -Wl,--no-export-dynamic) however, older versions, like "GNU ld version 2.17.50.0.6-20.el5 20061020" does not know the flag "--no-export-dynamic". Would it be pl

Re: [CMake] ifort,icc,icpc: ld: cannot find -lcilkrts

2012-11-27 Thread Ilias Miroslav
I would be very glad to have possibility to modify CMAKE__IMPLICIT_LINK_LIBRARIES Best, Miro From: cmake-boun...@cmake.org [cmake-boun...@cmake.org] Sent: Sunday, November 13, 2011 5:33 PM To: Ilias Miroslav Subject: Your message to CMake awaits

[CMake] SilverFrost FTN95 and CMake ?

2012-06-02 Thread Ilias Miroslav
Dear all, has someone experience with mixing http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.aspx and CMake on Windows 7 ? I can not get simple program compiledsee below. M -- C:\Users\dv6-2145ec\Documents\MiroIlias_osobne\dirac_soft

[CMake] selective compilation according to suffix

2012-05-29 Thread Ilias Miroslav
Dear CMake experts, in our project we have some categories of compiler flags, like 'safe flags'-no optimization, 'runtime checking flags', 'profiling flags' and so on. I would like to have defined own filename extensions according to specific compilers flags, let say make VERBOSE=1 source_fil

Re: [CMake] static cmake, ctest executables

2012-02-05 Thread Ilias Miroslav
ulard [eric.noul...@gmail.com] Sent: Saturday, February 04, 2012 10:59 AM To: Ilias Miroslav; CMake ML Subject: Re: [CMake] static cmake, ctest executables 2012/2/4 Ilias Miroslav : > Greetings, Sirs, > > > I would like to have "cmake" and "ctest" executables static (for

[CMake] static cmake, ctest executables

2012-02-03 Thread Ilias Miroslav
Greetings, Sirs, I would like to have "cmake" and "ctest" executables static (for usage in grid enviroment). I tried to compile the newest "cmake-2.8.7.tar.gz" version with ./configure --prefix=/home/ilias/bin/cmake_static LDFLAGS=--static --disable-shared --enable-static but still got dyna

Re: [CMake] print content of linking script ?

2011-12-12 Thread Ilias Miroslav
From: Eric Noulard [eric.noul...@gmail.com] Sent: Sunday, December 11, 2011 6:24 PM To: Ilias Miroslav Cc: cmake@cmake.org Subject: Re: [CMake] print content of linking script ? 2011/12/11 Ilias Miroslav : > Dear all, > > is there an easy way of printing out content of the linking file

[CMake] print content of linking script ?

2011-12-11 Thread Ilias Miroslav
Dear all, is there an easy way of printing out content of the linking file CMakeFiles/.dir/link.txt as a simple command in the CMakeLists.txt file ? Usually we do cat .../link.txt after the cmake-configuration but we would prefer some more elegant form within the "message(...)" commad. Than

[CMake] ifort,icc,icpc: ld: cannot find -lcilkrts

2011-11-11 Thread Ilias Miroslav
Dear experts, our problem is that cmake sets automatically linking libraries for C,C++ and with Intel compilers (Fortran,C,C++) we are getting these problems ( first observed here https://repo.ctcc.no/CDash/viewBuildError.php?buildid=5283 ) : . . . Linking Fortran executable dirac.x /people/disk

[CMake] complete change of compilation flags for a single file

2011-10-11 Thread Ilias Miroslav
Dear experts, within our cmake project there are needs to change compilation flags of some individual files, especially we want sometimes to decrease optimization level. For that there is a command "set_source_file_properties", but among PROPERTIES, http://grip.espace-win.net/doc/apps/cmake/cma

[CMake] cmake's check of the generated target

2011-06-08 Thread Ilias Miroslav
Dear experts, We would like to check the generated target (main executable) after it was built. For example . . Linking Fortran executable vibcal.x [100%] Built target vibcal.x [100%] Built target dirac.x afterwards, it would be good to get own message about properties of the generated target

[CMake] submit after partial buildup

2011-06-07 Thread Ilias Miroslav
Dear CMake developers, for our oproject we are utilizing the 'make Exerimental' and 'make Nigthly' commands to make the all (update)/configure/build/test and sending report steps. One can see that on our CDash-board, like https://repo.ctcc.no/CDash/index.php?project=DIRAC&date=2011-06-07 How

Re: [CMake] adjusting CMAKE_Fortran_LINK_EXECUTABLE

2011-03-10 Thread Ilias Miroslav
Ad: http://www.mail-archive.com/cmake@cmake.org/msg34968.html Dear Bill, -- By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several variables: " -o " We would like to know how to restrict the CMAKE__LINK_EXECUTABLE parameter t

[CMake] adjusting CMAKE_Fortran_LINK_EXECUTABLE

2011-03-01 Thread Ilias Miroslav
Dear CMake-experts, as developers of the quantum-chemistry software DIRAC (http://wiki.chem.vu.nl/dirac/index.php/Dirac_Program) we are shifting towards the CMake build/compilation system. By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several variables: " -o " W