Replaced EE_DYNAMIC for EE_STATIC, so now you need to specify that you are using

eepp as a static library, since the majority of the people will use the dynamic
it seems logic to use dynamic by default.
Removed all the EE_MAIN_FUNC and "main" func hacks, except the android and ios
ones that can't be removed ( i probably broke something here, it's a WIP.
Fixed Android compilation.
Added eepp-main.
This commit is contained in:
Martín Lucas Golini
2013-08-24 19:43:22 -03:00
parent 90d5833430
commit 3da6497420
14 changed files with 78 additions and 132 deletions

View File

@@ -1,7 +1,6 @@
#include <eepp/ee.hpp>
// EE_MAIN_FUNC is needed for some platforms to export the main function as C function.
EE_MAIN_FUNC int main (int argc, char * argv [])
int main (int argc, char * argv [])
{
// Create a new window
cWindow * win = cEngine::instance()->CreateWindow( WindowSettings( 960, 640, "eepp - Empty Window" ) );