[CMake] Copying files
ML
mailinglists at MailNewsRSS.com
Wed Jul 22 20:13:54 EDT 2009
Hi All,
I want to copy the resulting static library I am building to a
location but I can't see how to do it.
I have:
PROJECT(expat)
CMAKE_MINIMUM_REQUIRED (VERSION 2.6 FATAL_ERROR)
SET(SRCS xmlparse.c
xmlrole.c
xmltok.c
#xmltok_impl.c
)
ADD_LIBRARY(expat ${SRCS})
COMMAND ${CMAKE_COMMAND} -E copy libexpat.a ${PROJECT_SOURCE_DIR}/$
{INSTALL_DIR}
What am I doing wrong?
-Jason
More information about the CMake
mailing list