Would this work?
add_dependencies(MergeFiles SubdirTarget)
On Nov 18, 2015 12:56 PM, "Attila Krasznahorkay" <
attila.krasznahor...@gmail.com> wrote:
> Dear All,
>
> I'm trying to do something that may be very easy to implement, but I'm
> really struggling with it at the moment...
>
> I have a pro
Dear All,
I'm trying to do something that may be very easy to implement, but I'm really
struggling with it at the moment...
I have a project in which I generate various files in subdirectories. Which I
add to the main project file using add_subdirectory(...). Some of these files I
need to merg
On Wed, Nov 18, 2015 at 08:16:39AM -0600, Jack Stalnaker wrote:
> In the real source code, baz is a thin wrapper for the foo/bar lib. It
> combines them into a Python module library, and doesn't really contain
> any substantial code of its own.
Ah, that justifies its location then :)
> As for the
In the real source code, baz is a thin wrapper for the foo/bar lib. It
combines them into a Python module library, and doesn't really contain any
substantial code of its own.
It's a convenience lib because in the real code, multiple executables and
libs are built from the source tree, and the stuf
On Tue, Nov 17, 2015 at 09:37:25AM -0600, Jack Stalnaker wrote:
> I'm trying to figure out the best way to handle something that was a
> convenience lib under autotools. I realize that there's a FAQ entry here:
>
> https://cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F
You are right, thanks for the tip ! I didn't pay attention and, indeed,
I set CMAKE_POSITION_INDEPENDENT_CODE after ADD_LIBRARY (I believed it
could be handled afterwards)
Franck
Le 2015-11-17 13:54, CHEVRIER, Marc a écrit :
Set of variable CMAKE_POSITION_INDEPENDENT_CODE must be done BEFORE