Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-07-19 Thread David Blaikie
(just CC'ing you Richard in case you want to read my ramblings/spot any inaccuracies, etc) Excuse the delay - coming back to this a bit now. Though the varying opinions on what modules will take to integrate with build system still weighs on me a bit - but I'm trying to find small ways/concrete

Re: [cmake-developers] ctest - how to reset default regex error list

2018-07-19 Thread Brad King
On 07/18/2018 03:26 PM, Michal Wozniak wrote: > Is there a way to have a completely new error regex list?   No, due to the appending logic you found. Some new option would need to be added to fully replace the list. If you use CTEST_USE_LAUNCHERS the default list is much reduced. -Brad --

Re: [cmake-developers] CMake 3.12: transitive OBJECT library failing

2018-07-19 Thread Deniz Bahadir
Am 19.07.2018 um 06:34 schrieb Levi Morrison: I have an issue in CMake 3.12 with using transitive OBJECT libraries.The basic skeleton is: cmake_minimum_required(VERSION 3.12) project(objectlib LANGUAGES CXX) add_library(box OBJECT box.cc box.hh) add_library(make_box OBJECT make_box.cc

[cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

2018-07-19 Thread Robert Dailey
I can't remember where I heard about these CMake variables, but in one of my toolchain files I do this: set( CMAKE_C_COMPILER_ARG1 -m32 ) set( CMAKE_CXX_COMPILER_ARG1 -m32 ) On the [cmake variables][1] page, these are not documented. I expected an entry somewhere like `CMAKE__COMPILER_ARG<#>`

Re: [cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

2018-07-19 Thread Robert Dailey
On Thu, Jul 19, 2018 at 1:13 PM, Robert Dailey wrote: > On Thu, Jul 19, 2018 at 1:07 PM, Brad King wrote: >> On 07/19/2018 11:58 AM, Robert Dailey wrote: >>> I can't remember where I heard about these CMake variables, but in one >>> of my toolchain files I do this: >>> >>> set(

Re: [cmake-developers] Alternative CMake Syntax

2018-07-19 Thread Taylor Holberton
Brad, Thanks for your response. I've taken a little bit of time to consider your thoughts and here is what I think. Fair warning: Upstream is not outright opposed to a new language but > it will take a lot to make something like that upstreamable, assuming > we even find time to consider it in

Re: [cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

2018-07-19 Thread Brad King
On 07/19/2018 11:58 AM, Robert Dailey wrote: > I can't remember where I heard about these CMake variables, but in one > of my toolchain files I do this: > > set( CMAKE_C_COMPILER_ARG1 -m32 ) > set( CMAKE_CXX_COMPILER_ARG1 -m32 ) They are not documented because they are internal implementation

Re: [cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

2018-07-19 Thread Robert Dailey
On Thu, Jul 19, 2018 at 1:07 PM, Brad King wrote: > On 07/19/2018 11:58 AM, Robert Dailey wrote: >> I can't remember where I heard about these CMake variables, but in one >> of my toolchain files I do this: >> >> set( CMAKE_C_COMPILER_ARG1 -m32 ) >> set( CMAKE_CXX_COMPILER_ARG1 -m32 ) > > They

Re: [cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

2018-07-19 Thread Robert Dailey
On Thu, Jul 19, 2018 at 1:17 PM, Robert Dailey wrote: > On Thu, Jul 19, 2018 at 1:13 PM, Robert Dailey > wrote: >> On Thu, Jul 19, 2018 at 1:07 PM, Brad King wrote: >>> On 07/19/2018 11:58 AM, Robert Dailey wrote: I can't remember where I heard about these CMake variables, but in one