OpenCMISS / iron

Source code repository for OpenCMISS-Iron
9 stars 62 forks source link

Fix python module path for Linux-based tests #180

Closed sgenie68 closed 5 years ago

hsorby commented 5 years ago

This test should be used to detect for multi-config environments.

get_property(IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)

It should be quite high in the project so it is easily accessible to all parts of the build configuration.

The $<CONFIG> dir should also include the / as it can create some weirdness when ./ paths are added to paths ending in /.

sgenie68 commented 5 years ago

This variable sets native pythonpath only - which does not depend on the configuration. The second part of the properties sets libraries path - and that is configuration dependent.