mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +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.
11 lines
673 B
CMake
11 lines
673 B
CMake
add_executable(Generate_CSS_PropertyID_h Generate_CSS_PropertyID_h.cpp)
|
|
add_executable(Generate_CSS_PropertyID_cpp Generate_CSS_PropertyID_cpp.cpp)
|
|
add_executable(Generate_CSS_ValueID_h Generate_CSS_ValueID_h.cpp)
|
|
add_executable(Generate_CSS_ValueID_cpp Generate_CSS_ValueID_cpp.cpp)
|
|
add_executable(WrapperGenerator WrapperGenerator.cpp)
|
|
target_compile_options(WrapperGenerator PUBLIC -g)
|
|
target_link_libraries(Generate_CSS_PropertyID_h LagomCore)
|
|
target_link_libraries(Generate_CSS_PropertyID_cpp LagomCore)
|
|
target_link_libraries(Generate_CSS_ValueID_h LagomCore)
|
|
target_link_libraries(Generate_CSS_ValueID_cpp LagomCore)
|
|
target_link_libraries(WrapperGenerator LagomCore)
|