# vtk.module files with variable content

**URL:** https://discourse.paraview.org/t/vtk-module-files-with-variable-content/5066
**Category:** Development
**Created:** [August 10, 2020, 3:04pm UTC](https://discourse.paraview.org/t/vtk-module-files-with-variable-content/5066 "2020-08-10T15:04:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cobo](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@cobo](https://discourse.paraview.org/u/cobo)
#### Post date: [August 10, 2020, 3:04pm UTC](https://discourse.paraview.org/t/vtk-module-files-with-variable-content/5066/1 "2020-08-10T15:04:02Z")

</div>

vtk.module files are “kind of CMake code”, but so far I have not seen one that contains variables to be resolved in CMake style, like

```
NAME
  SomePrefix::${ModuleName}
LIBRARY_NAME
  ${ModuleName}
etc.

```

It it possible at all?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 10, 2020, 3:49pm UTC](https://discourse.paraview.org/t/vtk-module-files-with-variable-content/5066/2 "2020-08-10T15:49:38Z")

</div>

@ben.boeckel

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [August 10, 2020, 5:17pm UTC](https://discourse.paraview.org/t/vtk-module-files-with-variable-content/5066/3 "2020-08-10T17:17:57Z")

</div>

That is not possible. It is deliberately not regular cmake code to avoid developers from putting weird logic and dependencies that play foul with dependency resolution.
