Commit 87c8cbf4 authored by Christian Kamm's avatar Christian Kamm
Browse files

LanguageUtils: Introduce new library for cross-language utils.

parent 3e085fed
......@@ -7,3 +7,4 @@ unix:QMAKE_CXXFLAGS_DEBUG += -O2
include(../../qtcreatorlibrary.pri)
include(cplusplus-lib.pri)
include(../languageutils/languageutils.pri)
contains(CONFIG, dll) {
DEFINES += LANGUAGEUTILS_BUILD_DIR
} else {
DEFINES += LANGUAGEUTILS_BUILD_STATIC_LIB
}
DEPENDPATH += $$PWD
INCLUDEPATH += $$PWD/..
HEADERS += \
$$PWD/languageutils_global.h
LIBS *= -l$$qtLibraryName(LanguageUtils)
DEFINES += QT_CREATOR
TEMPLATE = lib
CONFIG += dll
TARGET = LanguageUtils
DEFINES += QT_CREATOR
unix:QMAKE_CXXFLAGS_DEBUG += -O3
include(../../qtcreatorlibrary.pri)
include(languageutils-lib.pri)
include(../utils/utils.pri)
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
**
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**************************************************************************/
#ifndef LANGUAGEUTILS_GLOBAL_H
#define LANGUAGEUTILS_GLOBAL_H
#include <QtCore/qglobal.h>
#if defined(LANGUAGEUTILS_BUILD_DIR)
# define LANGUAGEUTILS_EXPORT Q_DECL_EXPORT
#elif defined(LANGUAGEUTILS_BUILD_STATIC_LIB)
# define LANGUAGEUTILS_EXPORT
#else
# define LANGUAGEUTILS_EXPORT Q_DECL_IMPORT
#endif
#endif // LANGUAGEUTILS_GLOBAL_H
......@@ -8,6 +8,7 @@ SUBDIRS = \
extensionsystem \
utils \
utils/process_stub.pro \
languageutils \
cplusplus \
qmljs \
glsl \
......
......@@ -8,3 +8,4 @@ unix:QMAKE_CXXFLAGS_DEBUG += -O3
include(../../qtcreatorlibrary.pri)
include(qmljs-lib.pri)
include(../utils/utils.pri)
include(../languageutils/languageutils.pri)
include($$IDE_SOURCE_TREE/src/libs/languageutils/languageutils.pri)
include($$IDE_SOURCE_TREE/src/libs/cplusplus/cplusplus.pri)
include($$IDE_SOURCE_TREE/src/plugins/projectexplorer/projectexplorer.pri)
include($$IDE_SOURCE_TREE/src/plugins/texteditor/texteditor.pri)
......
include($$IDE_SOURCE_TREE/src/libs/languageutils/languageutils.pri)
include($$IDE_SOURCE_TREE/src/libs/qmljs/qmljs.pri)
include($$IDE_SOURCE_TREE/src/plugins/projectexplorer/projectexplorer.pri)
include($$IDE_SOURCE_TREE/src/plugins/texteditor/texteditor.pri)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment