target_icon

September 14, 2025 ยท View on GitHub

Shows how to set target icon with cmake target_icon().

Sources

  • src/target_icon.cpp
  • CMakeLists.txt

xtd_forms.icns

xtd_forms.ico

xtd_forms.png

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Contents

  1. 1Sources
  2. 2Build and run