diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/CMakeLists.txt | 10 | ||||
-rw-r--r-- | common/commands/CMakeLists.txt | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 2ceacf8..32e10f6 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -1 +1,9 @@ | |||
1 | add_subdirectory(commands) | 1 | project(toynadicommon) |
2 | generate_flatbuffers(commands/handshake) | ||
3 | |||
4 | set(command_SRCS | ||
5 | console.cpp | ||
6 | ${CMAKE_CURRENT_BINARY_DIR}/commands/handshake_generated.h) | ||
7 | |||
8 | add_library(${PROJECT_NAME} ${command_SRCS}) | ||
9 | qt5_use_modules(${PROJECT_NAME} Widgets) | ||
diff --git a/common/commands/CMakeLists.txt b/common/commands/CMakeLists.txt deleted file mode 100644 index 2a9ba64..0000000 --- a/common/commands/CMakeLists.txt +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | generate_flatbuffers(${CMAKE_CURRENT_BINARY_DIR} handshake.fbs) | ||