Skip to content

Commit

Permalink
Merge pull request #39 from centaurean/dev
Browse files Browse the repository at this point in the history
Updated premake5 script
  • Loading branch information
Guillaume Voirin committed May 20, 2015
2 parents f6f4460 + b2e848e commit acda00c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@

-- Check for tools
if os.execute("clang -v") == 0 then
premake.cc = 'clang'
premake.cxx = 'clang++'
toolset "clang"
elseif os.execute("gcc -v") == 0 then
premake.cc = 'gcc'
premake.cxx = 'g++'
toolset "gcc"
else
io.write("No supported compiler found on the command line. Please install Clang/LLVM or GCC.\n")
os.exit(0)
Expand Down Expand Up @@ -83,4 +81,4 @@ solution "Density"
"../benchmark/src/**.h",
"../benchmark/src/**.c"
}
links { "spookyhash", "density" }
links { "density", "spookyhash" }

0 comments on commit acda00c

Please sign in to comment.