Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 801 Bytes

File metadata and controls

46 lines (30 loc) · 801 Bytes

Menu_Button

Shows how to create a menu button with Fl_Menu_Button widget.

Source

Menu_Button.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 Menu_Button.sln

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

macOS :

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

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

Linux :

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