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

2018-07-18 Thread 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 make_box.hh) target_link_libraries(make_box PUBLIC box)

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

2018-07-18 Thread Michal Wozniak
Hi, My tests are failing since they are detecting the "ERROR:" I thought by using CTEST_CUSTOM_ERROR_MATCH, I would be able to reset the default list of errors and even use my own list. eg : set(CTEST_CUSTOM_ERROR_MATCH "") or set(CTEST_CUSTOM_ERROR_MATCH "error0" "error1" )