Re: [CMake] CmakeLists chain cannot find source added with add_custom_command

2017-07-01 Thread J Decker
Known issue? Or just doesn't require a response? On Wed, Jun 28, 2017 at 6:05 AM, J Decker wrote: > I have this chain of makefiles. It adds a custom rule to build a source > file, and then a subdirectory cannot reference that file. > > The first is added custom rule for M:/tmp/cmake-chain/sub/

[CMake] Consistent software dependencies (together with add_subdirectory()?) for shared components

2017-07-01 Thread SF Markus Elfring
Hello, CMake provides an interface for the addition of subdirectories. https://cmake.org/cmake/help/v3.9/command/add_subdirectory.html I find it interesting to clarify details which are not described there so far. * How much does this item influence the capability to construct a consistent dep

Re: [CMake] Enhanced version management for the command "project"

2017-07-01 Thread SF Markus Elfring
Hello, CMake provides an interface for the specification of version information by the command "project". https://cmake.org/cmake/help/v3.9/command/project.html Can it be extended a bit more? 1. How do you think about to preserve a software release tag there? 2. Software packages can often evol

Re: [CMake] find_package(), FindXXX.cmake and IMPORTED add_library()

2017-07-01 Thread P F via CMake
> On Jun 30, 2017, at 6:40 AM, Louis-Paul CORDIER > wrote: > > Hi, > > I'm particularly familiar with find_package() command, add_library(... > IMPORTED) and find_library(). However, I found there are many differences on > find_package() usage depending of the library being imported. > > Fo