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)
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
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:
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"
)
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
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.--
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"
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
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
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"
>
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 |
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:
--
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
13 matches
Mail list logo