Skip to content

Commit 7c0469b

Browse files
committed
Some tweaks to the module's premake file
* Only include king.rc when building for Windows * Only include "linux/" files when building for Linux * Omit "linux/" from the list of built files (only header is enough)
1 parent 658b4fd commit 7c0469b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

amx-deps/src/premake5.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ solution "king"
4646
"**.cpp",
4747
"*.h",
4848
"include/*.h",
49-
"linux/*.h",
50-
"king.rc",
5149
}
5250

51+
filter "system:windows"
52+
files { "king.rc" }
53+
54+
filter "system:linux"
55+
includedirs { "linux" }
56+
5357
include "amx"
5458
links "amx"
5559

0 commit comments

Comments
 (0)