Mercurial > hg > orthanc
changeset 903:06b9a30f1e6d plugins
fix path
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Jun 2014 15:26:35 +0200 |
parents | 5c255e465b33 |
children | 2732b5f57d9c |
files | Plugins/Samples/Basic/CMakeLists.txt Plugins/Samples/Basic/Plugin.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Samples/Basic/CMakeLists.txt Wed Jun 18 15:23:32 2014 +0200 +++ b/Plugins/Samples/Basic/CMakeLists.txt Wed Jun 18 15:26:35 2014 +0200 @@ -7,7 +7,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror") endif() -include_directories(${CMAKE_SOURCE_DIR}/../../../../Plugins/OrthancCPlugin/) +include_directories(${CMAKE_SOURCE_DIR}/../../OrthancCPlugin/) add_library(PluginTest SHARED Plugin.c) if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
--- a/Plugins/Samples/Basic/Plugin.c Wed Jun 18 15:23:32 2014 +0200 +++ b/Plugins/Samples/Basic/Plugin.c Wed Jun 18 15:26:35 2014 +0200 @@ -92,7 +92,7 @@ char info[1024]; context = c; - OrthancPluginLogWarning(context, "Plugin is initializing"); + OrthancPluginLogWarning(context, "Sample plugin is initializing"); sprintf(info, "The version of Orthanc is '%s'", context->orthancVersion); OrthancPluginLogInfo(context, info); @@ -106,7 +106,7 @@ ORTHANC_PLUGINS_API void OrthancPluginFinalize() { - OrthancPluginLogWarning(context, "Plugin is finalizing"); + OrthancPluginLogWarning(context, "Sample plugin is finalizing"); }