[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-commits] CMake branch, master, updated. v3.12.0-257-gcadec7d

2018-07-18 Thread Kitware Robot
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 65a73ad..d9f5396 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 12) -set(CMake_VERSION_PATCH 20180718) +set(CMake_VER

Re: [CMake] Querying project dependencies from the UNIX command-line

2018-07-18 Thread Johannes Zarl-Zierl
Hi Ardi, Am Mittwoch, 18. Juli 2018, 11:31:50 CEST schrieb ardi: > For example, I'd like to type "somecommand /path/to/someproject" at > the UNIX command line, and get this output: > [...] > Furthermore, if another command could show optional requisites, it > would be really great:

[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" )

Re: [CMake] Transcriber AG

2018-07-18 Thread Dmitry Mikushin
Prerequisites must be installed or placed appropriately, according with instructions for specific program. Regarding the further steps, typically you should locate CMakeListst.txt file, create subfolder "build" in the same folder, change to "build" folder and run "cmake .." from it. Upon

[CMake] Transcriber AG

2018-07-18 Thread moseymoose via CMake
Hi. I am a complete beginner at this but here goes. I'm trying to compile files to make Transcriber AG. I downloaded the prerequisite files including gtk, xerces, etc. Now what do I do? Thank you for your help. Warmly, Larry Sent with [ProtonMail](https://protonmail.com) Secure Email.--

[CMake] CTEST_CUSTOM_ERROR_MATCH not working ?

2018-07-18 Thread Michal Wozniak
Hi, I'm using ctest to build and test my project. I trying to use CTEST_CUSTOM_ERROR_MATCH to find a different type of errors but it is always defaulting back to "ERROR:". I am setting this variable in my CTestConfig.cmake. set(CTEST_CUSTOM_ERROR_MATCH "error1" "error2"

[Cmake-commits] CMake branch, master, updated. v3.12.0-256-g19fac85

2018-07-18 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 19fac8572a97e20376dea8d81fae594378cf0975 (commit) via

[CMake] Using Different Computers for cmake and ctest

2018-07-18 Thread Brian S
I currently use cmake/ctest to build and test my software. The software is C++/CUDA. During the build step I don't need a GPU but in the test step I do. I would like to build the code with cmake on a cluster with many CPUs and then run the tests using ctest on a target machine with a GPU. Is this

Re: [CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-18 Thread Craig Scott
On Wed, Jul 18, 2018 at 11:04 PM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > Searching the mailing list archives for the RC3 announcement I scrolled to > the bottom and found: > > Brad King (2): > Revert "target_link_libraries: Allow use with targets in other > directories" >

Re: [CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-18 Thread Michael Jackson
Searching the mailing list archives for the RC3 announcement I scrolled to the bottom and found: Brad King (2): Revert "target_link_libraries: Allow use with targets in other directories" CMake 3.12.0-rc3 Just curious what caused the issue to revert the change? -- Michael Jackson |

[CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-18 Thread Michael Jackson
There was a regression between 3.12-rc2 and 3.12-rc3 where we can no longer add files to a target unless it was built in the directory that is currently being cmaked? Hard to explain, I'll let my error message help out: In CMake 3.12-rc3 and the 3.12 Official Release I get the following: --

[CMake] Querying project dependencies from the UNIX command-line

2018-07-18 Thread ardi
Hi! I've never used CMake (well, I'm continuously using it but as a user only, for building projects, not for maintaining them) . It's quite possible that I'll adopt CMake for maintaining my projects (I'm in the process of locating good references for learning "Modern CMake" --I want to start