Commit Graph

20 Commits

Author SHA1 Message Date
Elias Bachaalany
7a42bc7ad3 cmake: rename MOMO_BUILD_AS_LIBRARY to SOGEN_BUILD_STATIC
Also adds FATAL_ERROR guard when SOGEN_STATIC_CRT=ON without SOGEN_BUILD_STATIC=ON,
since static CRT with shared libraries causes heap corruption (each DLL gets its own
allocator but sogen passes ownership across boundaries).

These options are designed to be used together for full static linking, useful for
embedding sogen in projects like IDA Pro plugins.
2025-12-02 16:24:27 -08:00
momo5502
860f5d4cfc Automatically build as library if project is not toplevel 2025-08-24 13:00:39 +02:00
momo5502
fc9a240d9f Update project name 2025-08-10 07:58:38 +02:00
momo5502
adb94f37bd Prepare memory 64 support 2025-07-09 17:38:10 +02:00
momo5502
6cc3aded19 Remove sccache 2025-06-01 12:36:50 +02:00
momo5502
5041bab9f8 Setup sccache 2025-05-29 09:50:28 +02:00
momo5502
ef72596436 Add nodejs support 2025-04-18 16:59:04 +02:00
momo5502
f42005ce5d Add avx2 support 2025-04-12 08:26:38 +02:00
momo5502
1cdf280fcf Support disabling rust code 2025-04-01 18:49:41 +02:00
momo5502
db0d34288d Test iOS compilation 2025-03-19 15:55:39 +01:00
momo5502
7c1bd69bfc Run clang tidy 2025-03-18 19:09:21 +01:00
momo5502
6b43e53a6f Don't build universal binaries on macOS 2025-01-25 07:24:02 +01:00
Maurice Heumann
7a663094d6 [NFC] Cleanup project structure a bit (#93) 2025-01-20 20:25:52 +01:00
momo5502
067421bf85 Prepare grouping targets 2025-01-20 20:14:49 +01:00
Elias Bachaalany
8053889d20 introducing reflection concept into core components
the idea is to allow as much internal information into inner components.
to not burden all builds, the reflection level can be controlled
via the MOMO_REFLECTION_LEVEL (where 0 means no reflection code is
included).

more reflection variables will be introduced as needed.

for now, the memory manager's layout version is used to track whether
the memory layout is changed or not (at the lowest level).
the API consumer can use this to decide to refresh or not expensive
computations
2025-01-18 21:10:28 -08:00
Elias Bachaalany
051e7a77a7 no need to export anything if MOMO_BUILD_AS_LIBRARY 2025-01-12 11:56:11 -08:00
Elias Bachaalany
c58abdc5fe added MOMO_BUILD_AS_LIBRARY
this allows to build the emulator as a static library.
useful for using the project as a library
2025-01-12 11:43:02 -08:00
momo5502
d29e4a811f Quick & dirty test execution #16 2024-10-25 17:40:53 +02:00
momo5502
bb2ba42de4 Prepare PEB/TEB 2024-08-17 15:30:57 +02:00
momo5502
a154eb3ec9 Initial commit 2024-08-15 19:00:01 +02:00