Skip to content

Commit

Permalink
Merge pull request #2 from billyquith/master
Browse files Browse the repository at this point in the history
Fixes for OSX.
  • Loading branch information
garrynewman committed Feb 9, 2013
2 parents 7ea8682 + a4150e4 commit 89c3f83
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions projects/premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,36 @@ solution "Bootil"
flags { "Symbols", "NoEditAndContinue", "NoPCH", "StaticRuntime", "EnableSSE" }
targetdir ( "../lib/" .. os.get() .. "/" .. _ACTION )
includedirs { "../include/", "../src/3rdParty/" }

if os.is( "linux" ) or os.is( "macosx" ) then
buildoptions { "-fPIC" }
linkoptions { "-fPIC" }
-- linkoptions { "-fPIC" } -- OSX does not need this for linking
end

configurations
{
{
"Release",
"Debug"
}

configuration "Release"
defines { "NDEBUG" }
flags{ "OptimizeSpeed", "FloatFast" }

configuration "Debug"
defines { "_DEBUG" }
targetsuffix "_debug"

project "Shared Library"
project "Bootil-Shared"
uuid ( "22348F3E-2CE7-42fd-B7DC-2861A17D9FEE" )
defines { "BOOTIL_COMPILE_DLL" }
files { "../src/**.*", "../include/**.*" }
kind "SharedLib"
targetname( "bootil" )

project "Static Library"
project "Bootil-Static"
uuid ( "AB8E7B19-A70C-4767-88DE-F02160167C2E" )
defines { "BOOTIL_COMPILE_STATIC" }
files { "../src/**.*", "../include/**.*" }
kind "StaticLib"
targetname( "bootil_static" )
targetname( "bootil_static" )
2 changes: 1 addition & 1 deletion src/Bootil/Threads/Mutex.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#include "Bootil/Bootil.h"
#include "tinythreadpp/fast_mutex.h"

Expand Down
2 changes: 1 addition & 1 deletion src/Bootil/Threads/Thread.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#include "Bootil/Bootil.h"
#include "tinythreadpp/tinythread.h"
#include "tinythreadpp/fast_mutex.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Bootil/Threads/Utility.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#include "Bootil/Bootil.h"

#ifdef _WIN32
Expand Down

0 comments on commit 89c3f83

Please sign in to comment.