Re: [CMake] Tracking progress of CMake TAR

2018-12-17 Thread Ian Cullen
Are you calling tar via a custom command?  tar itself looks to have a few options to print progress: https://www.gnu.org/software/tar/manual/html_section/tar_25.html Although none of the options seem to know the archive's size, so aren't able to print a completion percentage. On 16/12/2018

Re: [CMake] Installing CMake in Ubuntu Linux from command-line via wget

2018-10-30 Thread Ian Cullen
If you want to stick to your original method you need to add some command line arguments to tar to tell it that is is extracting a compressed file. The binary is then available within the extracted directory. Original command becomes: RUN wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-

Re: [CMake] Expected behaviour of #cmakedefine

2018-08-17 Thread Ian Cullen
ed, Aug 15, 2018 at 8:32 AM Ian Cullen <mailto:ian.james.cul...@gmail.com>> wrote: Hi, I'm trying to create a header file containing version number details but am not sure if the following behaviour is expected or a bug. Simplified example has 2 files

[CMake] Expected behaviour of #cmakedefine

2018-08-15 Thread Ian Cullen
Hi, I'm trying to create a header file containing version number details but am not sure if the following behaviour is expected or a bug. Simplified example has 2 files ==> CMakeLists.txt <== cmake_minimum_required(VERSION 3.11) project (   VersionTest   VERSION 1.0.4   ) configure_file (