Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TCC support #2068

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/debian/premake.1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Remove all binaries and build scripts.
Choose a C/C++ compiler, if supported by target; one of:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if supported by target

$(action).valid_tools si checked now, So it should be added there properly.

gcc GNU gcc compiler
dmc Digital Mars C/C+ compiler (experimental)
tcc Tiny C Compiler
.TP 8
.B "\-\-dotnet name"
Choose a .NET compiler set, if supported by target; one of:
Expand Down
1 change: 1 addition & 0 deletions src/_manifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"tools/snc.lua",
"tools/clang.lua",
"tools/mingw.lua",
"tools/tcc.lua",

-- Clean action
"actions/clean/_clean.lua",
Expand Down
3 changes: 2 additions & 1 deletion src/_premake_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,8 @@
{ "clang", "Clang (clang)" },
{ "gcc", "GNU GCC (gcc/g++)" },
{ "mingw", "MinGW GCC (gcc/g++)" },
{ "msc", "Microsoft compiler" }
{ "msc", "Microsoft compiler" },
{ "tcc", "Tiny C Compiler (tcc)" },
}
}

Expand Down
1 change: 1 addition & 0 deletions src/base/_foundation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
premake.UTILITY = "Utility"
premake.UWP = "uwp"
premake.PACKAGING = "Packaging"
premake.TCC = "tcc"
premake.WINDOWEDAPP = "WindowedApp"
premake.WINDOWS = "windows"
premake.X86 = "x86"
Expand Down
Loading