[CMake] Tracking progress of CMake-ran TAR

2018-12-14 Thread Person Withhats
When tarting files from CMake (in order to use cross-platform work-ability and what not) it'd be great to have a progress bar of any sort. It's awkward to wait 30-60 minutes for file untarring with absolutely 0 information. I'm not aware of any way to do this through CMake directly, only alternati

Re: [CMake] Make errors when running ./bootstrap in Ubuntu 12.04

2018-12-14 Thread Robert Maynard via CMake
The precompiled binaries would be your best option as they are built with older platforms in mind. If you try to build from source you should set the CC and CXX environment flags, as your output is mismatched ( it is grabbing clang for C++, and gcc for C ). On Fri, Dec 14, 2018 at 12:41 PM Juan

Re: [CMake] Make errors when running ./bootstrap in Ubuntu 12.04

2018-12-14 Thread Juan E. Sanchez
The original poster is using Ubuntu 12.04, so a precompiled binary might not work if it targeted a newer system. Ubuntu 12.04 is obsolete and no longer supported by Canonical and is a huge risk for production systems. I would suggest the original poster try installing gnu gcc c++ instead of c

Re: [CMake] Make errors when running ./bootstrap in Ubuntu 12.04

2018-12-14 Thread Eric Noulard
Did you try to pick a pre-compiled version of CMake? https://cmake.org/download/ https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz CMake is statically linked so installing a binary should work. Le ven. 14 déc. 2018 à 17:48, Paul Jeffries a écrit : > Dea

[CMake] Make errors when running ./bootstrap in Ubuntu 12.04

2018-12-14 Thread Paul Jeffries
Dear list, I ultimately want to install a program called DosageConvertor that requires a version of cmake that is 3.2 or later. Therefore, I am trying to install a more recent version of cmake since the current version is 2.8.7. When I run ./bootstrap, I get a message that there were problems run

[CMake] Preventing add_custom_command from removing output

2018-12-14 Thread Alain Miniussi
Hi, I have a source file (version.cpp) I need to generate trough a script. What the script does is - generate a version.cpp.new file - if version.cpp does not exists or is different from version.cpp.new, copy version.cpp.new into version.cpp --- add_custom_command(OUTPUT ver