-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: change third party into a repo system
This uses the xmake repository system which is the correct way to have packages inside of a project, allowing us to depend on those packages in other packages as well as improving package xmake.lua change detection.
- Loading branch information
Showing
10 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package("IconFontCppHeaders") | ||
add_urls("[email protected]:juliettef/IconFontCppHeaders.git") | ||
add_urls("https://github.com/juliettef/IconFontCppHeaders.git") | ||
set_kind("library", { headeronly = true }) | ||
|
||
add_versions("v1.0", "main") | ||
|
||
on_install(function (package) | ||
os.cp("**.h", package:installdir("include")) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:check_cxxsnippets({ test = [[ | ||
void test() { | ||
ICON_FA_TERMINAL; | ||
} | ||
]]}, { includes = { "IconsFontAwesome5.h" } })) | ||
end) | ||
package_end() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,24 +36,4 @@ package("ImGuiTextEdit") | |
|
||
import("package.tools.xmake").install(package) | ||
end) | ||
package_end() | ||
|
||
package("IconFontCppHeaders") | ||
add_urls("[email protected]:juliettef/IconFontCppHeaders.git") | ||
add_urls("https://github.com/juliettef/IconFontCppHeaders.git") | ||
set_kind("library", { headeronly = true }) | ||
|
||
add_versions("v1.0", "main") | ||
|
||
on_install(function (package) | ||
os.cp("**.h", package:installdir("include")) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:check_cxxsnippets({ test = [[ | ||
void test() { | ||
ICON_FA_TERMINAL; | ||
} | ||
]]}, { includes = { "IconsFontAwesome5.h" } })) | ||
end) | ||
package_end() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
includes("zycore") | ||
includes("zydis") | ||
includes("polyhook_2") | ||
includes("glaze") | ||
includes("imgui") | ||
includes("glad") | ||
includes("raw_pdb") | ||
|
||
add_requires("zycore v1.5.0", { debug = is_mode_debug(), configs = {runtimes = get_mode_runtimes()} }) | ||
add_requires("zydis v4.1.0", { debug = is_mode_debug(), configs = {runtimes = get_mode_runtimes()} }) | ||
add_requires("polyhook_2", { debug = is_mode_debug(), configs = {runtimes = get_mode_runtimes()} }) | ||
includes("glad") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters