Permalink
Browse files

Compilation du project avec un script Shell

  • Loading branch information...
1 parent 16aae55 commit e996dd47ab08baf09d025111c6b5489e21d12c96 @pgentile committed Oct 2, 2011
Showing with 17 additions and 0 deletions.
  1. +13 −0 build.sh
  2. +4 −0 premake4.lua
View
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Build project from scratch
+
+# Generate Makefiles
+echo "Generation Makefiles..."
+premake4 gmake || exit 1
+
+# Build project
+echo "Building project..."
+make || exit 1
+
+# End of build
+echo "Build done"
View
@@ -6,6 +6,7 @@ solution "TestCPP"
includedirs "include"
flags { "ExtraWarnings", "FatalWarnings" }
+ flags { "EnableSSE", "EnableSSE2" }
project "app"
kind "ConsoleApp"
@@ -24,5 +25,8 @@ solution "TestCPP"
files { "src/logger.cpp" }
links { "threading" }
+ configuration "Release"
+ flags { "Optimize" }
+
configuration "Debug"
flags { "Symbols" }

0 comments on commit e996dd4

Please sign in to comment.