[DEV] update new lutin

This commit is contained in:
Edouard DUPIN 2015-09-10 21:32:50 +02:00
parent 3341c55489
commit 33cd88a451
3 changed files with 31 additions and 5 deletions

View File

@ -16,8 +16,6 @@
#include <etk/thread/tools.h>
#include <mutex>
#include <date/date.h>
#include <gale/gale.h>
#include <gale/Dimension.h>
#include <gale/debug.h>
@ -269,7 +267,6 @@ gale::Context::Context(gale::Application* _application, int32_t _argc, const cha
//etk::cout.setOutputFile(true);
GALE_INFO("GALE v:" << gale::getVersion());
GALE_INFO("Build Date: " << date::getYear() << "/" << date::getMonth() << "/" << date::getDay() << " " << date::getHour() << "h" << date::getMinute());
// TODO : remove this ...
etk::initDefaultFolder("galeApplNoName");
// request the init of the application in the main context of openGL ...

View File

@ -12,7 +12,6 @@
#include <gale/context/commandLine.h>
#include <etk/os/FSNode.h>
#include <gale/Dimension.h>
#include <date/date.h>
#undef __class__
#define __class__ "gale"

View File

@ -26,6 +26,13 @@ def create(target):
'gale/Application.cpp',
'gale/Thread.cpp',
])
myModule.add_header_file([
'gale/gale.h',
'gale/Dimension.h',
'gale/orientation.h',
'gale/Application.h',
'gale/Thread.h',
])
# context :
myModule.add_src_file([
@ -34,6 +41,12 @@ def create(target):
'gale/context/Context.cpp',
'gale/context/cursor.cpp',
])
myModule.add_header_file([
'gale/context/clipBoard.h',
'gale/context/commandLine.h',
'gale/context/Context.h',
'gale/context/cursor.h',
])
if target.name=="Linux":
myModule.add_src_file('gale/context/X11/Context.cpp')
# check if egami is present in the worktree: this is for the icon parsing ...
@ -76,11 +89,20 @@ def create(target):
'gale/key/status.cpp',
'gale/key/type.cpp'
])
myModule.add_header_file([
'gale/key/keyboard.h',
'gale/key/Special.h',
'gale/key/status.h',
'gale/key/type.h'
])
# OpenGL interface :
myModule.add_src_file([
'gale/renderer/openGL/openGL.cpp'
])
myModule.add_header_file([
'gale/renderer/openGL/openGL.h'
])
# resources :
myModule.add_src_file([
@ -91,9 +113,17 @@ def create(target):
'gale/resource/Texture.cpp',
'gale/resource/VirtualBufferObject.cpp'
])
myModule.add_header_file([
'gale/resource/Manager.h',
'gale/resource/Program.h',
'gale/resource/Resource.h',
'gale/resource/Shader.h',
'gale/resource/Texture.h',
'gale/resource/VirtualBufferObject.h'
])
# name of the dependency
myModule.add_module_depend(['etk', 'date'])
myModule.add_module_depend(['etk'])
myModule.add_export_path(tools.get_current_path(__file__))