Skip to content
Permalink
Browse files

Remove the existing offline plugins documentation

  • Loading branch information...
dmitrio95 committed Mar 22, 2019
1 parent 3cfde39 commit d601f8f0e60dd1a8ab52802c66e68fc4cf95cd20
Showing with 24 additions and 524 deletions.
  1. +2 −8 CMakeLists.txt
  2. +6 −52 manual/CMakeLists.txt
  3. +0 −20 manual/README
  4. +0 −443 manual/genManual.cpp
  5. BIN manual/mscore.png
  6. +15 −0 manual/plugins3.html
  7. +1 −1 mscore/plugin/pluginCreator.cpp
@@ -236,6 +236,7 @@ if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC -stdlib=libc++ -Wno-inconsistent-missing-override")
# This is necessary for genManual to be executed during the build phase,
# it needs to be able to get the Qt libs.
# TODO: is it still needed? genManual is removed.
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
SET(CMAKE_INSTALL_RPATH "${QT_INSTALL_LIBS}")
else (APPLE)
@@ -899,14 +900,7 @@ add_custom_target(lrelease
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
)

##
## Create and install the plugin framework manual
##

add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/plugins
COMMAND genManual ${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR}
DEPENDS genManual
)
add_dependencies(mscore pluginDocumentation)


##
@@ -10,62 +10,16 @@
# the file LICENSE.GPL
#=============================================================================

include (${PROJECT_SOURCE_DIR}/build/CopyFilesMacros.cmake)
include (${PROJECT_SOURCE_DIR}/build/functions.cmake)

include_directories(
${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_executable(
genManual
${INCS}
genManual.cpp
)
target_link_libraries(
genManual
${QT_LIBRARIES}
)
set(MANUAL_DEST "${PROJECT_BINARY_DIR}/share/manual/plugins/plugins3.html")

if(APPLE)
set_target_properties (
genManual
PROPERTIES
COMPILE_FLAGS "-include all.h -D TESTROOT=\\\\\"${PROJECT_SOURCE_DIR}\\\\\" -g -Wall -Wextra"
fn__copy_during_build(
"${CMAKE_CURRENT_SOURCE_DIR}/plugins3.html"
"${MANUAL_DEST}"
)
else(APPLE)
if (NOT MSVC)
set_target_properties (
genManual
PROPERTIES
COMPILE_FLAGS "-include all.h -D TESTROOT=\\\"${PROJECT_SOURCE_DIR}\\\" -g -Wall -Wextra"
)
else (NOT MSVC)
set_target_properties (
genManual
PROPERTIES
COMPILE_FLAGS "${PCH_INCLUDE} -D TESTROOT=\\\"${PROJECT_SOURCE_DIR}\\\""
)

endif (NOT MSVC)
endif(APPLE)

if(NOT MSVC)
ADD_DEPENDENCIES(genManual mops1)
endif(NOT MSVC)

add_custom_target(pluginDocumentation
ALL
DEPENDS genManual
)

add_custom_command(TARGET pluginDocumentation
POST_BUILD
COMMAND ${PROJECT_BINARY_DIR}/manual/${CMAKE_CFG_INTDIR}/genManual ${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR}/share/manual
DEPENDS "${MANUAL_DEST}"
)

This file was deleted.

0 comments on commit d601f8f

Please sign in to comment.
You can’t perform that action at this time.