Commit f71d5f61 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: failed to link

parent 9507144e
#ifndef otbSomeFile_h #ifndef otbSomeFile_h
#define otbSomeFile_h #define otbSomeFile_h
#include "ExternalTemplateExport.h"
namespace otb { namespace otb {
ExternalTemplate_EXPORT
void ThisFunctionDoesNothing(); void ThisFunctionDoesNothing();
} }
......
...@@ -7,6 +7,7 @@ set(DOCUMENTATION "OTB module template.") ...@@ -7,6 +7,7 @@ set(DOCUMENTATION "OTB module template.")
# define the dependencies of the include module and the tests # define the dependencies of the include module and the tests
otb_module(ExternalTemplate otb_module(ExternalTemplate
ENABLE_SHARED
DEPENDS DEPENDS
OTBCommon OTBCommon
OTBApplicationEngine OTBApplicationEngine
......
#include <cstdlib> #include <cstdlib>
#include "otbSomeFile.h" #include "otbSomeFile.h"
int otbEmptyTest( int , char ** ) int otbEmptyTest( int , char * /*argv*/[])
{ {
otb::ThisFunctionDoesNothing(); otb::ThisFunctionDoesNothing();
return EXIT_SUCCESS; return EXIT_SUCCESS;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment