This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
NetworkPacketComposer/CMakeLists.txt

22 lines
473 B
CMake
Raw Permalink Normal View History

2015-12-31 17:46:52 +01:00
cmake_minimum_required(VERSION 2.8.12)
project(network_packet_composer)
set(CMAKE_CXX_FLAGS "--std=c++14 -g -Wall")
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# Find the QtWidgets library
find_package(Qt5Widgets)
add_subdirectory(src)
2018-01-11 23:20:46 +01:00
add_subdirectory(test)
2015-12-31 17:46:52 +01:00
add_executable(npc main.cpp)
target_link_libraries(npc src)
2015-12-31 18:52:24 +01:00
qt5_use_modules(npc Widgets)