cmake: windows: add the jami-core to the project

Change-Id: Ieeeb8bbf3d032fb9595b6f76a49ab8027dad7d99
This commit is contained in:
Andreas Traczyk
2023-10-30 17:36:07 -04:00
parent 38e5d0967a
commit 3e17a9b247
4 changed files with 33 additions and 32 deletions

View File

@@ -190,13 +190,9 @@ def init_submodules():
"""Initialize any git submodules in the project."""
print("Initializing submodules...")
if execute_cmd(["git", "submodule", "update", "--init"], False):
if execute_cmd(["git", "submodule", "update", "--init", "--recursive"], False):
print("Submodule initialization error.")
else:
if execute_cmd(["git", "submodule", "update", "--recursive"], False):
print("Submodule recursive checkout error.")
else:
print("Submodule recursive checkout finished.")
sys.exit(1)
def build_deps():
@@ -269,7 +265,7 @@ def build(config_str, qt_dir, tests):
# We need to update the minimum SDK version to be able to
# build with system theme support
cmake_options = [
"-DWITH_DAEMON_SUBMODULE=ON",
"-DJAMICORE_AS_SUBDIR=ON",
"-DCMAKE_PREFIX_PATH=" + qt_dir,
"-DCMAKE_MSVCIDE_RUN_PATH=" + qt_dir + "\\bin",
"-DCMAKE_INSTALL_PREFIX=" + os.getcwd(),