mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +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'
|
self._generated_files[fname] = '\n'.join(lines) + '\n'
|
||||||
|
|
||||||
def _update_cmake_files(self) -> None:
|
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:
|
# Our regular cmake build.
|
||||||
fname = 'ballisticakit-cmake/CMakeLists.txt'
|
self.enqueue_update('ballisticakit-cmake/CMakeLists.txt')
|
||||||
if not self.public:
|
|
||||||
self.enqueue_update(fname)
|
|
||||||
|
|
||||||
# CMake android components:
|
# Our Android cmake build (Currently not included in public).
|
||||||
fname = (
|
fname = (
|
||||||
'ballisticakit-android/BallisticaKit/src/main/cpp/CMakeLists.txt'
|
'ballisticakit-android/BallisticaKit/src/main/cpp/CMakeLists.txt'
|
||||||
)
|
)
|
||||||
if not self.public:
|
if not self.public:
|
||||||
self.enqueue_update(fname)
|
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:
|
def _find_sources_and_headers(self, scan_dir: str) -> None:
|
||||||
src_files = set()
|
src_files = set()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user