Commit e59975ed authored by Otto Naderer's avatar Otto Naderer

initial prj setup

parent d2490d61
QT -= core gui
CONFIG += debug_and_release
Release:TARGET = flasim
Debug:TARGET = flasimD
TEMPLATE = app
unix:INCLUDEPATH += /usr/include/irrlicht
win32:INCLUDEPATH += ../pharus/external/irrlicht
unix:LIBS += -lIrrlicht
DESTDIR = ../bin
HEADERS += \
../src/FlaSimApp.hpp
SOURCES += \
../src/FlaSimApp.cpp \
../src/main.cpp
#include <irrlicht.h>
class FlaSimApp : public irr::IEventReceiver
{
public:
FlaSimApp();
~FlaSimApp();
void execute();
bool OnEvent(const irr::SEvent& e);
private:
irr::IrrlichtDevice *dev;
irr::scene::ISceneManager *sman;
irr::video::IVideoDriver *drv;
irr::gui::IGUIEnvironment *gui;
};
#include "FlaSimApp.hpp"
int main()
{
FlaSimApp a;
a.execute();
return 0;
}
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