[Cmake-commits] CMake branch, master, updated. v3.15.3-1231-gc174e60

2019-09-28 Thread Kitware Robot via Cmake-commits
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 775dc49..91050d5 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,7 +1,7 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 15) -set(CMake_VERSION_PATCH 20190928) +set(CMake_VER

[CMake] using `install()` with EXPORT and COMPONENT

2019-09-28 Thread Stefan Seefeld
Hello, I'm working on a library project that will be packaged in multiple components. A "runtime" component will contain the (shared) library, an a "dev" component the associated headers (and perhaps other development-only artefacts). I have successfully used the `install()` command to

Re: [CMake] Ninja generator emits order-only dependencies for custom commands

2019-09-28 Thread Craig Scott
On Sat, Sep 28, 2019 at 1:31 PM melak47 wrote: > I'm using add_custom_command with the Ninja generator on Windows to > invoke mc.exe on an .mc file, > to generate an .rc file, to create a resource DLL. > The full example is here: > https://gist.github.com/melak47/f7d83046c6d57b338d633468d078f5b1

Re: [CMake] Project Structure and add_subdirectory()

2019-09-28 Thread Avraham Shukron
On Sat, Sep 28, 2019 at 1:39 AM Marek Vojtko wrote: > I agree that manually keeping track of transitive dependencies is a very > bad and error-prone idea. > > > > The ideal solution is the separate repositories, but I don’t think that’s > really feasible. > > > > The multi-root setup would work,