Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/kernel.git]
/
src
/
UnitTests
/
CMakeLists.txt
diff --git
a/src/UnitTests/CMakeLists.txt
b/src/UnitTests/CMakeLists.txt
old mode 100755
(executable)
new mode 100644
(file)
index
b891402
..
c0f88ca
--- a/
src/UnitTests/CMakeLists.txt
+++ b/
src/UnitTests/CMakeLists.txt
@@
-1,4
+1,4
@@
-# Copyright (C) 2012-20
14 CEA/DEN, EDF R&D
, OPEN CASCADE
+# Copyright (C) 2012-20
23 CEA, EDF
, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-32,7
+32,8
@@
INCLUDE_DIRECTORIES(
# ===============================================================
# Executable scripts to be installed
# ===============================================================
# Executable scripts to be installed
-SALOME_INSTALL_SCRIPTS(UnitTests.py ${SALOME_INSTALL_SCRIPT_SCRIPTS})
+SET(LOCAL_TEST_DIR ${KERNEL_TEST_DIR}/UnitTests)
+INSTALL(PROGRAMS UnitTests.py DESTINATION ${LOCAL_TEST_DIR})
# ===============================================================
# Executables targets
# ===============================================================
# Executables targets
@@
-93,4
+94,8
@@
ENDIF()
ADD_EXECUTABLE(UnitTests UnitTests.cxx)
TARGET_LINK_LIBRARIES(UnitTests ${COMMON_LIBS})
ADD_EXECUTABLE(UnitTests UnitTests.cxx)
TARGET_LINK_LIBRARIES(UnitTests ${COMMON_LIBS})
-INSTALL(TARGETS UnitTests DESTINATION ${SALOME_INSTALL_BINS})
+INSTALL(TARGETS UnitTests DESTINATION ${LOCAL_TEST_DIR})
+
+INSTALL(FILES CTestTestfileInstall.cmake
+ DESTINATION ${LOCAL_TEST_DIR}
+ RENAME CTestTestfile.cmake)