Skip to content

Commit

Permalink
Restructurization of project
Browse files Browse the repository at this point in the history
  • Loading branch information
Aulos committed Jan 24, 2012
1 parent 6d12159 commit e21f281
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 24 deletions.
21 changes: 21 additions & 0 deletions app/app.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -------------------------------------------------
# Project created by QtCreator 2012-01-04T21:23:34
# -------------------------------------------------
QT -= core \
gui

TARGET = ../bin/mbica

TEMPLATE = app
CONFIG += console

SOURCES += \
main.cpp \

LIBS += -lmbica -larmadillo

INCLUDEPATH += ../include
QMAKE_LIBDIR += ../lib

DEFINES += ARMA_USE_LAPACK \
BOOST_PARAMETER_MAX_ARITY=7
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 8 additions & 24 deletions mbica.pro
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
# -------------------------------------------------
# Project created by QtCreator 2012-01-04T21:23:34
# -------------------------------------------------
QT -= core \
gui
TARGET = mbica

# TEMPLATE = lib
# CONFIG += staticlib
SOURCES += \
icaseparator.cpp \
nonlinearities.cpp \
main.cpp \
utils.cpp \
policies.cpp
#tests/pca_test.cpp \
#tests/whitening_test.cpp
HEADERS += mbica.h \
icaseparator.h \
nonlinearities.h \
utils.h \
policies.h
LIBS += -larmadillo -lboost_unit_test_framework
TEMPLATE = subdirs
SUBDIRS = library \
app \
tests

library.subdir = source
app.depends = library
tests.depends = library

DEFINES += ARMA_USE_LAPACK \
BOOST_PARAMETER_MAX_ARITY=7
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions source/source.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -------------------------------------------------
# Project created by QtCreator 2012-01-04T21:23:34
# -------------------------------------------------
QT -= core \
gui

TARGET = ../lib/mbica

TEMPLATE = lib
CONFIG += staticlib

SOURCES += \
icaseparator.cpp \
nonlinearities.cpp \
utils.cpp \
policies.cpp
HEADERS += ../include/mbica.h \
../include/icaseparator.h \
../include/nonlinearities.h \
../include/utils.h \
../include/policies.h

INCLUDEPATH += ../include
LIBS += -larmadillo -lboost_unit_test_framework

DEFINES += ARMA_USE_LAPACK \
BOOST_PARAMETER_MAX_ARITY=7
File renamed without changes.
22 changes: 22 additions & 0 deletions tests/tests.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -------------------------------------------------
# Project created by QtCreator 2012-01-04T21:23:34
# -------------------------------------------------
QT -= core \
gui

TARGET = unit_tests

TEMPLATE = app
CONFIG += console

SOURCES += \
pca_test.cpp \
whitening_test.cpp

LIBS += -lmbica -larmadillo -lboost_unit_test_framework

INCLUDEPATH += ../include
QMAKE_LIBDIR += ../lib

DEFINES += ARMA_USE_LAPACK \
BOOST_PARAMETER_MAX_ARITY=7
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e21f281

Please sign in to comment.