CMakeLists.txt 543 B

12345678910111213141516171819
  1. # CloudCompare example for standard plugins
  2. # REPLACE ALL 'ExamplePlugin' OCCURENCES BY YOUR PLUGIN NAME
  3. # AND ADAPT THE CODE BELOW TO YOUR OWN NEEDS!
  4. # Add an option to CMake to control whether we build this plugin or not
  5. option( PLUGIN_EXAMPLE_STANDARD "Install example plugin" OFF )
  6. if ( PLUGIN_EXAMPLE_STANDARD )
  7. project( ExamplePlugin )
  8. AddPlugin( NAME ${PROJECT_NAME} )
  9. add_subdirectory( include )
  10. add_subdirectory( src )
  11. # set dependencies to necessary libraries
  12. # target_link_libraries( ${PROJECT_NAME} LIB1 )
  13. endif()