build: More repo cleanup, move libimhex and external libs to /lib folder
This commit is contained in:
parent
a5a1ae6725
commit
40d7e4aa6e
28
.gitmodules
vendored
28
.gitmodules
vendored
@ -1,26 +1,26 @@
|
||||
[submodule "external/nativefiledialog"]
|
||||
path = external/nativefiledialog
|
||||
[submodule "lib/external/nativefiledialog"]
|
||||
path = lib/external/nativefiledialog
|
||||
url = https://github.com/btzy/nativefiledialog-extended
|
||||
ignore = dirty
|
||||
[submodule "external/yara/yara"]
|
||||
path = external/yara/yara
|
||||
[submodule "lib/external/yara/yara"]
|
||||
path = lib/external/yara/yara
|
||||
url = https://github.com/VirusTotal/yara
|
||||
ignore = dirty
|
||||
[submodule "external/xdgpp"]
|
||||
path = external/xdgpp
|
||||
[submodule "lib/external/xdgpp"]
|
||||
path = lib/external/xdgpp
|
||||
url = https://git.sr.ht/~danyspin97/xdgpp
|
||||
ignore = dirty
|
||||
[submodule "external/fmt"]
|
||||
path = external/fmt
|
||||
[submodule "lib/external/fmt"]
|
||||
path = lib/external/fmt
|
||||
url = https://github.com/fmtlib/fmt
|
||||
ignore = dirty
|
||||
[submodule "external/curl"]
|
||||
path = external/curl
|
||||
[submodule "lib/external/curl"]
|
||||
path = lib/external/curl
|
||||
url = https://github.com/curl/curl
|
||||
ignore = dirty
|
||||
[submodule "external/capstone"]
|
||||
path = external/capstone
|
||||
[submodule "lib/external/capstone"]
|
||||
path = lib/external/capstone
|
||||
url = https://github.com/capstone-engine/capstone
|
||||
[submodule "external/libromfs"]
|
||||
path = external/libromfs
|
||||
[submodule "lib/external/libromfs"]
|
||||
path = lib/external/libromfs
|
||||
url = https://github.com/WerWolv/libromfs
|
||||
|
@ -17,6 +17,9 @@ detectBadClone()
|
||||
set(PLUGINS
|
||||
builtin
|
||||
windows
|
||||
|
||||
example_cpp
|
||||
example_rust
|
||||
)
|
||||
|
||||
# Add various defines
|
||||
@ -26,7 +29,7 @@ addVersionDefines()
|
||||
configurePackingResources()
|
||||
|
||||
# Add ImHex sources
|
||||
add_subdirectory(plugins/libimhex)
|
||||
add_subdirectory(lib/libimhex)
|
||||
add_subdirectory(main)
|
||||
add_custom_target(imhex ALL DEPENDS main)
|
||||
|
||||
|
@ -152,7 +152,7 @@ make -j
|
||||
|
||||
To create a standalone zipfile on Windows, get the Python standard library (e.g. from https://github.com/python/cpython/tree/master/Lib) and place the files and folders in `lib/python3.8` next to your built executable. Don't forget to also copy the `libpython3.8.dll` and `libwinpthread-1.dll` from your mingw setup next to the executable.
|
||||
|
||||
- Copy the files from `python_libs` in the `lib` folder next to your built executable.
|
||||
- Copy the files inside the `/resources/lib/python` folder into the `lib` folder next to your built executable.
|
||||
- Place your magic databases in the `magic` folder next to your built executable
|
||||
- Place your patterns in the `pattern` folder next to your built executable
|
||||
- Place your include pattern files in the `include` folder next to your built executable
|
||||
|
0
external/curl → lib/external/curl
vendored
0
external/curl → lib/external/curl
vendored
0
external/fmt → lib/external/fmt
vendored
0
external/fmt → lib/external/fmt
vendored
0
external/xdgpp → lib/external/xdgpp
vendored
0
external/xdgpp → lib/external/xdgpp
vendored
@ -81,7 +81,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hex"
|
||||
name = "libimhex-rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"cxx",
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "hex"
|
||||
name = "libimhex-rs"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
@ -7,7 +7,7 @@ build = "build.rs"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
macros = { path = "proc_macros" }
|
||||
imhex-macros = { path = "proc_macros" }
|
||||
imgui = { path = "imgui-rs" }
|
||||
|
||||
cxx = "1.0.55"
|
1
lib/libimhex-rs/imgui-rs/README.markdown
Normal file
1
lib/libimhex-rs/imgui-rs/README.markdown
Normal file
@ -0,0 +1 @@
|
||||
../README.markdown
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user