Skip to content

Commit 0ce862d

Browse files
authored
build: add dependencies' version (#7)
* ci: try add build cache * build: disable ccache
1 parent e5d54fa commit 0ce862d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
6363
- name: Build PreLoader
6464
run: |
65-
xmake f -p windows -m release -a x64 -y
65+
xmake f -p windows -m release -a x64 --ccache=n -y
6666
xmake -w -y
6767
6868
- name: Prepare Artifacts

xmake.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ else
88
set_runtimes("MD")
99
end
1010

11-
add_requires("fmt")
12-
add_requires("raw_pdb")
13-
add_requires("nlohmann_json")
14-
add_requires("parallel-hashmap")
11+
add_requires("fmt 9.1.0")
12+
add_requires("raw_pdb 2022.10.17")
13+
add_requires("nlohmann_json v3.11.2")
14+
add_requires("parallel-hashmap 1.35")
1515

1616
add_requires("detours v4.0.1-xmake.0")
1717
add_requires("demangler v1.0.1")
@@ -23,6 +23,6 @@ target("PreLoader")
2323
add_headerfiles("include/**.h")
2424
add_includedirs("./include")
2525
add_defines("PRELOADER_EXPORT", "UNICODE")
26-
add_cxxflags("/UTF-8")
26+
add_cxflags("/utf-8")
2727
add_files("src/**.cpp")
2828
add_packages("raw_pdb", "nlohmann_json", "parallel-hashmap", "demangler", "detours", "fmt")

0 commit comments

Comments
 (0)