From 5be84df289b5237572fe7788de7ac3c1a0aad7b0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 6 Mar 2016 21:21:21 +0200 Subject: [PATCH] The file stable.cpp is useful only with MSVC. --HG-- branch : develop --- src/libs/vformat/vformat.pri | 5 +++-- src/libs/vobj/vobj.pri | 3 ++- src/libs/vtools/vtools.pri | 3 +-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/libs/vformat/vformat.pri b/src/libs/vformat/vformat.pri index 6870a4634..9369fa205 100644 --- a/src/libs/vformat/vformat.pri +++ b/src/libs/vformat/vformat.pri @@ -2,8 +2,9 @@ # This need for corect working file translations.pro SOURCES += \ - $$PWD/vmeasurements.cpp \ - $$PWD/stable.cpp + $$PWD/vmeasurements.cpp + +win32-msvc*:SOURCES += $$PWD/stable.cpp HEADERS += \ $$PWD/vmeasurements.h \ diff --git a/src/libs/vobj/vobj.pri b/src/libs/vobj/vobj.pri index f6ec2b13d..c21292726 100644 --- a/src/libs/vobj/vobj.pri +++ b/src/libs/vobj/vobj.pri @@ -4,10 +4,11 @@ SOURCES += \ $$PWD/vobjengine.cpp \ $$PWD/vobjpaintdevice.cpp \ - $$PWD/stable.cpp \ $$PWD/delaunay.cpp \ $$PWD/predicates.cpp +win32-msvc*:SOURCES += $$PWD/stable.cpp + HEADERS += \ $$PWD/vobjengine.h \ $$PWD/delaunay.h \ diff --git a/src/libs/vtools/vtools.pri b/src/libs/vtools/vtools.pri index 5f57c5a14..acae2d114 100644 --- a/src/libs/vtools/vtools.pri +++ b/src/libs/vtools/vtools.pri @@ -9,5 +9,4 @@ include(undocommands/undocommands.pri) HEADERS += \ $$PWD/stable.h -SOURCES += \ - $$PWD/stable.cpp +win32-msvc*:SOURCES += $$PWD/stable.cpp