mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-30 11:13:17 +08:00
Now properly updating CMakeLists.txt in public repo.
This commit is contained in:
parent
e6fe16d1a7
commit
ae45d36289
@ -611,20 +611,19 @@ class ProjectUpdater:
|
||||
self._generated_files[fname] = '\n'.join(lines) + '\n'
|
||||
|
||||
def _update_cmake_files(self) -> None:
|
||||
# Note: currently not updating cmake files at all in public
|
||||
# builds; will need to get this working at some point.
|
||||
|
||||
# Top level cmake builds:
|
||||
fname = 'ballisticakit-cmake/CMakeLists.txt'
|
||||
if not self.public:
|
||||
self.enqueue_update(fname)
|
||||
# Our regular cmake build.
|
||||
self.enqueue_update('ballisticakit-cmake/CMakeLists.txt')
|
||||
|
||||
# CMake android components:
|
||||
# Our Android cmake build (Currently not included in public).
|
||||
fname = (
|
||||
'ballisticakit-android/BallisticaKit/src/main/cpp/CMakeLists.txt'
|
||||
)
|
||||
if not self.public:
|
||||
self.enqueue_update(fname)
|
||||
else:
|
||||
# So we don't forget to turn this on once added.
|
||||
assert not os.path.exists(fname)
|
||||
|
||||
def _find_sources_and_headers(self, scan_dir: str) -> None:
|
||||
src_files = set()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user