Background: projects, all directories CMakeList. TXT CMakeList install transferred to app directory, app control all install
Use the following format:
Install (
The FILE ${PROJECT_SOURCE_DIR}/build/fa/libfa. So
DESTINATION ${PROJECT_SOURCE_DIR}/install/usr/lib/
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
In this way, can I control framework in the app directory cmakelist copy path,
Question: can not use absolute paths? And/framework/fa/path cmakelist, direct use of targe fa, as shown in the following format:
Install (
Target fa
The LIBRARY DESTINATION ${PROJECT_SOURCE_DIR}/install/usr/lib/
The format)?