http://www.cmake.org/cmake/help/v3.0/command/add_custom_target.html
looks like all existing projects just do it by hand... it's safer if the
build script doesn't have it. (much like not making copying runtime
libraries easy)
On Mon, Dec 15, 2014 at 12:49 AM, Petr Bena wrote:
>
> Ok, one more qu
Ok, one more question
How do I enforce run of ldconfig during `sudo make install` on linux?
The library doesn't load without it.
On Mon, Dec 15, 2014 at 9:37 AM, J Decker wrote:
> target_link_libraries( B A_product_name)
> target_link_libraries( C A_product_name)
>
>
> On Mon, Dec 15, 2014 at 12
target_link_libraries( B A_product_name)
target_link_libraries( C A_product_name)
On Mon, Dec 15, 2014 at 12:34 AM, Petr Bena wrote:
>
> I have a project:
>
> /Target A
> - CMakeLists.txt
> - /Target B
> -- CMakeLists.txt
> - /Target C
> -- CMakeLists.txt
>
> So, A is including B and C using add
I have a project:
/Target A
- CMakeLists.txt
- /Target B
-- CMakeLists.txt
- /Target C
-- CMakeLists.txt
So, A is including B and C using add_subdirectory. However, A is
producing 2 targets, one of which is a library and I need to link B
and C against that library. How would I do that?
--
Power