mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 16:37:34 +00:00

This allows us to remove all the add_subdirectory calls from the top level CMakeLists.txt that referred to targets linking LagomCore. Segregating the host tools and Serenity targets helps us get to a place where the main Serenity build can simply use a CMake toolchain file rather than swapping all the compiler/sysroot variables after building host libraries and tools.
6 lines
112 B
CMake
6 lines
112 B
CMake
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(IPCCompiler ${SOURCES})
|
|
target_link_libraries(IPCCompiler LagomCore)
|