Added examples directory.

This commit is contained in:
Nathan Osman
2015-07-02 13:53:10 -07:00
parent 24680c0d18
commit 1839eb8d5e
4 changed files with 62 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
set(SRC
main.cpp
)
add_executable(fileserver WIN32 ${SRC})
qt5_use_modules(fileserver Widgets)
target_link_libraries(fileserver qhttpengine)
set_target_properties(fileserver PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}"
)
install(TARGETS fileserver
RUNTIME DESTINATION ${EXAMPLES_INSTALL_DIR}/fileserver
)
install(FILES ${SRC}
DESTINATION ${EXAMPLES_INSTALL_DIR}/fileserver
)