premake4.lua
This commit is contained in:
4
Z80.CPU/v0.1/building/.gitignore
vendored
Normal file
4
Z80.CPU/v0.1/building/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
**
|
||||
!.gitignore
|
||||
!premake4.lua
|
||||
!premate5.lua
|
||||
34
Z80.CPU/v0.1/building/premake4.lua
Normal file
34
Z80.CPU/v0.1/building/premake4.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
solution "Z80"
|
||||
configurations {
|
||||
"Release-Dynamic", "Release-Dynamic-Module", "Release-Static", "Release-Static-Module",
|
||||
"Debug-Dynamic", "Debug-Dynamic-Module", "Debug-Static", "Debug-Static-Module"
|
||||
}
|
||||
|
||||
project "Z80"
|
||||
language "C"
|
||||
flags {"ExtraWarnings"}
|
||||
files {"../sources/**.c"}
|
||||
includedirs {"../API/C"}
|
||||
--buildoptions {"-std=c89 -pedantic"}
|
||||
|
||||
configuration "Release*"
|
||||
targetdir "lib/release"
|
||||
|
||||
configuration "Debug*"
|
||||
flags {"Symbols"}
|
||||
targetdir "lib/debug"
|
||||
|
||||
configuration "*Dynamic*"
|
||||
kind "SharedLib"
|
||||
|
||||
configuration "*Dynamic-Module"
|
||||
defines {"CPU_Z80_BUILD_MODULE_ABI"}
|
||||
targetprefix ""
|
||||
targetextension ".CPU"
|
||||
|
||||
configuration "*Static*"
|
||||
kind "StaticLib"
|
||||
defines {"CPU_Z80_STATIC"}
|
||||
|
||||
configuration "*Static-Module"
|
||||
defines {"CPU_Z80_BUILD_ABI"}
|
||||
Reference in New Issue
Block a user