From fe33cf5038ab9931a30148ee0041ab95d9253866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega?= Date: Sat, 22 Apr 2017 13:14:15 +0200 Subject: [PATCH] Irrlicht is now linked to the binary. --- premake4.lua | 2 ++ src/main.cc | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/premake4.lua b/premake4.lua index 4a3dd92..8849889 100644 --- a/premake4.lua +++ b/premake4.lua @@ -22,6 +22,8 @@ project "libreternity" kind "WindowedApp" targetdir "bin/" files { "src/**.hh", "src/**.cc" } + libdirs { os.findlib("Irrlicht") } + links { "Irrlicht" } configuration "Debug" defines { "DEBUG" } diff --git a/src/main.cc b/src/main.cc index 0792cca..bf507c5 100644 --- a/src/main.cc +++ b/src/main.cc @@ -18,9 +18,7 @@ #include -using namespace std; - int main() { - cout << "Libreternity\n"; + std::cout << "Libreternity\n"; return 0; }