Hello,
I found a strange behavior within the object libraries in the upcoming
CMake 3.12 (I used 3.11.20180519-gdb88f for testing).
If I have for example two object libraries, which are used in one
executable:
add_library(ObjLib1 OBJECT ObjLib1.c)
target_include_directories(ObjLib1 PUBLIC ...)
Hi Duane,
As far as i understand from your mail you want to generate project files
from CMake.
Although I would appreciate a more powerful configure_file command (e.g.
a built in generator like the mustache generator
(https://mustache.github.io/) or something like that) i must confess
that
Hello,
Right now I'm using a nightly build (3.11.20180407-g268d0) to use and
test the Usage Requirements with Object Libraries, which is planned for
CMake 3.12.0 (https://gitlab.kitware.com/cmake/cmake/issues/14778)
It's working great so far, but I if i have a construct of two object
libraries,
Dear Venedict,
Yes, that ist possible. Basically the syntax for cmake-gui is:
cmake-gui [] ( | )
So you can either pass a source directory or a build directory where
cmake was already run.
If you pass the path to the source directory as parameter, then cmake
uses the current directory as build