2005-04-12 17:35:40 +04:00
|
|
|
IF ("${PROJECT_SOURCE_DIR}" STREQUAL "${ANOTHER_PROJ_SOURCE_DIR}")
|
2005-07-14 20:21:49 +04:00
|
|
|
SET(BUILD_SHARED_LIBS 1)
|
|
|
|
ADD_LIBRARY(testlib testlib.cxx)
|
2005-04-12 17:35:40 +04:00
|
|
|
ADD_EXECUTABLE (simple simple.cxx)
|
2005-07-14 20:21:49 +04:00
|
|
|
TARGET_LINK_LIBRARIES(simple testlib)
|
2005-04-12 17:35:40 +04:00
|
|
|
ENDIF ("${PROJECT_SOURCE_DIR}" STREQUAL "${ANOTHER_PROJ_SOURCE_DIR}")
|
|
|
|
|