Created
October 25, 2010 14:24
-
-
Save jmingtan/645028 to your computer and use it in GitHub Desktop.
Premake4 script for libRocket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- premake4 build file for libRocket http://librocket.com | |
-- | |
-- edit the includedirs section to point to your local freetype2 folder. | |
-- | |
-- originally written for a OSX and homebrew-based system | |
solution "libRocket" | |
configurations { "Release" } | |
platforms { "x32" } | |
configuration { "Release" } | |
targetdir "bin/release" | |
includedirs { "Include", "/usr/local/include/freetype2" } | |
if _ACTION == "clean" then | |
os.rmdir("bin/release") | |
os.rmdir("obj") | |
end | |
project "RocketCore" | |
language "C++" | |
kind "SharedLib" | |
files { "**.h", "Source/Core/*.cpp" } | |
links { "freetype" } | |
project "RocketControls" | |
language "C++" | |
kind "SharedLib" | |
files { "**.h", "Source/Controls/*.cpp" } | |
links { "RocketCore" } | |
configuration { "Release*" } | |
defines { "NDEBUG" } | |
flags { "Optimize" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment