1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland/Applications/Calculator/CMakeLists.txt
creator1creeper1 97d2a5799e Calculator: Add KeypadValue class
This commit adds a basic KeypadValue class which abstracts away
Keypad's internal representation in a slightly simpler format.
This will allow arithmetic operations in the Calculator to not
lose any precision. In cases where losing precision is necessary,
an explicit conversion operator to double is provided, as well as
an explicit constructor from double.
2021-08-03 19:12:06 +04:30

18 lines
355 B
CMake

serenity_component(
Calculator
RECOMMENDED
TARGETS Calculator
)
compile_gml(CalculatorWindow.gml CalculatorGML.h calculator_gml)
set(SOURCES
main.cpp
Calculator.cpp
CalculatorWidget.cpp
Keypad.cpp
KeypadValue.cpp
CalculatorGML.h
)
serenity_app(Calculator ICON app-calculator)
target_link_libraries(Calculator LibGUI)