Skip to content

Commit

Permalink
A little more to the build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
saintonfire committed Sep 14, 2009
1 parent e700602 commit ea4102f
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions build.lua
Original file line number Diff line number Diff line change
@@ -1,49 +1,27 @@
-- A solution contains projects, and defines the available configurations
solution "SimpleFileWatcher"
location(_ACTION)
location("build/" .. _ACTION)
configurations { "Debug", "Release" }

-- A project defines one build target
project "SimpleDemo"
kind "ConsoleApp"
location(_ACTION)
location("build/" .. _ACTION)
language "C++"
files {
"source/*.cpp",
"SimpleDemo.cpp"
}
includedirs { "includes" }
objdir "intermediate/SimpleDemo"

project "OgreDemo"
kind "ConsoleApp"
location(_ACTION)
language "C++"
files {
"source/*.cpp",
"OgreDemo.cpp"
}
includedirs {
"includes",
"exampleapp"
}

configuration {"SimpleDemo", "Release"}
objdir "intermediate/SimpleDemo/Release"

configuration {"SimpleDemo", "Debug"}
objdir "intermediate/SimpleDemo/Debug"

configuration {"OgreDemo", "Release"}
objdir "intermediate/OgreDemo/Release"

configuration {"OgreDemo", "Debug"}
objdir "intermediate/OgreDemo/Debug"
objdir "build/intermediate"

configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
objdir "build/intermediate/Debug"
targetname "SimpleDemo_d"

configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
objdir "build/intermediate/Release"

0 comments on commit ea4102f

Please sign in to comment.