# HG changeset patch # User Sebastien Jodogne # Date 1403097995 -7200 # Node ID 06b9a30f1e6dd879e0cc7a2583bfa0fb2ba78661 # Parent 5c255e465b33045038541177c806401aba5f80c6 fix path diff -r 5c255e465b33 -r 06b9a30f1e6d Plugins/Samples/Basic/CMakeLists.txt --- 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") diff -r 5c255e465b33 -r 06b9a30f1e6d Plugins/Samples/Basic/Plugin.c --- 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"); }