Commit d9ac3bb6 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Refactored project file.

parent 7e4a0cad
# Basic settings
TEMPLATE = app
TARGET = vlmc
DESTDIR = ../bin
CONFIG += debug
VERSION = 0.0.1
# Build paths configurations
DESTDIR = ../bin
OBJECTS_DIR = ../build
MOC_DIR = ../build/moc
UI_DIR = ../build/ui
# Make both .h and .hpp C++ headers extensions
QMAKE_EXT_H = .h \
.hpp
INCLUDEPATH += ../build/moc \
../build/ui \
$$[VLMC_ADDITIONAL_INCLUDEPATH]
QT += gui \
network \
svg \
xml
QT += gui \
network \
svg \
xml
SOURCES += main.cpp
......@@ -38,7 +41,9 @@ include(Project/projectManager.pri)
include(Renderer/Renderer.pri)
include(Tools/Tools.pri)
include(Workflow/Workflow.pri)
INCLUDEPATH += LibVLCpp \
VLMC_DIRS = LibVLCpp \
GUI \
GUI/widgets \
GUI/library \
......@@ -58,26 +63,14 @@ INCLUDEPATH += LibVLCpp \
Configuration \
EffectsEngine \
Actions
DEPENDPATH += LibVLCpp \
GUI \
GUI/import \
GUI/library \
GUI/settings \
GUI/widgets \
GUI/wizard \
Tools \
Renderer \
Metadata \
Commands \
Workflow \
Library \
Media \
Project \
EffectsEngine \
EffectsEngine/PluginsAPI \
Configuration \
EffectsEngine \
Actions
INCLUDEPATH += $$VLMC_DIRS \
../build/moc \
../build/ui \
$$[VLMC_ADDITIONAL_INCLUDEPATH]
DEPENDPATH += $$VLMC_DIRS
TRANSLATIONS = ../ts/vlmc_cs.ts \
../ts/vlmc_es.ts \
../ts/vlmc_fr.ts \
......@@ -91,9 +84,10 @@ exists( ../ts/*.qm ) {
}
LIBS += -L/usr/local/lib \
-lvlc \
$$[VLMC_ADDITIONAL_LIBS]
-lvlc \
$$[VLMC_ADDITIONAL_LIBS]
DEFINES += VLMC_VERSION="$$VERSION"
CODECFORTR = UTF-8
include(../locale.pri)
......@@ -101,7 +95,3 @@ exists( src.user.pro ) {
include( src.user.pro )
}
# QMAKE_CFLAGS+=-pg
# QMAKE_CXXFLAGS+=-pg
# QMAKE_LFLAGS+=-pg
# QMAKE_CXXFLAGS += -W -Wall -Wold-style-cast
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