PROJECT(ctkPluginGenerator)

#
# See CTK/CMake/ctkMacroBuildApp.cmake for details
#

SET(KIT_SRCS
  ctkPluginGenerator.cpp
  ctkPluginGeneratorMain.cpp
  ctkPluginGeneratorOptionsDialog.cpp
)

# Headers that should run through moc
SET(KIT_MOC_SRCS
  ctkPluginGenerator_p.h
  ctkPluginGeneratorOptionsDialog_p.h
)

# UI files
SET(KIT_UI_FORMS
  ctkPluginGeneratorMainWindow.ui
  ctkPluginGeneratorOptionsDialog.ui
)

# Resources
SET(KIT_resources
  ctkPluginGenerator.qrc
)

# Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake
# The following macro will read the target libraries from the file 'target_libraries.cmake'
ctkMacroGetTargetLibraries(KIT_target_libraries)

ctkMacroBuildApp(
  NAME ${PROJECT_NAME}
  SRCS ${KIT_SRCS}
  MOC_SRCS ${KIT_MOC_SRCS}
  UI_FORMS ${KIT_UI_FORMS}
  TARGET_LIBRARIES ${KIT_target_libraries}
  RESOURCES ${KIT_resources}
  )

# Testing
IF(BUILD_TESTING)
#   ADD_SUBDIRECTORY(Testing)
ENDIF(BUILD_TESTING)
