if(NOT ENABLE_GUI)
  return()
endif()

if(NOT BUILD_ROKI_PLUGIN)
  return()
endif()

add_cnoid_simple_controller(Arm2dofController Arm2dofController.cpp)
configure_file(RokiArm2Dof.cnoid ${CNOID_SOURCE_SHARE_DIR}/project COPYONLY)
configure_file(arm_2dof.yaml ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
configure_file(arm_2dof.wrl ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
configure_file(arm_2dof.body ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
configure_file(RokiFallingBoxes.cnoid ${CNOID_SOURCE_SHARE_DIR}/project COPYONLY)
configure_file(RokiBreakWall.cnoid ${CNOID_SOURCE_SHARE_DIR}/project COPYONLY)
configure_file(breakWall.yaml ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
configure_file(breakWall.wrl ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
configure_file(breakWall.body ${CNOID_SOURCE_SHARE_DIR}/model/misc COPYONLY)
