2005-09-13 18:40:38 +04:00
|
|
|
# a simple test cas
|
|
|
|
project (OutOfSource)
|
2005-03-18 18:41:41 +03:00
|
|
|
|
2005-09-13 18:40:38 +04:00
|
|
|
add_subdirectory(SubDir)
|
2005-03-18 18:41:41 +03:00
|
|
|
|
2005-09-13 18:40:38 +04:00
|
|
|
get_directory_property(ANIMAL DIRECTORY OutOfSourceSubdir DEFINITION WEASELS)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
${OutOfSource_SOURCE_DIR}/testdp.h.in
|
|
|
|
${OutOfSource_BINARY_DIR}/SubDir/OutOfSourceSubdir/testdp.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(KEN 1)
|