ng. I would recommend to use
> absolute paths for the python interperter (there is a find_package module for
> the interpreter) and maybe also for your script. The custom command support a
> workingdirectory variable as far as i know.
>
> Hope that help you.
>
> Greeti
lp you.
>
> Greetings
> Tonka
>
>> Am 25.11.2016 um 10:04 schrieb Kit Chambers <kit.chambers...@gmail.com>:
>>
>> I have a Cmake custom target which runs a python script:
>>
>> add_custom_target(run
>>COMMAND python myscript.p
I have a Cmake custom target which runs a python script:
add_custom_target(run
COMMAND python myscript.py
)
And the script myscript.py imports a Compiled library
import myproj.mylilb
where mylib is actually a C++ library generated with python bindings