mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-16 12:21:25 +00:00
initial CGL stubs; directory layout
This commit is contained in:
parent
52c73af8a6
commit
fea6b56eab
12
IContext.cpp
12
IContext.cpp
@ -1,12 +0,0 @@
|
||||
#include "CContext.hpp"
|
||||
|
||||
CContext::CContext()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CContext::~CContext()
|
||||
{
|
||||
|
||||
}
|
||||
|
11
include/CCGLContext.hpp
Normal file
11
include/CCGLContext.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef CCGLCONTEXT_HPP
|
||||
#define CCGLCONTEXT_HPP
|
||||
|
||||
#include "IContext.hpp"
|
||||
|
||||
class CCGLContext final : public IContext
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
#endif // CCGLCONTEXT_HPP
|
16
include/boo.hpp
Normal file
16
include/boo.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef BOO_HPP
|
||||
#define BOO_HPP
|
||||
|
||||
#include "IContext.hpp"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#error "No support for WGL"
|
||||
#elif defined(__APPLE__)
|
||||
#include "CCGLContext.hpp"
|
||||
typedef CCGLContext CContext;
|
||||
#elif __linux__
|
||||
#include "CGLXContext.hpp"
|
||||
typedef CGLXContext CContext;
|
||||
#endif
|
||||
|
||||
#endif // BOO_HPP
|
8
libBoo.pri
Normal file
8
libBoo.pri
Normal file
@ -0,0 +1,8 @@
|
||||
HEADERS += \
|
||||
$$PWD/include/boo.hpp \
|
||||
$$PWD/include/IContext.hpp
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/src/CCGLContext.cpp
|
||||
|
||||
INCLUDEPATH += $$PWD/include
|
@ -1,5 +1,2 @@
|
||||
HEADERS += \
|
||||
IContext.hpp
|
||||
|
||||
SOURCES += \
|
||||
IContext.cpp
|
||||
include(libBoo.pri)
|
||||
include(test/test.pri)
|
0
src/CCGLContext.cpp
Normal file
0
src/CCGLContext.cpp
Normal file
2
test/test.pri
Normal file
2
test/test.pri
Normal file
@ -0,0 +1,2 @@
|
||||
SOURCES += \
|
||||
$$PWD/main.cpp
|
Loading…
x
Reference in New Issue
Block a user