Suppose that I've got the following library:
add_library(myLib STATIC ${SRC_FILES})
In order to make this lib, I have to execute the following command:
make myLib
How can I create an alias for myLib, like lib, so that executing the following line makes the same target?
make lib
add_library(foo foo.cpp )
add_custom_target(bar DEPENDS foo)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With