2005-09-13 18:40:38 +04:00
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
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}")
|
|
|
|
|
2005-09-13 18:40:38 +04:00
|
|
|
# test getting a definition from a subdir
|
|
|
|
SET (WEASELS SIZZLING)
|