That is exactly how it will look.
On Wed, May 16, 2018 at 4:19 AM Miklos Espak wrote:
> That's awesome, thanks a lot!
>
> So, it would look like this in my case then:
>
> target_link_libraries(baseapp PUBLIC dcmjpeg mylib1 mylib2)
>
> And the object library has to be added to the sources of the
That's awesome, thanks a lot!
So, it would look like this in my case then:
target_link_libraries(baseapp PUBLIC dcmjpeg mylib1 mylib2)
And the object library has to be added to the sources of the app1 and app2,
like now. With other words, object libraries would be allowed on the left
hand side o
This is scheduled to be fixed in the next release by allowing OBJECT
libraries to be used in target_link_libraries.
On Tue, May 8, 2018 at 7:46 PM Miklos Espak wrote:
> Hi,
>
> I have an abstract class that I want to compile into many applications.
> Something like this:
>
> baseapp.h
> baseap
Hi,
I have an abstract class that I want to compile into many applications.
Something like this:
baseapp.h
baseapp.cpp
app1.h
app1.cpp
app2.h
app2.cpp
...
I thought of making an object library from baseapp because I want to
compile it only once and it is used only internally.
However, baseapp d