conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add error handling to discovery module\n" }, { "from": "human", "value": "set(_DISCOVER_SCRIPT \"${CMAKE_CURRENT_LIST_DIR}/../Scripts/CppUTestBuildTimeDiscoverTests.cmake\")\n\n# Create target to discover tests\nfunction (cpputest_buildtime_discover_tests tgt)\n ad...
cmake
chosen
[ { "from": "system", "value": "Fix the version in the user guide.\n" }, { "from": "human", "value": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n This file contains all common entities.\n tnt.ent is built by cmake from tnt.ent.cmake.\n-->\n<!ENTITY tnt_version \"@TARANTOOL_VERSION@\...
cmake
chosen
[ { "from": "system", "value": "Add the CTK external library dirs to the link dirs.\n" }, { "from": "human", "value": "# message(\"In package CTK config\")\nfind_package(CTK REQUIRED)\nlist(APPEND ALL_INCLUDE_DIRECTORIES ${CTK_INCLUDE_DIRS})\nlist(APPEND ALL_LIBRARIES ${CTK_LIBRARIES})\nlink_direc...
cmake
chosen
[ { "from": "system", "value": "Add missing alias for installed builds\n" }, { "from": "human", "value": "include(CMakeFindDependencyMacro)\n\nfind_dependency(range-v3 0.10.0)\n\ninclude(${CMAKE_CURRENT_LIST_DIR}/jegp-targets.cmake)\n" }, { "from": "gpt", "value": "include(CMakeFindDep...
cmake
chosen
[ { "from": "system", "value": "Fix duplication of WARN_ONLY in test where WARN_ONLY is not required.\n" }, { "from": "human", "value": "# /test/CreateTargetForUnusedFunctionCheckWarnOnly.cmake\n# Adds some sources to the global unused function check properties and adds\n# checks to a newly create...
cmake
chosen
[ { "from": "system", "value": "FeatureTracker: Add support for 4k/12MP inputs\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"165ade1593...
cmake
chosen
[ { "from": "system", "value": "Split core functionality into a library.\n" }, { "from": "human", "value": "cmake_minimum_required(VERSION 2.4.6)\ninclude($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)\n\nfind_package(catkin REQUIRED COMPONENTS\n interactive_markers\n std_msgs\n visualizati...
cmake
chosen
[ { "from": "system", "value": "Add link to the bug\n" }, { "from": "human", "value": "# Copyright (c) 2015, Ruslan Baratov, Alexandre Pretyman\n# All rights reserved.\n\nif(DEFINED HUNTER_CMAKE_PROJECTS_QT_HUNTER_CMAKE)\n return()\nelse()\n set(HUNTER_CMAKE_PROJECTS_QT_HUNTER_CMAKE 1)\nendif()\...
cmake
chosen
[ { "from": "system", "value": "Add Karabiner-DriverKit-VirtualHIDDevice/include to header search path\n" }, { "from": "human", "value": "# Common configurations\n\nset(CMAKE_OSX_DEPLOYMENT_TARGET \"10.15\" CACHE STRING \"Minimum OS X deployment version\")\n\nset(CMAKE_CXX_STANDARD 17)\n\ninclude_...
cmake
chosen
[ { "from": "system", "value": "Refactor VTK_ADD_EXECUTABLE macro to build forwarding executables.\n\nOnly if VTK_BUILD_FORWARDING_EXECUTABLES is ON.\n\nChange-Id: Ie21825f6b44a8dc7a4767de941c2ae025f31446b\n" }, { "from": "human", "value": "if(NOT VTK_INSTALL_EXPORT_NAME)\n set(VTK_INSTALL_EXPORT...
cmake
chosen
[ { "from": "system", "value": "STYLE: Update IOSTL module for KWStyle test.\n\nAddresses __ in header guards.\n\nChange-Id: Iee45e8a9e3c6a9a019a1a8ba7130633b305c8edd\n" }, { "from": "human", "value": "# Contact: Luis Ibanez <luis.ibanez@kitware.com>\nitk_fetch_module(IOSTL\n \"This module contai...
cmake
chosen
[ { "from": "system", "value": "Switch back to staging repo for CDash\n" }, { "from": "human", "value": "## This file should be placed in the root directory of your project.\n## Then modify the CMakeLists.txt file in the root directory of your\n## project to incorporate the testing dashboard.\n##\...
cmake
chosen
[ { "from": "system", "value": "Revert removing saving test log to file\n" }, { "from": "human", "value": "macro(package_add_test TESTNAME)\n add_executable(${TESTNAME}.x ${ARGN})\n target_compile_options(${TESTNAME}.x PRIVATE -Wunused-parameter -Wall)\n target_link_libraries(${TESTNAME}....
cmake
chosen
[ { "from": "system", "value": "Fix pthread issue. Per target include directories.\n" }, { "from": "human", "value": "\n# gtest.\n\ninclude(ExternalProject)\n\nExternalProject_Add(gtest_ext\n SVN_REPOSITORY \"http://googletest.googlecode.com/svn/tags/release-1.7.0\"\n BINARY_DIR \"${...
cmake
chosen
[ { "from": "system", "value": "ctest: Update config file for new cdash board.\n" }, { "from": "human", "value": "set(UPDATE_TYPE \"true\")\n\nset(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp)\n\nset(CTEST_PROJECT_NAME \"libssh\")\nset(CTEST_NIGHTLY_START_TIME \"04:00:00 C...
cmake
chosen
[ { "from": "system", "value": "Set SimpleITK version to 2.0.0\n" }, { "from": "human", "value": "#\n# ONLY MODIFY TO CHANGE VERSION\n#\n# The number of commits since last this file has changed is used to\n# define \"dev\" and \"post\", modification of this file will reset that\n# version.\n#\n\n#...
cmake
chosen
[ { "from": "system", "value": "Make formatting of osx install script more consistent\n\n" }, { "from": "human", "value": "cmake_minimum_required(VERSION 2.8.3)\n\n# We want to explicitly symlink the newly installed app bundle\n# such that the icon and executable match up correctly.\nexecute_proce...
cmake
chosen
[ { "from": "system", "value": "Exclude data directory and meshes from submission archive.\n" }, { "from": "human", "value": "# for submission generation\nset (CPACK_GENERATOR \"\")\nset (CPACK_SOURCE_GENERATOR \"ZIP\")\nset (CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF)\nlist (APPEND CPACK_SOURCE_IGNORE_...
cmake
chosen
[ { "from": "system", "value": "Disable PhysFS tests. For some reason they tried to build by default on Mac.\n" }, { "from": "human", "value": "# Build a local version\r\nINCLUDE(ExternalProject)\r\n\r\nSET(physfs_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/physfs)\r\n\r\nSET(physfs_CMAKE_ARGS\r\n -DCMA...
cmake
chosen
[ { "from": "system", "value": "Update to point at new CDash.\n" }, { "from": "human", "value": "# Copyright 2006-2008 The FLWOR Foundation.\n# \n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtai...
cmake
chosen
[ { "from": "system", "value": "Change pkgconfig hiredis library search method" }, { "from": "human", "value": "find_package(PkgConfig)\nif (PKG_CONFIG_FOUND)\n pkg_search_module(SHARED_HIREDIS REQUIRED hiredis)\nendif()\n\nfind_path(HIREDIS_INCLUDE_DIR hiredis/hiredis.h\n HINTS ${SHARED_HIREDIS...
cmake
chosen
[ { "from": "system", "value": "Update msgpack-c package to doesn't compile examples and tests\n" }, { "from": "human", "value": "# !!! DO NOT PLACE HEADER GUARDS HERE !!!\n\ninclude(hunter_add_version)\ninclude(hunter_cacheable)\ninclude(hunter_download)\ninclude(hunter_pick_scheme)\n\nhunter_add...
cmake
chosen
[ { "from": "system", "value": "Fix build failures on platforms with a lib named aio\n\nSolaris have a library named libaio.so, which historically\nprovided the asynchronous IO functions aiocancel/read etc,\nbut all of this is now part of libc (and the library exists\nfor backwards compatibility). We need to ...
cmake
chosen
[ { "from": "system", "value": "Update FW with stereo LR-check, subpixel fixes; extended mode is not available\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI...
cmake
chosen
[ { "from": "system", "value": "Update FW: log warnings for unimplemented `initialControl` commands,\nchanges to shared\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\") \n\n# \"full commit hash of device side binary\"\n...
cmake
chosen
[ { "from": "system", "value": "Update FW: fix sporadic scaling issue or crash,\nwhen rectified streams are used for NN input\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\") \n\n# \"full commit hash of device side bina...
cmake
chosen
[ { "from": "system", "value": "Add support for Yolo v6 decoding\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \"snapshot\")\n\n# \"full commit hash of device side binary\"\nset(DEPTHAI_DEVICE_SIDE_COMMIT \"796eb3f58b24447286ee88ba...
cmake
chosen
[ { "from": "system", "value": "Use correct name in tests template documentation.\n" }, { "from": "human", "value": "\n# Set the test name, 'test_' will be prepended to the\n# name set here\nset(CURRENT_TEST <test-name>)\n# Set a category name to enable running commands like:\n# ctest -R <categ...
cmake
chosen
[ { "from": "system", "value": "COMP: Reduce the number of wrapped types to avoid the hierarchy gaps warnings\n" }, { "from": "human", "value": "WRAP_CLASS(\"itk::BinaryThresholdProjectionImageFilter\" POINTER_WITH_SUPERCLASS)\n WRAP_IMAGE_FILTER_SCALAR(2)\n\n # reduce the output dimension by 1,...
cmake
chosen
[ { "from": "system", "value": "BUG: Remove extra SplitComponent module dependency\n" }, { "from": "human", "value": "# Maintainer: Matt McCormick <matt.mccormick@kitware.com>\nset(DOCUMENTATION \"This module contains a filter to compute higher order\naccurate numerical derivatives and gradients f...
cmake
chosen
[ { "from": "system", "value": "Disable -Wdeprecated-declarations in cmake builds\n\nSummary:\n[Folly] Disable `-Wdeprecated-declarations` in cmake builds.\n\nTo hide deprecation spam in unit-tests for uses of deprecated declarations which cannot yet be removed.\n\nReviewed By: Orvid\n\nDifferential Revision:...
cmake
chosen
[ { "from": "system", "value": "Fix MSVC compiler version to one where all tests pass.\n" }, { "from": "human", "value": "message(\"Making build directory: ${CMAKE_CURRENT_SOURCE_DIR}/msvc/build\")\nfile(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/msvc)\nfile(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_D...
cmake
chosen
[ { "from": "system", "value": "Fix configure with Boost TPL installed from system package manager\n" }, { "from": "human", "value": "GLOBAL_SET(BoostOrg_INCLUDE_DIRS \"${Boost_INCLUDE_DIRS}\")\nGLOBAL_SET(BoostOrg_LIBRARY_DIRS \"${Boost_LIBRARY_DIRS}\")\n\nTRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRAR...
cmake
chosen
[ { "from": "system", "value": "Add a comment about BOOST_MANGLED_NAMESPACE\n" }, { "from": "human", "value": "set(cmakefiles_dir\n \"${sprokit_binary_dir}/CMakeFiles\")\n\nif (CMAKE_CROSSCOMPILING)\n set(BOOST_MANGLE_NAMESPACE \"boost\" CACHE STRING \"The mangled boost namespace\")\nelse ()\n ...
cmake
chosen
[ { "from": "system", "value": "Update FW: - support for camera modules with IMX380 sensor id,\nreusing IMX378 driver (some Arducam IMX577(?))\n- soft-reset the sensor before config, to fix streaming with some Arducam modules\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"rel...
cmake
chosen
[ { "from": "system", "value": "ENH: Update SphinxExamples to lastest master branch\n\nThis updates the support for ITKv5.0.0, update python to 3.6 support,\nupdates submodules to working hashes, updates documentation warnings,\nuses https vs http for websites that support it, and updates http addresses\nthat...
cmake
chosen
[ { "from": "system", "value": "Update FW - [ImageManip][bug fix][setCropRotatedRect] Adding a fix for the case when the center of the rectangle crop is very close to the image border\n" }, { "from": "human", "value": "# Maturity level \"snapshot\" / \"release\"\nset(DEPTHAI_DEVICE_SIDE_MATURITY \...
cmake
chosen
[ { "from": "system", "value": "ENH: Allow forcing of options without showing in cmake gui\n" }, { "from": "human", "value": "# Macro to provide an option only if a set of other variables are ON.\n# Example invocation:\n#\n# VTK_DEPENDENT_OPTION(USE_FOO \"Use Foo\" ON \"USE_BAR;USE_ZOT\" OFF)\n#\...
cmake
chosen
[ { "from": "system", "value": "Add check for boost version to set appropriate c++ standard.\n" }, { "from": "human", "value": "\n\nset(CMAKE_CXX_STANDARD 11 CACHE INTERNAL \"specifies the C++ standard whose features are requested to build this target\")\nset(CMAKE_CXX_STANDARD_REQUIRED ON)\nif (N...
cmake
chosen
[ { "from": "system", "value": "Update the SimpleITK_DIR version to the current SimpleITK version\n" }, { "from": "human", "value": "set(proj SimpleITKExamples)\n\n# Set dependency list\nset(SimpleITKExamples_DEPENDENCIES \"SimpleITK\")\n\nif (${BUILD_EXAMPLES} )\n\n file(WRITE \"${CMAKE_CURRENT_...
cmake
chosen
[ { "from": "system", "value": "Fix missing increment, causing infinite loop consuming all memory\n" }, { "from": "human", "value": "/*\n Copyright (C) 2012 Harald Sitter <sitter@kde.org>\n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the ...
cmake
chosen
[ { "from": "system", "value": "Make Boost a test required TPL in the Search subpackage rather than a lib required package\n" }, { "from": "human", "value": "TRIBITS_PACKAGE_DEFINE_DEPENDENCIES(\n LIB_REQUIRED_PACKAGES\n DataTransferKitUtils\n Intrepid2\n Kokkos\n Shards\n Teuchos\n Tpetra\...
cmake
chosen
[ { "from": "system", "value": "Add fast-math and neon flags on raspi\n" }, { "from": "human", "value": "otto_include_board(parts/ui/egl)\notto_include_board(parts/audio/rtaudio)\nset(OTTO_USE_FBCP ON)\n" }, { "from": "gpt", "value": "otto_include_board(parts/ui/egl)\notto_include_boar...
cmake
chosen
[ { "from": "system", "value": "Add Debian dependencies to cpack config\n" }, { "from": "human", "value": "SET(CPACK_DEBIAN_PACKAGE_MAINTAINER \"Andreas Grob <vilarion@illarion.org>\")\nset(CPACK_PACKAGE_VENDOR \"Illarion e.V.\")\nset(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})\nset(CPAC...
cmake
chosen
[ { "from": "system", "value": "Bring back missing symlink for yarn process.\n\nThis accidentally got removed during the last yarn upgrade.\n" }, { "from": "human", "value": "# NodeJS: For building admin-ui Ember app.\nExternalProject_Add(\n nodejs\n URL https://nodejs.org/dist/v${NODEJS_VERSION...
cmake
chosen
[ { "from": "system", "value": "Include the proper header file\n" }, { "from": "human", "value": "# Check for settings from VXL that are incompatible with flags.\n\nset(cmakefiles_dir\n \"${vistk_binary_dir}/CMakeFiles\")\n\nif (VISTK_ENABLE_PEDANTIC)\n if (CMAKE_CROSSCOMPILING)\n message(WAR...
cmake
chosen
[ { "from": "system", "value": "Upgrade C++ REST SDK from version 2.10.16 to 2.10.18\n" }, { "from": "human", "value": "set(proj cpprestsdk)\nset(proj_DEPENDENCIES Boost ZLIB)\n\nif(MITK_USE_${proj})\n set(${proj}_DEPENDS ${proj})\n\n if(DEFINED ${proj}_DIR AND NOT EXISTS ${${proj}_DIR})\n me...
cmake
chosen
[ { "from": "system", "value": "Use static linking for oss-fuzz\n" }, { "from": "human", "value": "find_path(MBEDTLS_INCLUDE_DIRS mbedtls/ssl.h HINTS ${MBEDTLS_FOLDER_INCLUDE})\n\nfind_library(MBEDTLS_LIBRARY mbedtls HINTS ${MBEDTLS_FOLDER_LIBRARY})\nfind_library(MBEDX509_LIBRARY mbedx509 HINTS ${...
cmake
chosen
[ { "from": "system", "value": "Fix link to download libdill.\n" }, { "from": "human", "value": "# !!! DO NOT PLACE HEADER GUARDS HERE !!!\n\ninclude(hunter_add_version)\ninclude(hunter_cacheable)\ninclude(hunter_cmake_args)\ninclude(hunter_download)\ninclude(hunter_pick_scheme)\n\nhunter_add_vers...
cmake
chosen
[ { "from": "system", "value": "Add newline at the end of *.cmake\n\n(except cmake-modules which we'll fix in its source repo)\n" }, { "from": "human", "value": "set(CMAKE_INSTALL_PREFIX $ENV{CMAKE_INSTALL_PREFIX})\ninclude(cmake_install.cmake)" }, { "from": "gpt", "value": "set(CMAKE_...
cmake
chosen
[ { "from": "system", "value": "Set PETSc language bindings to CXX for mac" }, { "from": "human", "value": "message(AUTHOR_WARNING \"TODO: Implement module test.\")\n\nfind_package(PETSc REQUIRED)\n" }, { "from": "gpt", "value": "message(AUTHOR_WARNING \"TODO: Implement module test.\")...
cmake
chosen
[ { "from": "system", "value": "Enable coverage also for release build\n" }, { "from": "human", "value": "# Set necessary compile and link flags\nif (\"${CMAKE_CXX_COMPILER_ID}\" MATCHES \"GNU\")\n set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11\")\n set(CMAKE_CXX_FLAGS_DEBUG \"${CMAKE_C...
cmake
chosen
[ { "from": "system", "value": "cmake: Drop test results via https.\n\nSigned-off-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@samba.org>\n" }, { "from": "human", "value": "set(UPDATE_TYPE \"true\")\n\nset(CTEST_PROJECT_NAME \"resolvwrapper\")\nset(CTEST_NIGHTLY_START_TIME \"01:...
cmake
chosen
[ { "from": "system", "value": "Revert \"Change an option to check process\"\n\nThis reverts commit 2ab1001ab1a28d80ea789fa0229d77478ea8a80e.\n" }, { "from": "human", "value": "#\n# Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)\n#\n# This file is part of Orfeo Toolbox\n#\n# ...
cmake
chosen
[ { "from": "system", "value": "RemoteModule: Update GIT_TAG for Mosaic module\n" }, { "from": "human", "value": "#Contact: Rémi Cresson <remi.cresson@teledetection.fr>\notb_fetch_module(Mosaic\n \"This module provides one application dedicated to images mosaicking\nA more detailed description ca...
cmake
chosen
[ { "from": "system", "value": "Fix CPack creating -qtX packages\n" }, { "from": "human", "value": "set(CPACK_PACKAGE_VENDOR \"Daniel Nicoletti\")\nset(CPACK_PACKAGE_DESCRIPTION_SUMMARY \"A Web Framework built on top of Qt, using the simple and elegant approach of Catalyst (Perl) framework.\")\nse...
cmake
chosen
[ { "from": "system", "value": "Botan: Remove useless whitespace from CMake code\n" }, { "from": "human", "value": "# Try to find the Botan library.\n#\n# Defines:\n#\n# BOTAN_FOUND - set if the system has the Botan library\n# BOTAN_LIBRARIES - the linker libraries needed to use the Botan librar...
cmake
chosen
[ { "from": "system", "value": "Fix missing dependency in ADD_BISON_SOURCE\n" }, { "from": "human", "value": "# Bison handling\n\nMACRO(FIND_BISON)\n\tIF(NOT BISON_EXECUTABLE)\n\t\tMESSAGE(\"-- Looking for bison executable\")\n\t\tFIND_PROGRAM(BISON_EXECUTABLE bison)\n\t\tIF(NOT BISON_EXECUTABLE)\...
cmake
chosen
[ { "from": "human", "value": "Add helper for finding XML2 library\n" }, { "from": "gpt", "value": "# Find the native XML2 includes and library\n#\n# XML2_INCLUDE_DIRS - where to find header files.\n# XML2_LIBRARIES - List of libraries.\n# XML2_FOUND - True if XML2 is found.\n\n\n# Find the includ...
cmake
chosen