mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 01:05:58 +03: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.
22 lines
424 B
CMake
22 lines
424 B
CMake
serenity_component(
|
|
Calculator
|
|
RECOMMENDED
|
|
TARGETS Calculator
|
|
)
|
|
|
|
compile_gml(CalculatorWindow.gml CalculatorGML.h calculator_gml)
|
|
set(SOURCES
|
|
main.cpp
|
|
Calculator.cpp
|
|
CalculatorWidget.cpp
|
|
RoundingDialog.cpp
|
|
Keypad.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
CalculatorGML.h
|
|
)
|
|
|
|
serenity_app(Calculator ICON app-calculator)
|
|
target_link_libraries(Calculator PRIVATE LibCore LibCrypto LibGfx LibGUI LibMain)
|