In my haste to paste in an example I pasted the wrong file.
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "ci",
"displayName": "CI build",
"description": "Build configuration for GitLab.BlueQuartz.Net",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_MANIFEST_DIR": {
"type": "STRING",
"value": "${sourceDir}/"
},
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "tests;parallel;itk;ebsd"
},
"VCPKG_OVERLAY_TRIPLETS": {
"type": "PATH",
"value": "${sourceDir}/cmake/triplets"
},
"VCPKG_INSTALLED_DIR": {
"type": "STRING",
"value": "${sourceDir}/../vcpkg-installed-simpl"
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Release"
},
"BUILD_SHARED_LIBS": {
"type": "BOOL",
"value": "ON"
},
"DREAM3D_DATA_DIR": {
"type": "PATH",
"value": "${sourceDir}/../DREAM3D_Data"
},
"DREAM3D_EXTRA_PLUGINS":{
"type": "STRING",
"value": "ITKImageProcessing;SimulationIO;DREAM3DReview;UCSBUtilities"
},
"SIMPL_WRAP_PYTHON": {
"type": "BOOL",
"value": "OFF"
},
"SIMPL_ENABLE_ANACONDA_PACKAGE": {
"type": "BOOL",
"value": "OFF"
},
"ANACONDA_ENVIRONMENT_NAME": {
"type": "STRING",
"value": "dream3d"
},
"SIMPL_ENABLE_ANACONDA_LOCAL_INSTALL": {
"type": "BOOL",
"value": "ON"
},
"ANACONDA_DIR": {
"type": "PATH",
"value": "/opt/local/anaconda3"
},
"PYTHON_EXECUTABLE": {
"type": "PATH",
"value": "/opt/local/anaconda3/envs/dream3d/bin/python"
},
"MKDOCS_PYTHON_EXECUTABLE": {
"type": "PATH",
"value": "/opt/local/anaconda3/envs/dream3d/bin/python"
},
"MKDOCS_EXECUTABLE": {
"type": "PATH",
"value": "/opt/local/anaconda3/envs/dream3d/bin/mkdocs"
},
"MYPY_STUBGEN_EXE": {
"type": "PATH",
"value": "/opt/local/anaconda3/envs/dream3d/bin/stubgen"
},
"SIMPL_USE_QtWebEngine": {
"type": "BOOL",
"value": "OFF"
},
"SIMPL_BUILD_CLI_TOOLS": {
"type": "BOOL",
"value": "ON"
},
"SIMPL_BUILD_TESTING": {
"type": "BOOL",
"value": "ON"
},
"SIMPL_RELATIVE_PATH_CHECK": {
"type": "BOOL",
"value": "ON"
},
"SIMPL_USE_MKDOCS": {
"type": "BOOL",
"value": "ON"
},
"SIMPLView_USE_STYLESHEETEDITOR": {
"type": "BOOL",
"value": "OFF"
},
"SIMPLView_BUILD_DevHelper": {
"type": "BOOL",
"value": "OFF"
},
"SIMPLView_BUILD_CLI_TOOLS": {
"type": "BOOL",
"value": "ON"
},
"SIMPLView_BUILD_DOCUMENTATION": {
"type": "BOOL",
"value": "ON"
},
"DREAM3D_BUILD_VERSION_FILE": {
"type": "BOOL",
"value": "ON"
},
"DREAM3D_BUILD_TEST_FILTERS": {
"type": "BOOL",
"value": "ON"
},
"ITKImageProcessing_ENABLE_SCIFIO": {
"type": "BOOL",
"value": "OFF"
},
"BrandedSIMPLView_DIR": {
"type": "PATH",
"value": "${sourceDir}/../BrandedDREAM3D"
}
}
},
{
"name": "ci-windows-v142",
"displayName": "ci-windows-v142",
"description": "Build configuration for Azure DREAM3D NX CI",
"generator": "Ninja",
"inherits": "ci",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-v142"
},
"VCPKG_HOST_TRIPLET": {
"type": "STRING",
"value": "x64-windows-v142"
},
"Python3_EXECUTABLE": {
"type": "PATH",
"value": "C:/Applications/Anaconda3/envs/dream3d/python.exe"
},
"MKDOCS_EXECUTABLE": {
"type": "PATH",
"value": "C:/Applications/Anaconda3/envs/dream3d/Scripts/mkdocs.exe"
},
"VTK_DIR": {
"type": "PATH",
"value": "E:/NX_SDK_VS/VTK-9.2.6/lib/cmake/vtk-9.2"
},
"Qt6_DIR": {
"type": "PATH",
"value": "E:/NX_SDK/Qt/6.5.0/msvc2019_64/lib/cmake/Qt6"
}
},
"environment": {
"VCPKG_INSTALLATION_ROOT": "E:/AzureDevOps/vcpkg",
"VCPKG_BINARY_SOURCES": "files,E:/AzureDevOps/AppData,readwrite",
"APPDATA": "E:/AzureDevOps/AppData"
}
},
{
"name": "ci-windows-v143",
"displayName": "ci-windows-v143",
"description": "Build configuration for Azure DREAM3D NX CI",
"generator": "Visual Studio 17 2022",
"inherits": "ci",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-v143"
},
"VCPKG_HOST_TRIPLET": {
"type": "STRING",
"value": "x64-windows-v143"
},
"Python3_EXECUTABLE": {
"type": "PATH",
"value": "C:/Applications/Anaconda3/envs/dream3d/python.exe"
},
"MKDOCS_EXECUTABLE": {
"type": "PATH",
"value": "C:/Applications/Anaconda3/envs/dream3d/Scripts/mkdocs.exe"
},
"VTK_DIR": {
"type": "PATH",
"value": "E:/NX_SDK_VS/VTK-9.2.6/lib/cmake/vtk-9.2"
},
"Qt6_DIR": {
"type": "PATH",
"value": "E:/NX_SDK/Qt/6.5.0/msvc2019_64/lib/cmake/Qt6"
}
},
"environment": {
"VCPKG_INSTALLATION_ROOT": "E:/AzureDevOps/vcpkg",
"VCPKG_BINARY_SOURCES": "files,E:/AzureDevOps/AppData,readwrite",
"APPDATA": "E:/AzureDevOps/AppData"
}
}
],
"buildPresets": [
{
"name": "ci-windows-v142",
"displayName": "ci-windows-v142 Release build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-windows-v142",
"configuration": "Release"
},
{
"name": "ci-windows-v143",
"displayName": "ci-windows-v143 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-windows-v143",
"configuration": "Release"
},
{
"name": "ci-macos-x64",
"displayName": "ci-macos-x64 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-macos-x64",
"configuration": "Release"
},
{
"name": "ci-linux-x64",
"displayName": "ci-linux-x64 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-linux-x64",
"configuration": "Release"
}
],
"testPresets": [
{
"name": "ci-windows-v142",
"displayName": "ci-windows-v142 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-windows-v142",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-windows-v143",
"displayName": "ci-windows-v143 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-windows-v143",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-macos-x64",
"displayName": "ci-macos-x64 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-macos-x64",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-linux-x64",
"displayName": "ci-linux-x64 CI build",
"description": "Build configuration for Azure DREAM3D NX CI",
"configurePreset": "ci-linux-x64",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
}
]
}
And I get:
1006:[mjackson@octane:DREAM3D]% cmake --preset ci-windows-v142
CMake Error: Could not read presets from /Users/mjackson/DREAM3D-Dev/DREAM3D: Invalid "configurePreset" field