Documentation/Snapshot/Developers/Tutorials/ExtensionWriting

From Slicer Wiki
Revision as of 21:20, 9 April 2012 by JChris.FillionR (talk | contribs) (Created page with '= Introduction = An extension should be considered as a collection of modules. * How to create plug-ins for Slicer 4 = Additional…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < Snapshot < Developers < Tutorials < ExtensionWriting

Introduction

An extension should be considered as a collection of modules.

Additional C/CXX flags =

find_package(Slicer REQUIRED)

  1. Additional C/CXX flags - Should be defined before including Slicer_USE_FILE

set(ADDITIONAL_C_FLAGS "" CACHE STRING "Additional ${EXTENSION_NAME} C Flags") set(ADDITIONAL_CXX_FLAGS "" CACHE STRING "Additional ${EXTENSION_NAME} CXX Flags")

include(${Slicer_USE_FILE})


Editor Extensions