mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client
Conflicts: src/blackd/blackd.pro
This commit is contained in:
@@ -25,11 +25,7 @@ OPTION(WITH_BLACK_LIB "Build BlackBox libraries"
|
||||
IF(WITH_BLACK_LIB)
|
||||
OPTION(WITH_BLACK_CORE "Build Core library" ON )
|
||||
OPTION(WITH_BLACK_MISC "Build Misc library" ON )
|
||||
IF(WIN32)
|
||||
OPTION(WITH_STATIC "With static libraries." ON )
|
||||
ELSE(WIN32)
|
||||
OPTION(WITH_STATIC "With static libraries." OFF)
|
||||
ENDIF()
|
||||
OPTION(WITH_STATIC "With static libraries." ON )
|
||||
OPTION(WITH_BLACK_SAMPLES "With BlackLib Samples." ON)
|
||||
ENDIF(WITH_BLACK_LIB)
|
||||
|
||||
@@ -169,6 +165,10 @@ IF(MSVC)
|
||||
ENDIF(MSVC11)
|
||||
|
||||
ADD_COMPILER_FLAGS("/D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_WARNINGS /DWIN32 /D_WINDOWS /Zm1000 /wd4250")
|
||||
|
||||
ADD_DEFINITIONS(
|
||||
/Zc:wchar_t- # Treat wchar_t as built-in type
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
############### Configure checks ###############
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
ADD_SUBDIRECTORY(Logging)
|
||||
ADD_SUBDIRECTORY(logging)
|
||||
ADD_SUBDIRECTORY(com_server)
|
||||
ADD_SUBDIRECTORY(com_client)
|
||||
ADD_SUBDIRECTORY(Geodetic2Ecef)
|
||||
ADD_SUBDIRECTORY(geodetic2ecef)
|
||||
ADD_SUBDIRECTORY(interpolator)
|
||||
ADD_SUBDIRECTORY(config)
|
||||
@@ -1,6 +1,6 @@
|
||||
FILE(GLOB SRC *.cpp)
|
||||
|
||||
ADD_EXECUTABLE(sample_Geodetic2Ecef ${SRC})
|
||||
ADD_EXECUTABLE(sample_geodetic2ecef ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(sample_Geodetic2Ecef blackmisc blackcore ${QT_LIBRARIES})
|
||||
SET_TARGET_PROPERTIES(sample_Geodetic2Ecef PROPERTIES PROJECT_LABEL "Samples - Geodetic to Ecef")
|
||||
TARGET_LINK_LIBRARIES(sample_geodetic2ecef blackmisc blackcore ${QT_LIBRARIES})
|
||||
SET_TARGET_PROPERTIES(sample_geodetic2ecef PROPERTIES PROJECT_LABEL "Samples - Geodetic to Ecef")
|
||||
@@ -2,6 +2,8 @@ FILE(GLOB blackcore_SOURCES *.cpp)
|
||||
FILE(GLOB blackcore_HEADERS *.h)
|
||||
SET(blackcore_HEADERS_QOBJECT
|
||||
fsd_client.h)
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
QT4_WRAP_CPP(blackcore_HEADERS_MOC ${blackcore_HEADERS_QOBJECT})
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ QT += core gui xml svg network
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
|
||||
TARGET = blackd
|
||||
TEMPLATE = app
|
||||
|
||||
|
||||
@@ -9,9 +9,7 @@
|
||||
#include "blackmisc/context.h"
|
||||
#include "blackmisc/display.h"
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user