Re: [CMake] Making sure dependent projects are up-to-date

2018-01-13 Thread Saad Khattak
Thanks J. That requires me to use ExternalProject_Add. However, in my case, I have all Libraries generated/built independently. Should I just start using ExternalProject_Add for dependencies? If yes, what is the best way to do that in conjunction with 'find_package(...)'? On Sat, Jan 13, 2018 at

Re: [CMake] Making sure dependent projects are up-to-date

2018-01-13 Thread J Decker
maybehttps://cmake.org/cmake/help/v3.2/module/ExternalProject.html BUILD_ALWAYS 1No stamp file, build step always runs On Fri, Jan 12, 2018 at 7:41 PM, Saad Khattak wrote: > Hi, > > Let's say I have several CMake enabled libraries that have their own > respective build

[CMake] Making sure dependent projects are up-to-date

2018-01-12 Thread Saad Khattak
Hi, Let's say I have several CMake enabled libraries that have their own respective build directories and have been installed: LibA LibB (depends on A) LibC LibD (depends on LibC and LibA) I then create a new executable project ProjExe that depends on LibD. Now, I am working on LibA, LibB,