WerWolv
76e304c34e
build: Fix various issues with linking, clang and unity builds
2024-01-29 22:57:39 +01:00
WerWolv
2e74a78f46
build: Improve unity builds
2024-01-29 21:18:32 +01:00
WerWolv
f5c529b2b3
build: Define DEBUG macro again only in debug builds
2024-01-26 21:11:42 +01:00
WerWolv
bde476dfb7
build: Make sure libraries are correctly linked in external plugins
2024-01-26 12:36:07 +01:00
Nik
6ae86ce906
build: Get rid of pkgconfig as much as possible ( #1517 )
2024-01-26 12:13:22 +01:00
WerWolv
920b403ee3
build: Fixed libimhex not finding nlohmann json on some platforms
2024-01-25 11:05:02 +01:00
WerWolv
390c1469b1
build: Fix rpath issues on macOS
2024-01-24 22:30:40 +01:00
WerWolv
b605c463a1
impr: Further improve interfacing with external plugins
2024-01-22 23:35:00 +01:00
WerWolv
cc3a9f1e81
build: Fix finding .NET runtime when there's multiple installed versions
2024-01-22 14:59:23 +01:00
Nik
a13b5bf8c0
feat: Implement Myers' diffing algorithm ( #1508 )
2024-01-21 18:39:13 +01:00
WerWolv
ad53a0bf4c
build: Make PDB generation slightly better
2024-01-16 00:31:46 +01:00
WerWolv
2cc07f0e73
build: Add option to not generate PDB files in release builds
2024-01-15 23:33:31 +01:00
Nik
a82fdcca4b
build: Remove manual macOS code signing again
2024-01-05 12:39:19 +01:00
WerWolv
b27e63586e
build: Bundle nodes folder with executable
2024-01-04 22:07:49 +01:00
WerWolv
27aef75e54
build: Added a plugin template to the SDK
2024-01-04 20:25:51 +01:00
WerWolv
70e3b4dd1a
build: Cleanup build script a bit
2024-01-04 17:55:53 +01:00
WerWolv
0097d1782e
build: Fix external plugins not having a imhex version set
2024-01-04 12:01:40 +01:00
WerWolv
f03bdc5f45
build: Exclude libraries from main build target in sdk
2024-01-04 11:34:56 +01:00
WerWolv
ebf379f7c1
build: Fix some sdk variables not being set correctly
2024-01-04 10:39:07 +01:00
WerWolv
cd72ff1f84
build: Fix installing external plugins
2024-01-04 10:25:29 +01:00
WerWolv
eca41cac16
build: Fix more link and define issues
2024-01-04 01:06:38 +01:00
WerWolv
ff48d37598
build: Make SDK not try to link to unbundled libraries
2024-01-04 00:37:56 +01:00
Nik
950eaea8af
impr: Make decompression support actually useful ( #1481 )
2023-12-31 11:39:24 +01:00
WerWolv
2b1688be31
build: Don't try to sign unbundled executable on macOS
2023-12-30 19:40:01 +01:00
Nik
5a0a5ad445
build: Fix macOS M1 build entirely ( #1480 )
2023-12-30 19:11:33 +01:00
WerWolv
db72ba295a
build: Don't try to bundle updater on targets that don't have an updater
2023-12-28 20:44:42 +01:00
WerWolv
5ca6ed30b4
build: Fix updater not being installed correctly
2023-12-28 20:26:58 +01:00
WerWolv
83b1416797
build: Fixed dependencies of plugins not being bundled correctly
2023-12-28 18:05:49 +01:00
WerWolv
9d0fd1f5b6
build: Try to fix Fedora build issues
2023-12-27 01:10:08 +01:00
WerWolv
40e66313a9
build: Fix library plugin install path
2023-12-27 00:31:47 +01:00
Nik
61bfe10bc2
refactor: Rework features that use external libraries into optional plugins ( #1470 )
2023-12-23 21:09:41 +01:00
Nik
84bfd10416
build: Restructured entire custom plugin system ( #1469 )
2023-12-22 23:39:38 +01:00
WerWolv
b0490cfbbc
build: Improve pdb generation
2023-12-21 13:57:40 +01:00
WerWolv
27cd3cc83a
fix: Missing welcome screen header localization
2023-12-09 15:32:21 +01:00
WerWolv
15af0726f1
build: Disable error on unknown warning flags
2023-12-09 13:57:46 +01:00
WerWolv
df03ba3883
build: Fix build on macOS
2023-12-09 12:23:11 +01:00
WerWolv
878f45dd80
fix: Various build errors
2023-12-08 16:22:36 +01:00
WerWolv
0cbaf40747
build: Allow for better stacktraces on Linux
2023-12-08 14:00:32 +01:00
WerWolv
2cf642a2a4
build: Updated libwolv
2023-12-01 14:07:10 +01:00
WerWolv
e370fdb0fc
build: Add support for unity builds
2023-11-30 10:22:15 +01:00
iTrooz
9306017f01
refactor: refactor setupCompilerFlags() function ( #1448 )
2023-11-25 15:40:12 +00:00
WerWolv
71df45a347
build: Compile plugins as cmake module libraries instead of shared libraries
2023-11-23 23:01:11 +01:00
WerWolv
9e0b02f86e
build: Update .NET version
2023-11-20 22:55:49 +01:00
WerWolv
a4e14497a5
build: Force set .NET library/include directory variables
2023-11-20 22:49:06 +01:00
WerWolv
de3e92e21b
build: Use different method of enforcing nethost.h
2023-11-19 16:11:17 +01:00
WerWolv
981ae5067c
build: Try force reconfiguring when nethost header isn't found
2023-11-19 12:03:17 +01:00
WerWolv
60b640d9f5
build: Restructure ImGui dependencies, added Readmes and licenses
2023-11-19 11:59:25 +01:00
iTrooz
f0465c63ed
build: move third party libraries to lib/third_party ( #1417 )
...
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-12 02:02:54 +01:00
iTrooz
7405219fb8
build: Make ImHex buildable for MacOS arm64 ( #1414 )
2023-11-11 20:56:30 +01:00
iTrooz
6e6c5c4cb7
build: Fix build script for MacOS ( #1404 )
...
Fix build problem introduced by
https://github.com/WerWolv/ImHex/pull/1398
I didn't refactor the code well because I thought `CREATE_PACKAGE` was
an option only used for Windows, when it needs to be used for MacOS too
2023-11-07 14:06:38 +01:00
iTrooz
c839ee7d13
build: Improve names of packaging cmake options ( #1398 )
...
This PR is simply a refactor, to clarify these flags that shouldn't
impact anything
2023-11-04 00:11:50 +00:00
WerWolv
407ec1ceb6
build: Use custom jthread implementation if standard one is not available
2023-11-02 20:21:38 +01:00
WerWolv
c444ad9280
impr: Bundle default magic file with application
2023-10-29 19:43:45 +01:00
Nik
58189e5403
impr: Allow console output to work when debugging ( #1382 )
2023-10-22 21:39:14 +00:00
WerWolv
03af1687d9
build: Only copy required libraries to SDK
2023-10-22 22:01:42 +02:00
WerWolv
e92f937587
build: Bundle SDK with releases
2023-10-22 21:27:13 +02:00
Nik
f114239f51
feat: Added Auto Updater for Windows, macOS and Ubuntu ( #1377 )
2023-10-21 18:40:24 +00:00
iTrooz
d15bd4771d
feat: Support for building ImHex for the web ( #1328 )
...
Co-authored-by: WerWolv <werwolv98@gmail.com>
Co-authored-by: AnnsAnn <git@annsann.eu>
2023-10-04 12:00:32 +02:00
WerWolv
7400b9ce8a
build: Fixed macOS library path
2023-10-01 16:59:04 +02:00
WerWolv
4436e8a589
build: Try to fix script loader on macOS
2023-10-01 16:18:31 +02:00
WerWolv
e80c7bff1c
impr: Refactored forwarder executable and add lots more information to it
2023-09-27 14:14:27 +02:00
PerikiyoXD
691df0fc83
fix: Implemented forwarder executable ( #1308 )
...
Fixes random .NET plugin crash caused by the console window being freed
on the same process.
### Problem description
Sometimes when launching from the explorer ImHex crashes
### Implementation description
We've implemented a launcher to avoid freeing the std streams, that
generated the bug.
### Screenshots
N/A
### Additional things
Blame windows console subsystem
2023-09-16 13:08:19 +02:00
Nik
a1dc979217
build: Fixed plugins not having their C++ version set correctly
2023-08-22 19:29:03 +02:00
WerWolv
fae8f0a8d5
build: Fixed cmake not using default settings on Windows
2023-08-06 01:52:23 +02:00
iTrooz
55e6761bf1
build: Fix LTO not being enabled correctly ( #1217 )
...
Currently, LTO isn't enabled (at least on Linux ?), because LTO doesn't
recognize any language as being enabled.
I fixed that by explicitly enabling C and CXX languages before enabling
LTO
2023-08-05 20:39:20 +02:00
WerWolv
f67e808d0b
build: Add plugins to main dependency
2023-07-27 10:45:11 +02:00
WerWolv
e1d0a057ff
build: Set plugin output directory correctly
2023-07-27 02:07:36 +02:00
WerWolv
94a02c4b6d
build: Streamlined plugin creation process
2023-07-27 00:53:04 +02:00
WerWolv
a83ca3c228
feat: Added --pl and --magic command
2023-07-17 10:43:29 +02:00
WerWolv
0a6815da8f
fix: Always use default CA Cert
2023-07-16 19:56:07 +02:00
WerWolv
54fba5bf8b
build: Always bundle CA Cert on Windows
2023-07-15 23:20:09 +02:00
WerWolv
2fea1975c2
build: Don't set recommended properties if they were already set
2023-07-15 14:29:54 +02:00
Nik
5171bea0bf
feat: Added cross-platform .NET scripts support ( #1185 )
...
This PR intends to add support for .NET scripts that can extend ImHex's
functionality in a portable and cross-platform way.
---------
Co-authored-by: Justus Garbe <55301990+Nowilltolife@users.noreply.github.com>
2023-07-15 14:29:14 +02:00
WerWolv
afcc01c3dc
build: Set default settings only if they haven't been set already
2023-07-15 10:33:42 +02:00
WerWolv
0f54a3a1f3
build: Added option to disable strict warnings
2023-07-15 10:02:19 +02:00
Nik
aae3004f1f
build: Various build improvements ( #1193 )
2023-07-15 00:10:01 +02:00
WerWolv
6c4fdd146f
build: Use llvm-ar and llvm-ranlib on Windows
2023-07-14 21:51:18 +02:00
iTrooz
1ed658bcdc
feat: Added command line interface support ( #1172 )
...
System design has been discussed on discord
Should fix #948
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-07-13 14:08:23 +02:00
WerWolv
511ef3ef2b
build: Supress warning generated by libraries setting BUILD_SHARED_LIBS
2023-07-09 22:39:27 +02:00
WerWolv
32ade6136b
build: Make sure ImHex Patterns repo gets cloned correctly
2023-07-09 22:18:53 +02:00
WerWolv
65d9509c38
build: Add checked option to enable LTO
2023-07-09 20:34:49 +02:00
WerWolv
25d6380963
build: Upgraded capstone to full V5 release
2023-07-05 20:45:46 +02:00
WerWolv
b87c32a94b
build: Fedora fix again
2023-06-26 14:52:00 +02:00
WerWolv
b13494a192
build: Try fixing Fedora build
2023-06-26 14:37:35 +02:00
WerWolv
d527675bda
build: Make sure changing commit hash doesn't trigger a full rebuild
...
Closes #1137
2023-06-26 14:01:45 +02:00
WerWolv
13b4201446
build: Clean up build logs
2023-06-26 08:45:33 +02:00
WerWolv
568e8d8d42
build: Don't generated PDBs in Debug mode
2023-06-24 11:52:37 +02:00
WerWolv
cabe9cf995
build: Fixed PDB generation again
2023-06-24 01:48:13 +02:00
WerWolv
35d2fda0a4
build: More pdb gen fixes
2023-06-23 23:20:56 +02:00
WerWolv
2c6f1503ef
build: Corrected pdb generation and install issues
2023-06-23 23:00:06 +02:00
WerWolv
c787532ed9
build: Fixed pdb creation removing bundled debug info
2023-06-23 21:39:13 +02:00
WerWolv
ae06954771
fix: Stack trace printing on Windows not working right
2023-06-22 15:15:06 +02:00
WerWolv
e1b0c1c268
build: Fixed commit hash define being set incorrectly
2023-06-21 23:09:22 +02:00
Nik
f703b15165
feat: Added statistics and crash log uploading ( #1149 )
...
Co-authored-by: Justus Garbe <gihihoh@gmail.com>
2023-06-20 11:55:56 +02:00
WerWolv
25154dd450
build: Force enable exceptions and rtti
2023-06-18 14:42:48 +02:00
KOLANICH
330c8399ce
build: Only enable GCC-exclusive warnings on GCC ( #1091 )
...
Move all the flags added into an if block, since the flags are for
GCC/Clang and are not suitable for Visual Studio.
2023-06-13 23:01:26 +02:00
iTrooz
bfe698f883
build: Do not install _schema.json files ( #1095 )
2023-05-22 13:20:55 +02:00
KOLANICH
749823e044
build: Move -s
additional compiler flags into linker flags, and enable it only when gcc/clang are used. ( #1087 )
...
Compiler when compiling doesn't use them in those cases and emit a
warning, which is turned into an error by `-Werror`. Unfortunately,
CPack doesn't expose the logic it uses for stripping binaries.
2023-05-20 13:37:57 +02:00
WerWolv
636ed0095d
feat: Added new imhex/capabilities
network interface
2023-05-16 11:01:40 +02:00
WerWolv
6e5d6810e7
build: Disable assertions in release builds
2023-05-13 17:49:53 +02:00