Merge branch 'feature/premake-setup'
This commit is contained in:
commit
e6c191ec2e
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
|
bin/**
|
||||||
|
build/**
|
||||||
|
|
||||||
### C++
|
### C++
|
||||||
# Object files
|
# Object files
|
||||||
*.o
|
*.o
|
||||||
@ -38,7 +41,8 @@
|
|||||||
._*
|
._*
|
||||||
|
|
||||||
# Custom folder icons
|
# Custom folder icons
|
||||||
Icon
|
Icon
|
||||||
|
|
||||||
|
|
||||||
# Volume root files
|
# Volume root files
|
||||||
.DocumentRevisions-V100
|
.DocumentRevisions-V100
|
||||||
|
|||||||
BIN
premake/bin/linux/premake5
Normal file
BIN
premake/bin/linux/premake5
Normal file
Binary file not shown.
BIN
premake/bin/macos/premake5
Normal file
BIN
premake/bin/macos/premake5
Normal file
Binary file not shown.
BIN
premake/bin/windows/premake5.exe
Normal file
BIN
premake/bin/windows/premake5.exe
Normal file
Binary file not shown.
47
premake5.lua
Normal file
47
premake5.lua
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
workspace "tenvex"
|
||||||
|
architecture "x64"
|
||||||
|
configurations { "debug", "release" }
|
||||||
|
location "build"
|
||||||
|
|
||||||
|
outputdir = "%{cfg.system}/x64/%{cfg.buildcfg}"
|
||||||
|
|
||||||
|
project "tenvex"
|
||||||
|
location "build"
|
||||||
|
kind "StaticLib"
|
||||||
|
language "C++"
|
||||||
|
cppdialect "C++20"
|
||||||
|
staticruntime "on"
|
||||||
|
|
||||||
|
targetdir ("bin/" .. outputdir .. "/output")
|
||||||
|
objdir ("bin/" .. outputdir .. "/intermediate")
|
||||||
|
|
||||||
|
files {
|
||||||
|
"src/tenvex/**.h",
|
||||||
|
"src/tenvex/**.hpp",
|
||||||
|
"src/tenvex/**.cpp",
|
||||||
|
}
|
||||||
|
|
||||||
|
includedirs {
|
||||||
|
"src/tenvex",
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "configurations:debug"
|
||||||
|
runtime "Debug"
|
||||||
|
symbols "on"
|
||||||
|
optimize "off"
|
||||||
|
defines { "TENVEX_DEBUG" }
|
||||||
|
|
||||||
|
filter "configurations:release"
|
||||||
|
runtime "Release"
|
||||||
|
symbols "on"
|
||||||
|
optimize "Speed"
|
||||||
|
defines { "TENVEX_RELEASE" }
|
||||||
|
|
||||||
|
filter "system:windows"
|
||||||
|
systemversion "latest"
|
||||||
|
|
||||||
|
filter "system:linux"
|
||||||
|
pic "on"
|
||||||
|
|
||||||
|
filter "system:macosx"
|
||||||
|
pic "on"
|
||||||
2
scripts/config-vs2022.bat
Normal file
2
scripts/config-vs2022.bat
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
call "%~dp0..\premake\bin\windows\premake5.exe" --file="%~dp0..\premake5.lua" vs2022
|
||||||
Loading…
Reference in New Issue
Block a user