David Aldrich
2010-09-13 17:29:05 UTC
Hi
I have tried to set the output directory for my library as follows:
# set destination directory for LIBRARY target (i.e. libKernel.a)
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ./_gnuRelease )
# build the Kernel static library
add_library(Kernel STATIC ${SRCS})
however, the library is being created in the source directory, not in the directory I have specified.
Why is this please?
Best regards
David
I have tried to set the output directory for my library as follows:
# set destination directory for LIBRARY target (i.e. libKernel.a)
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ./_gnuRelease )
# build the Kernel static library
add_library(Kernel STATIC ${SRCS})
however, the library is being created in the source directory, not in the directory I have specified.
Why is this please?
Best regards
David