Lines 146-152
Link Here
|
146 |
|
146 |
|
147 |
#----------------------------------------------------------------------------- |
147 |
#----------------------------------------------------------------------------- |
148 |
# Libraries. |
148 |
# Libraries. |
149 |
ADD_LIBRARY(aaplus ${SRCS_LIB} ${INCS}) |
149 |
ADD_LIBRARY(aaplus-static STATIC ${SRCS_LIB} ${INCS}) |
|
|
150 |
SET_TARGET_PROPERTIES(aaplus-static PROPERTIES OUTPUT_NAME "aaplus") |
150 |
|
151 |
|
151 |
TARGET_LINK_LIBRARIES(Test aaplus) |
152 |
ADD_LIBRARY(aaplus-shared SHARED ${SRCS_LIB} ${INCS}) |
|
|
153 |
SET_TARGET_PROPERTIES(aaplus-shared PROPERTIES OUTPUT_NAME "aaplus") |
154 |
|
155 |
install(TARGETS aaplus-shared aaplus-static |
156 |
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" ) |
157 |
|
158 |
TARGET_LINK_LIBRARIES(Test aaplus-static) |
152 |
|
159 |
|