Re: [CMake] CMake Project Generation Speedup

2019-03-20 Thread Kuba Ober
The best advice I had for myself: profile the code and tweak it. The last I looked, and that was a while ago, the generators could use a threaded write queue so that the file output would overlap with file generation. Those probably could be memory mapped files, too, to further minimize the

[CMake] Is there an idiomatic way of setting platform specific compiler options in a generic way?

2019-02-20 Thread Kuba Ober
idiomatic, or is there another preferred way of doing it? I really don’t want to list the options manually for each target/platform combo, as they’d differ quite a bit, and I have lots of targets (hundreds). I’d appreciate any hints. Cheers, Kuba Ober -- Powered by www.kitware.com Ple

[CMake] Generator expressions and rule variables

2019-02-15 Thread Kuba Ober
e: "CMAKE_ADD_COMPILER_LAUNCHER(my_function, LANGUAGE=c, COMPILER_ID=foocc, TYPE=executable)" Cheers, Kuba Ober -- 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 C

Re: [CMake] Remove folders created by install

2019-02-19 Thread Kuba Ober
Use something to read the manifest, extract paths from it, remove the duplicates, then iterate them, and remove the ones that are empty. It’d be a bad idea probably to remove ones that are not empty. Cheers, Kuba > 16 feb. 2019 kl. 09:47 skrev Felix Crazzolara : > > Hi everyone > > For my