-# Copyright (C) 2017 CEA/DEN, EDF R&D
+# Copyright (C) 2017-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
PROJECT(RemoteFileBrowser CXX)
-CMAKE_POLICY(SET CMP0003 NEW)
-
SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake files")
IF(EXISTS ${CONFIGURATION_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
- INCLUDE(SalomeMacros)
+ INCLUDE(SalomeMacros NO_POLICY_SCOPE)
ELSE()
MESSAGE(FATAL_ERROR "We absolutely need the Salome CMake configuration files, please define CONFIGURATION_ROOT_DIR !")
ENDIF()
INCLUDE(SalomeSetupPlatform)
SET(BUILD_SHARED_LIBS TRUE)
-INCLUDE(SalomeMacros)
FIND_PACKAGE(SalomeQt5 REQUIRED)
INCLUDE(UseQtExt)
INCLUDE_DIRECTORIES(
)
SET(qremotefilebrowser_HEADERS
- QRemoteFileBrowser
- QRemoteCopyWidget
- QMachineBrowser
+ QRemoteFileBrowser.h
+ QRemoteCopyWidget.h
+ QMachineBrowser.h
+ RemoteFileBrowser.h
)
SET(qremotefilebrowser_LIBRARIES
)
SET(_moc_HEADERS
- QRemoteFileBrowser
- QMachineBrowser
- QRemoteCopyWidget
+ QRemoteFileBrowser.h
+ QMachineBrowser.h
+ QRemoteCopyWidget.h
)
# sources / moc wrappings