Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 964 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 964 Bytes

Timer

Shows how to create a timer with Fl::add_timeout, Fl::remove_timeout and Fl::repeat_timeout methods.

Source

Timer.cpp

CMakeLists.txt

Output

output

Generate and build

To build this project, open "Terminal" and type following lines:

Windows :

mkdir build && cd build
cmake .. 
start Timer.sln

Select Timer project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./Timer.xcodeproj

Select Timer project and type Cmd+R to build and run it.

Linux :

mkdir build && cd build
cmake .. 
cmake --build . --config Debug
./Timer