So what is the reason for delaying the compilation of the .cpp files? Is it
due to the possible compiler differences? If so, you could look at
generator expressions to attach compiler requirements to your Mock
libraries.
It might be best to provide a more complete example of what you are trying
to
writes:
> Our idea was to use add_subdirectory but modules will try to search
LIBRARY and they will not find the
> library because it's not still compiled... So, how to "emulate"
> find_package result for LIBRARY ? Bad idea (I think), is to set
LIBRARY-FOUND to true, manually include
> dirs (a
I develop a shared library that gets imported into a number of applications
(scattered across a number of different repositories). To aid in testing we
provide some mocks and fakes, made available by a cmake export files.
This works okay, but it isn't right: google mock doesn't guarantee binary
On 03/30/2015 03:36 PM, Petr Bena wrote:
Hi Nils,
Great! Could you please give me some mininal example and perhaps add
it to documentation page which is now kind of vague? From what is
written there, I suppose that this variable changes the runtime output
directory, but for all targets since it'
Hi Nils,
Great! Could you please give me some mininal example and perhaps add
it to documentation page which is now kind of vague? From what is
written there, I suppose that this variable changes the runtime output
directory, but for all targets since it's set and until it's changed?
eg. if I hav
On 03/30/2015 03:25 PM, Petr Bena wrote:
I have following problem:
I got a project with plugins, each plugin and core is a separate cmake
project, however core includes all of them
When I configure "core" it also configures all plugins and running
"make" also make core, all libraries and plugin
I have following problem:
I got a project with plugins, each plugin and core is a separate cmake
project, however core includes all of them
When I configure "core" it also configures all plugins and running
"make" also make core, all libraries and plugins.
My problem however is the default locat