Skip to content

Commit 63b713c

Browse files
committed
paraview-config: install the script
Fixes: #17881
1 parent d782457 commit 63b713c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CommandLineExecutables/CMakeLists.txt

+9
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ if (PARAVIEW_ENABLE_PYTHON)
4747
VTK::PythonInterpreter)
4848
endforeach ()
4949
endif ()
50+
51+
configure_file(
52+
"${CMAKE_CURRENT_SOURCE_DIR}/paraview-config"
53+
"${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}/paraview-config"
54+
COPYONLY)
55+
install(
56+
PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/paraview-config"
57+
DESTINATION "${CMAKE_INSTALL_BINDIR}"
58+
COMPONENT development)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# New paraview-config tool
2+
3+
* There is a new `paraview-config` executable for determining the flags
4+
required to use ParaView from a non-CMake build. It is written in Python and
5+
uses a CMake project to extract the flags.

0 commit comments

Comments
 (0)