mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
26 lines
517 B
CMake
26 lines
517 B
CMake
serenity_component(
|
|
UserspaceEmulator
|
|
RECOMMENDED
|
|
TARGETS UserspaceEmulator
|
|
)
|
|
|
|
set(SOURCES
|
|
Emulator.cpp
|
|
Emulator_syscalls.cpp
|
|
MallocTracer.cpp
|
|
MmapRegion.cpp
|
|
Range.cpp
|
|
RangeAllocator.cpp
|
|
Region.cpp
|
|
SimpleRegion.cpp
|
|
SoftCPU.cpp
|
|
SoftFPU.cpp
|
|
SoftMMU.cpp
|
|
SoftVPU.cpp
|
|
main.cpp
|
|
)
|
|
|
|
add_compile_options(-mmmx -Wno-psabi -frounding-math)
|
|
|
|
serenity_bin(UserspaceEmulator)
|
|
target_link_libraries(UserspaceEmulator PRIVATE LibX86 LibDebug LibCore LibLine LibSystem)
|