Basic premake4 files.

This commit is contained in:
Nicolás A. Ortega 2017-04-22 01:03:34 +02:00
parent d93272a2ac
commit dc1064ec91
No known key found for this signature in database
GPG Key ID: 3D786FB3123FF1DD
2 changed files with 58 additions and 0 deletions

32
premake4.lua Normal file
View File

@ -0,0 +1,32 @@
-- Copyright (C) 2017 Ortega Froysa, Nicolás <deathsbreed@themusicinnoise.net>
-- Author: Ortega Froysa, Nicolás <deathsbreed@themusicinnoise.net>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
solution "Libreternity"
configurations { "Debug", "Release" }
project "Libreternity"
language "C++"
kind "WindowedApp"
targetdir "bin/"
files { "src/**.hh", "src/**.cc" }
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols", "ExtraWarnings", "FatalWarnings" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize", "ExtraWarnings", "FatalWarnings" }

26
src/main.cc Normal file
View File

@ -0,0 +1,26 @@
/*
* Copyright (C) 2017 Ortega Froysa, Nicolás <deathsbreed@themusicinnoise.net>
* Author: Ortega Froysa, Nicolás <deathsbreed@themusicinnoise.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <iostream>
using namespace std;
int main() {
cout << "Libreternity\n";
return 0;
}