add build file for testlocales

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2018-07-08 01:54:05 +00:00
parent 565b91fee9
commit c479bafb32
3 changed files with 29 additions and 5 deletions

View file

@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)
project(testlocales CXX)
include(FeatureSummary)
set(CMAKE_AUTOMOC TRUE)
find_package(Katie REQUIRED)
add_definitions(${KATIE_DEFINITIONS})
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${KATIE_INCLUDES}
)
set(testlocales_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/localemodel.cpp
${CMAKE_CURRENT_SOURCE_DIR}/localewidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
)
add_executable(testlocales ${testlocales_SOURCES})
target_link_libraries(testlocales ${KATIE_GUI_LIBRARIES})
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)

View file

@ -42,9 +42,9 @@
#define LOCALEWIDGET_H
#include <QWidget>
#include <QTableView>
class LocaleModel;
class QTableView;
class LocaleWidget : public QWidget
{

View file

@ -1,4 +0,0 @@
TARGET = testlocales
CONFIG += debug
SOURCES += localemodel.cpp localewidget.cpp main.cpp
HEADERS += localemodel.h localewidget.h