Building a SAMSON Extension#
This section is for developers who already installed the SAMSON SDK and generated at least one extension project.
Use it when you need to:
- configure the generated CMake project in your IDE
- build the extension in
DebugorRelease - install the built extension into SAMSON
- launch the correct SAMSON executable for testing or debugging
Start here#
Before you open one of the platform guides, make sure you already completed these steps:
- Install the SDK and verify that SAMSON Debug starts.
- Generate an extension project with the Extension Generator.
- Install the required compiler, CMake, and Qt version for your platform.
If any of those are still missing, go back to Installation first.
Choose your platform#
- Building a SAMSON Extension on Windows
- Building a SAMSON Extension on macOS
- Building a SAMSON Extension on Linux
What success looks like#
At the end of the platform-specific guide, you should be able to:
- open the root
CMakeLists.txtfor your extension workspace - build the
installtarget for bothDebugandRelease - launch the matching SAMSON executable from the IDE
- iterate on the code and regenerate the project after adding files or new extensions
Next steps#
- Use Developing GUI when your extension needs widgets or property windows.
- Use Publishing a SAMSON Extension when the built extension is ready to package and upload.