Former-commit-id: 40b9e664b314de916f3a368eb4f9bdeec4656106 [formerly 3d8f980ec64eb6b03c6396052e05226b0ba003f3]
Former-commit-id: 62557219dcab794f14d8244c7a36e62dfa952b53
This commit is contained in:
Lynix 2016-05-31 13:25:03 +02:00
commit 64f49cd162
3 changed files with 45 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function NazaraBuild:Execute()
if (os.is64bit()) then
platformData = {"x64", "x86"}
else
platformData = {"x64", "x86"}
platformData = {"x86", "x64"}
end
if (self.Actions[_ACTION] == nil) then

20
examples/Tut00/build.lua Normal file
View File

@ -0,0 +1,20 @@
EXAMPLE.Name = "Tut00_EmptyProject"
EXAMPLE.Console = true
EXAMPLE.Files = {
"main.cpp"
}
EXAMPLE.Libraries = {
"NazaraAudio",
"NazaraCore",
"NazaraGraphics",
"NazaraLua",
"NazaraNetwork",
"NazaraNoise",
"NazaraPhysics",
"NazaraRenderer",
"NazaraUtility",
"NazaraSDK"
}

24
examples/Tut00/main.cpp Normal file
View File

@ -0,0 +1,24 @@
#include <Nazara/Audio.hpp>
#include <Nazara/Core.hpp>
#include <Nazara/Graphics.hpp>
#include <Nazara/Lua.hpp>
#include <Nazara/Network.hpp>
#include <Nazara/Noise.hpp>
#include <Nazara/Physics.hpp>
#include <Nazara/Renderer.hpp>
#include <Nazara/Utility.hpp>
#include <NDK/Application.hpp>
#include <iostream>
#include <vector>
#include <unordered_map>
int main()
{
// This "example" has only one purpose: Giving an empty project for you to test whatever you want
// If you wish to have multiple test projects, you only have to copy/paste this directory and change the name in the build.lua
Ndk::Application app;
// Do what you want here
return EXIT_SUCCESS;
}