diff options
author | Haruna <haru@dotalux.com> | 2014-05-30 03:31:14 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-05-30 03:31:14 +0200 |
commit | c3976d24500abc6084a4d96d60ae84c65302e3ae (patch) | |
tree | d3c9d26b2d7ba1a5ab124b0bdced0e05eb42e9ca /src/plugins | |
parent | a81f3869bf34deb99c21be65b1f384780045c401 (diff) | |
parent | 90e074b3d791b6df55ba62d1209c124233c4135b (diff) | |
download | hercules-c3976d24500abc6084a4d96d60ae84c65302e3ae.tar.gz hercules-c3976d24500abc6084a4d96d60ae84c65302e3ae.tar.bz2 hercules-c3976d24500abc6084a4d96d60ae84c65302e3ae.tar.xz hercules-c3976d24500abc6084a4d96d60ae84c65302e3ae.zip |
Merge pull request #285 from MrKeiKun/fix/remove_redundants
Removed redundants
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/CMakeLists.txt | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt deleted file mode 100644 index e3043a668..000000000 --- a/src/plugins/CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# -# setup -# -get_property( CAN_BUILD_SHARED_LIBS GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS ) -if( NOT CAN_BUILD_SHARED_LIBS ) - return() -endif() - -# -# sample -# -option( BUILD_PLUGIN_sample "build sample plugin" OFF ) -if( BUILD_PLUGIN_sample ) -message( STATUS "Creating target sample" ) -set( SAMPLE_SOURCES - "${CMAKE_CURRENT_SOURCE_DIR}/sample.c" - ) -set( LIBRARIES ${GLOBAL_LIBRARIES} ) -set( INCLUDE_DIRS ${GLOBAL_INCLUDE_DIRS} ) -set( DEFINITIONS ${GLOBAL_DEFINITIONS} ) -set( SOURCE_FILES ${SAMPLE_SOURCES} ) -source_group( sample FILES ${SAMPLE_SOURCES} ) -include_directories( ${INCLUDE_DIRS} ) -add_library( sample SHARED ${SOURCE_FILES} ) -target_link_libraries( sample ${LIBRARIES} ) -set_target_properties( sample PROPERTIES COMPILE_FLAGS "${DEFINITIONS}" ) -set_target_properties( sample PROPERTIES PREFIX "" ) -if( INSTALL_COMPONENT_RUNTIME ) - cpack_add_component( Runtime_sample DESCRIPTION "sample plugin" DISPLAY_NAME "sample" GROUP Runtime ) - install( TARGETS sample - DESTINATION "plugins" - COMPONENT Runtime_sample ) -endif( INSTALL_COMPONENT_RUNTIME ) -set( TARGET_LIST ${TARGET_LIST} sample CACHE INTERNAL "" ) -message( STATUS "Creating target sample - done" ) -endif( BUILD_PLUGIN_sample ) |