Commit a8bfe47a authored by Ben Boeckel's avatar Ben Boeckel
Browse files

PluginHowto: mention the language requirement

parent 401cc09f
......@@ -167,7 +167,7 @@ following code:
```cmake
# ParaView requires CMake 3.8 in order to be used.
cmake_minimum_required(VERSION 3.8)
project(myplugin)
project(myplugin C CXX)
find_package(ParaView REQUIRED)
```
......@@ -175,6 +175,11 @@ find_package(ParaView REQUIRED)
Where CMake will ask for the `ParaView_DIR` which you point to the ParaView
build or install tree you would to build your with.
Note that the `C` and `CXX` languages are required in general because ParaView
may need to find other packages which are written with only C in mind (MPI is
the usual culprit here) and need to know about the C compiler that is
available.
## Exposing an Existing Filter
Sometimes, the filter that one wants to add to ParaView is already available in
......
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