1
0
mirror of synced 2024-12-22 20:50:00 +01:00
This commit is contained in:
r3drock 2020-06-09 14:44:12 +00:00
parent f7b4f9ac29
commit dfc71dce33

View File

@ -21,7 +21,7 @@ endif()
## Running a command at build time
Build time commands are a bit tricker. The main complication comes from the target system; when do you want your command to run? Does it produce an output that another target needs? With this in mind, here is an example that calls a Python script to generate a header file:
Build time commands are a bit trickier. The main complication comes from the target system; when do you want your command to run? Does it produce an output that another target needs? With this in mind, here is an example that calls a Python script to generate a header file:
```cmake
find_package(PythonInterp REQUIRED)