"SET" a variable as follows: SET (PROJECT_A_LIB_NAME MyLib) then use that further down A's cmake file in the ADD_LIBRARY() function.
確定! 回上一頁