As a follow up to the below I have noticed that the command that QtCreator is using to configure the project is the following:
Running /opt/local/cmake-3.25.3-macos-universal/CMake.app/Contents/bin/cmake -S /Users/mjackson/Workspace1/DREAM3DNX -B /Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64 -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=STRING -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64/.qtc/package-manager/auto-setup.cmake -DQT_QMAKE_EXECUTABLE:FILEPATH= -DCMAKE_PREFIX_PATH:PATH= -DCMAKE_C_COMPILER:FILEPATH= -DCMAKE_CXX_COMPILER:FILEPATH= -DBUILD_EXAMPLES:BOOL=BOOL -DCMAKE_MAKE_PROGRAM:FILEPATH=FILEPATH -DCMAKE_TOOLCHAIN_FILE:FILEPATH=FILEPATH -DCOMPLEX_BUILD_DOCS:BOOL=BOOL -DCOMPLEX_BUILD_PYTHON:BOOL=BOOL -DCOMPLEX_BUILD_TESTS:BOOL=BOOL -DDREAM3D_DATA_DIR:STRING=STRING -DDREAM3D_ENABLE_DOCUMENTATION:BOOL=BOOL -DMKDOCS_EXECUTABLE:PATH=PATH -DPython3_EXECUTABLE:PATH=PATH -DQt5_DIR:PATH=PATH -DVCPKG_INSTALLED_DIR:STRING=STRING -DVCPKG_MANIFEST_DIR:STRING=STRING -DVCPKG_MANIFEST_FEATURES:STRING=STRING -DVCPKG_MANIFEST_INSTALL:BOOL=BOOL -DVCPKG_TARGET_TRIPLET:STRING=STRING -DVTK_DIR:PATH=PATH in /Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64.``` I feel like those “BOOL=BOOL” and “PATH=PATH” should be BOOL=TRUE and PATH=/opt/local/foo/bar? And How do I convince QtCreator that it doesn’t need: -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64/.qtc/package-manager/auto-setup.cmake Anyways, here is the output from trying to configure my build; Running /opt/local/cmake-3.25.3-macos-universal/CMake.app/Contents/bin/cmake -S /Users/mjackson/Workspace1/DREAM3DNX -B /Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64 -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=STRING -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64/.qtc/package-manager/auto-setup.cmake -DQT_QMAKE_EXECUTABLE:FILEPATH= -DCMAKE_PREFIX_PATH:PATH= -DCMAKE_C_COMPILER:FILEPATH= -DCMAKE_CXX_COMPILER:FILEPATH= -DBUILD_EXAMPLES:BOOL=BOOL -DCMAKE_MAKE_PROGRAM:FILEPATH=FILEPATH -DCMAKE_TOOLCHAIN_FILE:FILEPATH=FILEPATH -DCOMPLEX_BUILD_DOCS:BOOL=BOOL -DCOMPLEX_BUILD_PYTHON:BOOL=BOOL -DCOMPLEX_BUILD_TESTS:BOOL=BOOL -DDREAM3D_DATA_DIR:STRING=STRING -DDREAM3D_ENABLE_DOCUMENTATION:BOOL=BOOL -DMKDOCS_EXECUTABLE:PATH=PATH -DPython3_EXECUTABLE:PATH=PATH -DQt5_DIR:PATH=PATH -DVCPKG_INSTALLED_DIR:STRING=STRING -DVCPKG_MANIFEST_DIR:STRING=STRING -DVCPKG_MANIFEST_FEATURES:STRING=STRING -DVCPKG_MANIFEST_INSTALL:BOOL=BOOL -DVCPKG_TARGET_TRIPLET:STRING=STRING -DVTK_DIR:PATH=PATH in /Users/mjackson/Workspace1/DREAM3D-Build/DREAM3DNX-Release-x64. CMake Error at /opt/local/cmake-3.25.3-macos-universal/CMake.app/Contents/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:130 (message): Could not find toolchain file: FILEPATH Call Stack (most recent call first): CMakeLists.txt:68 (project) CMake Error at CMakeLists.txt:68 (project): Running 'FILEPATH' '--version' failed with: No such file or directory -- Configuring incomplete, errors occurred! CMake process exited with exit code 1. Elapsed time: 00:00.``` — Mike Jackson On Apr 3, 2023 at 15:57:54, Michael Jackson <mike.jack...@bluequartz.net> wrote: > Is QtCreator 10’s use of CMakePresets the “configure” preset or > the “build” preset? I can’t really figure it out? Is it using the display > name or the “name” in the preset? Does it honor the “inherits” property of > a preset? > > And when I rename the presets (in an attempt to make the preset more > obvious) how do I inform QtCreator that those names have changed? At the > moment I am blowing away all the build directories and the > CMakelists.txt.user file and re-opening the project. Is there a better way? > — > Mike Jackson >
-- Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator