Shows how to set target startup with cmake xtd::console.
#include <xtd/forms/message_box>
#include <xtd/console>
#include <xtd/startup>
 
 
class console_main {
public:
  static auto main() {
    console::write_line("Hello, World!");
    forms::message_box::show("Hello, World!");
  }
};
 
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:175
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10