[DEV] update Build interface

This commit is contained in:
Edouard DUPIN 2015-09-14 21:11:04 +02:00
parent 33cd88a451
commit be8561c128
2 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,6 @@
#include <etk/types.h> #include <etk/types.h>
#include <etk/math/Vector4D.h> #include <etk/math/Vector4D.h>
#include <gale/debug.h>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.h>
#include <gale/resource/Resource.h> #include <gale/resource/Resource.h>
#include <gale/resource/Shader.h> #include <gale/resource/Shader.h>

View File

@ -27,6 +27,7 @@ def create(target):
'gale/Thread.cpp', 'gale/Thread.cpp',
]) ])
myModule.add_header_file([ myModule.add_header_file([
'gale/debug.h',
'gale/gale.h', 'gale/gale.h',
'gale/Dimension.h', 'gale/Dimension.h',
'gale/orientation.h', 'gale/orientation.h',
@ -46,6 +47,7 @@ def create(target):
'gale/context/commandLine.h', 'gale/context/commandLine.h',
'gale/context/Context.h', 'gale/context/Context.h',
'gale/context/cursor.h', 'gale/context/cursor.h',
'gale/context/Fps.h'
]) ])
if target.name=="Linux": if target.name=="Linux":
myModule.add_src_file('gale/context/X11/Context.cpp') myModule.add_src_file('gale/context/X11/Context.cpp')
@ -93,7 +95,8 @@ def create(target):
'gale/key/keyboard.h', 'gale/key/keyboard.h',
'gale/key/Special.h', 'gale/key/Special.h',
'gale/key/status.h', 'gale/key/status.h',
'gale/key/type.h' 'gale/key/type.h',
'gale/key/key.h'
]) ])
# OpenGL interface : # OpenGL interface :
@ -101,7 +104,8 @@ def create(target):
'gale/renderer/openGL/openGL.cpp' 'gale/renderer/openGL/openGL.cpp'
]) ])
myModule.add_header_file([ myModule.add_header_file([
'gale/renderer/openGL/openGL.h' 'gale/renderer/openGL/openGL.h',
'gale/renderer/openGL/openGL-include.h'
]) ])
# resources : # resources :
@ -125,7 +129,7 @@ def create(target):
# name of the dependency # name of the dependency
myModule.add_module_depend(['etk']) myModule.add_module_depend(['etk'])
myModule.add_export_path(tools.get_current_path(__file__)) myModule.add_path(tools.get_current_path(__file__))
tagFile = tools.get_current_path(__file__) + "/tag" tagFile = tools.get_current_path(__file__) + "/tag"
galeVersionID = tools.file_read_data(tagFile) galeVersionID = tools.file_read_data(tagFile)