Does the “@” symbol have a special meaning when surrounding a CMake variable?

前端 未结 1 1834
小蘑菇
小蘑菇 2021-01-20 21:57

While looking through the ITK source code I\'ve come across a number of files like this, which have the suffix .cmake.in and which define a number of variables

相关标签:
1条回答
  • 2021-01-20 22:35

    Files with suffix .in are usually intended for configuration via command configure_file. All sequences @NAME@ within such files are translated to value of variable NAME.

    Outside of configure_file / string(CONFIGURE) symbol @ has no special meaning in CMake.

    0 讨论(0)
提交回复
热议问题