Commit Graph

4 Commits

Author SHA1 Message Date
Sam Edwards
fd94a33c56 CMake: When compiling Python to .pyc, optimize with -O
Distros seem to prefer having opt-1 Python modules and don't care
as much about the opt-2.
2020-01-07 11:34:34 -07:00
Sam Edwards
fc54251f61 CMake: Fix PandaModules.py not copying 2019-08-23 20:35:50 -06:00
Sam Edwards
d3ef7bf12d CMake: Avoid using continue()
This is, sadly, not added until CMake 3.4.

This commit avoids continue() by restructuring the loops so
that the conditions previously being used for continue() are
no longer needed. The alternative would've been to encase the
loop bodies massive ifs, but I find that to be a poor choice
for readability.
2019-06-25 03:34:51 -06:00
Sam Edwards
49865c103a CMake: Modify install_python_package() so it keeps the build-dir copy up-to-date too 2019-05-01 23:44:47 -06:00