On Wednesday 28 November 2012 14:40:47 you wrote:
Hi Martin,
you have to add a custom command to generate your lib and make your custom
target depending on it:
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xxx.a
COMMAND
unzip -o
Hi,
I'm struggling with the following requirement:
I have a lib stored in a zip file (the lib is not built via cmake, e.g.
delivered from external company).
I want a target to link against this lib and want to extract the lib from the
zip file only if
this specific target is being built, and
Hi,
On Wed, Nov 28, 2012 at 1:41 PM, Martin Koller martin.kol...@etm.at wrote:
Hi,
I'm struggling with the following requirement:
I have a lib stored in a zip file (the lib is not built via cmake, e.g.
delivered from external company).
I want a target to link against this lib and want to
Hi Martin,
you have to add a custom command to generate your lib and make your custom
target depending on it:
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xxx.a
COMMAND
unzip -o ${CMAKE_CURRENT_SOURCE_DIR}/${ZIPFILE}
DEPENDS