# include <unistd.h>
#endif
-#ifdef WIN32
-#include <omnithread/pthread_nt.h>
-#endif
-
omni_mutex Logger::myLock;
SALOME_Logger::Logger_ptr KERNEL::getLoggerServantSA()
namespace KERNEL
{
- SALOME_Logger::Logger_ptr getLoggerServantSA();
+ LOGGER_EXPORT SALOME_Logger::Logger_ptr getLoggerServantSA();
}
class LOGGER_EXPORT Logger :
static std::string BuildComponentName(const char* hostname, const char* containerName, const char* componentName, const int nbproc);
};
-class SALOME_NamingService_Abstract_Decorator : public SALOME_NamingService_Abstract
+class NAMINGSERVICE_EXPORT SALOME_NamingService_Abstract_Decorator : public SALOME_NamingService_Abstract
{
public:
SALOME_NamingService_Abstract_Decorator(SALOME_NamingService_Container_Abstract *ns_cont):_ns_cont(ns_cont) { }
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${PTHREAD_DEFINITIONS})
ADD_LIBRARY(with_loggerTraceCollector SALOMETraceCollector.cxx TraceCollector_WaitForServerReadiness.cxx)
-TARGET_LINK_LIBRARIES(with_loggerTraceCollector ArgvKeeper SALOMELocalTrace OpUtil SalomeIDLKernel ${OMNIORB_LIBRARIES} ${PTHREAD_LIBRARIES})
+TARGET_LINK_LIBRARIES(with_loggerTraceCollector SalomeNS ArgvKeeper SALOMELocalTrace OpUtil SalomeIDLKernel ${OMNIORB_LIBRARIES} ${PTHREAD_LIBRARIES})
INSTALL(TARGETS with_loggerTraceCollector EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")