diff options
Diffstat (limited to 'resource/CMakeLists.txt')
-rw-r--r-- | resource/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/resource/CMakeLists.txt b/resource/CMakeLists.txt new file mode 100644 index 0000000..3de51b5 --- /dev/null +++ b/resource/CMakeLists.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | project(toynadi_resource) | ||
2 | |||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
4 | |||
5 | set(common_path "../common/") | ||
6 | |||
7 | set(toynadiresource_SRCS | ||
8 | ${common_path}/console.cpp | ||
9 | main.cpp | ||
10 | listener.cpp | ||
11 | ) | ||
12 | |||
13 | add_executable(${PROJECT_NAME} ${toynadiresource_SRCS}) | ||
14 | qt5_use_modules(${PROJECT_NAME} Widgets Network) | ||
15 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) | ||