14 lines
273 B
CMake
14 lines
273 B
CMake
set(EXAMPLES
|
|
auth
|
|
chatserver
|
|
fileserver
|
|
)
|
|
|
|
foreach(EXAMPLE ${EXAMPLES})
|
|
set(EXAMPLE_DIR "${EXAMPLES_INSTALL_DIR}/${EXAMPLE}")
|
|
add_subdirectory(${EXAMPLE})
|
|
install(DIRECTORY ${EXAMPLE}
|
|
DESTINATION "${EXAMPLES_INSTALL_DIR}"
|
|
)
|
|
endforeach()
|