Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Use cmake included function instead of cotire
include(cotire) function(GEN_CXX_PCH TARGET_LIST PCH_HEADERS) # iterate through targets foreach(TARGET_HEADER ${TARGET_LIST}) # unity builds disabled set_target_properties(${TARGET_HEADER} PROPERTIES COTIRE_ADD_UNITY_BUILD OFF) # prefix header set_target_properties(${TARGET_HEADER} PROPERTIES COTI...
function(GEN_CXX_PCH TARGET_LIST PCH_HEADERS) foreach(TARGET_HEADER ${TARGET_LIST}) target_precompile_headers(${TARGET_HEADER} PRIVATE ${PCH_HEADERS}) endforeach() endfunction(GEN_CXX_PCH)
Fix include of sdkconfig fragment.
set(SDKCONFIG_DEFAULTS boards/sdkconfig.base boards/sdkconfig.ble boards/sdkconfig.240mhz boards/sdkconfig.spiram boards/TINYPICO/sdkconfig.board ) if(NOT MICROPY_FROZEN_MANIFEST) set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) endif()
set(SDKCONFIG_DEFAULTS boards/sdkconfig.base boards/sdkconfig.ble boards/sdkconfig.240mhz boards/sdkconfig.spiram boards/UM_TINYPICO/sdkconfig.board ) if(NOT MICROPY_FROZEN_MANIFEST) set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) endif()
Use https to drop results.
set(UPDATE_TYPE "true") set(CTEST_PROJECT_NAME "cmocka") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "mock.cryptomilk.org") set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}") set(CTEST_DROP_SITE_CDASH TRUE)
set(UPDATE_TYPE "true") set(CTEST_PROJECT_NAME "cmocka") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "https") set(CTEST_DROP_SITE "mock.cryptomilk.org") set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}") set(CTEST_DROP_SITE_CDASH TRUE)
Add an option for the analyze flag for MSVC
option(SPROKIT_ENABLE_DLLHELL_WARNINGS "Enables warnings about DLL visibility" OFF) if (NOT SPROKIT_ENABLE_DLLHELL_WARNINGS) # C4251: STL interface warnings sprokit_check_compiler_flag(sprokit_warnings /wd4251) # C4275: Inheritance warnings sprokit_check_compiler_flag(sprokit_warnings /wd4275) endif () sprokit...
option(SPROKIT_ENABLE_DLLHELL_WARNINGS "Enables warnings about DLL visibility" OFF) if (NOT SPROKIT_ENABLE_DLLHELL_WARNINGS) # C4251: STL interface warnings sprokit_check_compiler_flag(sprokit_warnings /wd4251) # C4275: Inheritance warnings sprokit_check_compiler_flag(sprokit_warnings /wd4275) endif () option(...
Add a better test for OpenMP 3
find_package(OpenMP) if (OPENMP_FOUND) set(CMAKE_REQUIRED_FLAGS ${OpenMP_CXX_FLAGS}) set(mybody "#include <omp.h> int main() { #pragma omp taskwait return 0; }") check_cxx_source_compiles("${mybody}" OpenMP3) set(CMAKE_REQUIRED_FLAGS ) if ("${OpenMP3}" MATCHES "1") message(STATUS "OpenMP 3 is supported a...
find_package(OpenMP) if (OPENMP_FOUND) set(CMAKE_REQUIRED_FLAGS ${OpenMP_CXX_FLAGS}) set(mybody "#include <omp.h> int main() { omp_sched_t kind; int chunk_size; omp_get_schedule(&kind, &chunk_size); return chunk_size; }") check_cxx_source_compiles("${mybody}" OpenMP3) set(CMAKE_REQUIRED_FLAGS ) if ("${OpenMP...
Update SmoothingRecursiveYvvGaussianFilter to fix CMake warning
#Contact: I. Vidal-Migallon <irina.vidal-migallon@inria.fr> itk_fetch_module(SmoothingRecursiveYvvGaussianFilter "GPU and CPU Young & Van Vliet Recursive Gaussian Smoothing Filter: http://hdl.handle.net/10380/3425" GIT_REPOSITORY https://github.com/Inria-Asclepios/SmoothingRecursiveYvvGaussianFilter GIT_TAG 0cc63...
#Contact: I. Vidal-Migallon <irina.vidal-migallon@inria.fr> itk_fetch_module(SmoothingRecursiveYvvGaussianFilter "GPU and CPU Young & Van Vliet Recursive Gaussian Smoothing Filter: http://hdl.handle.net/10380/3425" GIT_REPOSITORY https://github.com/Inria-Asclepios/SmoothingRecursiveYvvGaussianFilter GIT_TAG d66cc...
Disable MSVC warnings for C code as well as C++
if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}") elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") set(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}") if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR USE_LIBCPP) find_library(LIBCPP NAMES libc++.so libc++.so.1.0 libc++.dylib OPTIONAL) if...
if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}") elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") set(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}") if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR USE_LIBCPP) find_library(LIBCPP NAMES libc++.so libc++.so.1.0 libc++.dylib OPTIONAL) if...
Fix check for found valac and mention VALAC variable
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de> find_program(VALA_EXECUTABLE NAMES $ENV{VALAC} valac) if (NOT VALA_NOTFOUND) execute_process(COMMAND ${VALA_EXECUTABLE} "--version" OUTPUT_VARIABLE "VALA_VERSION") string(REPLACE "Vala " "" VALA_VERSION ${VALA_VERSION}) string(STRIP ${VALA_VERSI...
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de> find_program(VALA_EXECUTABLE NAMES $ENV{VALAC} valac) if (VALA_EXECUTABLE) execute_process(COMMAND ${VALA_EXECUTABLE} "--version" OUTPUT_VARIABLE "VALA_VERSION") string(REPLACE "Vala " "" VALA_VERSION ${VALA_VERSION}) string(STRIP ${VALA_VERSION...
Revert "qemu_x86: use icount for 32-bit"
# SPDX-License-Identifier: Apache-2.0 set(EMU_PLATFORM qemu) if(NOT CONFIG_REBOOT) set(REBOOT_FLAG -no-reboot) endif() if(CONFIG_X86_64) set(QEMU_binary_suffix x86_64) set(QEMU_CPU_TYPE_${ARCH} qemu64,+x2apic) else() set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae) set(ICOUNT_ARG -icount shift=5,align=off,sleep=...
# SPDX-License-Identifier: Apache-2.0 set(EMU_PLATFORM qemu) if(NOT CONFIG_REBOOT) set(REBOOT_FLAG -no-reboot) endif() if(CONFIG_X86_64) set(QEMU_binary_suffix x86_64) set(QEMU_CPU_TYPE_${ARCH} qemu64,+x2apic) else() set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae) endif() set(QEMU_FLAGS_${ARCH} -m 9 -cpu ${Q...
Define LINUX before inclusions if they'd need it
include(compilation) if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(LINUX 1) endif()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(LINUX 1) endif() include(compilation)
Add libdir, includedir, and drvdir definitions. Change over to "@ONLY" form.
Name: PLplot ${PC_SHORT_NAME} Description: Scientific plotting library (${PC_LONG_NAME}, ${PC_PRECISION} precision) Requires: ${PC_REQUIRES} Version: ${VERSION} Libs: ${PC_LINK_FLAGS} Cflags: ${PC_COMPILE_FLAGS}
libdir=@LIB_DIR@ includedir=@INCLUDE_DIR@ drvdir=@LIB_DIR@/plplot@VERSION@/drivers@LIB_TAG@ Name: PLplot @PC_SHORT_NAME@ Description: Scientific plotting library (@PC_LONG_NAME@@PC_PRECISION@ precision) Requires: @PC_REQUIRES@ Version: @VERSION@ Libs: -L${libdir} @PC_LINK_FLAGS@ Cflags: -I${includedir} @PC_COMPILE_FLA...
Add whitespace in dependencies file. .
# Copyright (c) <year> <author> (<email>) # Distributed under the MIT License. # See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT # Include script to build external libraries with CMake. include(ExternalProject) # ------------------------------- # Catch: https://github.com/philsquared/C...
# Copyright (c) <year> <author> (<email>) # Distributed under the MIT License. # See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT # Include script to build external libraries with CMake. include(ExternalProject) # ------------------------------- # Catch: https://github.com/philsquared/C...
Update FW with usb2 patch
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "b8541a692c4bad67884849905a328229114504e8") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "d83f43039de57e658f83813ebbf51290a2d54a71") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Make Boost a TEST_OPTIONAL_TPLS in Search package
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( LIB_REQUIRED_PACKAGES DataTransferKitUtils Kokkos Teuchos Tpetra TEST_REQUIRED_TPLS Boost )
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( LIB_REQUIRED_PACKAGES DataTransferKitUtils Kokkos Teuchos Tpetra TEST_OPTIONAL_TPLS BoostOrg )
Update SCIFIO to latest version on 10/25/2016
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY ${git_protocol}://github.com/scifio/scifio-imageio.git GIT_TAG eb391a74e77b161e0f070539237193528c628f7b )
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY ${git_protocol}://github.com/scifio/scifio-imageio.git GIT_TAG 0af019131839807d963c41641df86702b091816a )
Fix CI build (not matching bootloader-shared commits)
# Maturity level "snapshot" / "release" set(DEPTHAI_BOOTLOADER_MATURITY "release") #set(DEPTHAI_BOOTLOADER_MATURITY "snapshot") # "version if applicable" set(DEPTHAI_BOOTLOADER_VERSION "0.0.17") #set(DEPTHAI_BOOTLOADER_VERSION "870bec4ca0ef026ddb9c490a38dfe9d097614554")
# Maturity level "snapshot" / "release" #set(DEPTHAI_BOOTLOADER_MATURITY "release") set(DEPTHAI_BOOTLOADER_MATURITY "snapshot") # "version if applicable" #set(DEPTHAI_BOOTLOADER_VERSION "0.0.15") set(DEPTHAI_BOOTLOADER_VERSION "bb9e4c86ce3c22da0aeb92dc18c8b28458bed4af")
Swap ACCELEROMETER_RAW x and y axis to match ACCELEROMETER
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "c429e4118c1b806c00440398cea96ae27603abc4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "1d6fe578d91ff098c30f35a2f6663b55b9b845db") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW with latest improvements
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "b95b1375ccdccdb233ed4463a74abe3ad62241a3") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "3bb469fa08b7b0abc4353cd27219521dfd763a9d") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Disable DESTDIR when moving the headers in the build area (fixes ROOT-6803)
# Arguments: # PREFIX - Installation prefix # COMPONENTS - Installation component set(COMPONENTS ${COMPONENTS}) foreach(component ${COMPONENTS}) execute_process( COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_INSTALL_COMPONENT=${component} ...
# Arguments: # PREFIX - Installation prefix # COMPONENTS - Installation component set(COMPONENTS ${COMPONENTS}) set(ENV{DESTDIR} "") foreach(component ${COMPONENTS}) execute_process( COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_INSTALL_COMPONENT=${component}...
Determine MSVC host triple correctly when cross-compiling
# Returns the host triple. # Invokes config.guess function( get_host_triple var ) if( MSVC ) if( CMAKE_CL_64 ) set( value "x86_64-pc-win32" ) else() set( value "i686-pc-win32" ) endif() elseif( MINGW AND NOT MSYS ) if( CMAKE_SIZEOF_VOID_P EQUAL 8 ) set( value "x86_64-w64-mingw32" ...
# Returns the host triple. # Invokes config.guess function( get_host_triple var ) if( MSVC ) if( CMAKE_SIZEOF_VOID_P EQUAL 8 ) set( value "x86_64-pc-win32" ) else() set( value "i686-pc-win32" ) endif() elseif( MINGW AND NOT MSYS ) if( CMAKE_SIZEOF_VOID_P EQUAL 8 ) set( value "x86_...
Fix path to eigen during superbuild
add_external_project(veloview DEPENDS paraview qt pcap boost eigen liblas CMAKE_ARGS -DBUILD_SHARED_LIBS:BOOL=ON -DParaView_DIR:PATH=${SuperBuild_BINARY_DIR}/paraview/src/paraview-build -DEIGEN_INCLUDE_DIR:PATH=<INSTALL_DIR>/eigen -DPYTHONQT_DIR:PATH=<INSTALL_DIR> )
add_external_project(veloview DEPENDS paraview qt pcap boost eigen liblas CMAKE_ARGS -DBUILD_SHARED_LIBS:BOOL=ON -DParaView_DIR:PATH=${SuperBuild_BINARY_DIR}/paraview/src/paraview-build -DEIGEN_INCLUDE_DIR:PATH=<INSTALL_DIR>/include/eigen3 -DPYTHONQT_DIR:PATH=<INSTALL_DIR> )
Boost filesystem v3 are supported starting 1.44 only
# Find and set Boost flags if(NOT PCL_SHARED_LIBS) set(Boost_USE_STATIC_LIBS ON) endif(NOT PCL_SHARED_LIBS) find_package(Boost 1.36.0 COMPONENTS system filesystem thread) # TODO: What should the minimum version number be? include_directories(${Boost_INCLUDE_DIRS}) link_directories(${Boost_LIBRARY_DIRS})
# Find and set Boost flags if(NOT PCL_SHARED_LIBS) set(Boost_USE_STATIC_LIBS ON) endif(NOT PCL_SHARED_LIBS) find_package(Boost 1.44.0 COMPONENTS system filesystem thread) # TODO: What should the minimum version number be? include_directories(${Boost_INCLUDE_DIRS}) link_directories(${Boost_LIBRARY_DIRS})
Remove redundant wording in module description linking
set(DOCUMENTATION "This module contains filters that implement variations of anisotropic smoothing. This is an image denoising technique that strives for preserving edges on the images while smoothing regions of uniform intensity. This type of filtering is convenient as a preprocessing stage of segmentation algorithms....
set(DOCUMENTATION "This module contains filters that implement variations of anisotropic smoothing. This is an image denoising technique that strives for preserving edges on the images while smoothing regions of uniform intensity. This type of filtering is convenient as a preprocessing stage of segmentation algorithms....
Remove armasm workaround for Cortex M55
# Copyright (c) 2021 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Sets cpu core options if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM") list(APPEND common_options "-mthumb" "-mfpu=fpv5-sp-d16" "-mfloat-abi=softfp" "-mcpu=cortex-m55" ) elseif(${MBED_TOOLCHAI...
# Copyright (c) 2021 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Sets cpu core options if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM") list(APPEND common_options "-mthumb" "-mfpu=fpv5-sp-d16" "-mfloat-abi=softfp" "-mcpu=cortex-m55" ) elseif(${MBED_TOOLCHAI...
Change App name on Windows.
include(velodyneviewer.bundle.common) #------------------------------------------------------------------------------ # set NSIS install specific stuff. set (CPACK_NSIS_MENU_LINKS "bin/VelodyneViewer.exe" "VelodyneViewer") install(DIRECTORY "${install_location}/bin/" DESTINATION "bin" COM...
include(velodyneviewer.bundle.common) #------------------------------------------------------------------------------ # set NSIS install specific stuff. set (CPACK_NSIS_MENU_LINKS "bin/VeloView.exe" "VeloView") install(DIRECTORY "${install_location}/bin/" DESTINATION "bin" COMPONENT "Velo...
Set PYBIND11_PYTHON_VERSION to 3.6 for Linux
set(tomviz_extra_cmake_args) if (UNIX AND NOT APPLE) list(APPEND tomviz_extra_cmake_args -DCMAKE_INSTALL_RPATH:STRING=$ORIGIN/../lib:$ORIGIN/../lib/paraview:$ORIGIN/../lib/itk ) endif() if (QT_HELP_GENERATOR) list(APPEND tomviz_extra_cmake_args -DQT_HELP_GENERATOR:FILEPATH=${QT_HELP_GENERATOR}) endif() if...
set(tomviz_extra_cmake_args) if (UNIX AND NOT APPLE) list(APPEND tomviz_extra_cmake_args -DCMAKE_INSTALL_RPATH:STRING=$ORIGIN/../lib:$ORIGIN/../lib/paraview:$ORIGIN/../lib/itk ) endif() if (QT_HELP_GENERATOR) list(APPEND tomviz_extra_cmake_args -DQT_HELP_GENERATOR:FILEPATH=${QT_HELP_GENERATOR}) endif() if...
Add example to find library dependencies to configure script
# This config script tries to locate the project either in its source tree # or from an install location. # # Please adjust the list of submodules to search for. # List of modules set(MODULE_NAMES baselib fiblib ) # Macro to search for a specific module macro(find_module FILENAME) if(EXISTS "${FILENAM...
# This config script tries to locate the project either in its source tree # or from an install location. # # Please adjust the list of submodules to search for. # Find depencencies include(CMakeFindDependencyMacro) #find_dependency(glm) # List of modules set(MODULE_NAMES baselib fiblib ) # Macro to sea...
Use earlier FetchContent pattern to support earlier cmake version
# FLTK library cmake_minimum_required(VERSION 3.14 FATAL_ERROR) include(FetchContent) FetchContent_Declare( fltk GIT_REPOSITORY "https://github.com/fltk/fltk" ) FetchContent_MakeAvailable( fltk)
# FLTK library cmake_minimum_required(VERSION 3.11 FATAL_ERROR) include(FetchContent) FetchContent_Declare( fltk GIT_REPOSITORY "https://github.com/fltk/fltk" ) FetchContent_GetProperties(fltk) if (NOT fltk_POPULATED) FetchContent_Populate(fltk) add_subdirectory(${fltk_SOURCE_DIR} ${fltk_BINARY_DIR}) end...
Add dependency for check on libpthread
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Try to find the Check libraries (Unit test framework for C) include(FindPackageHandleStandardArgs) find_path(CHECK_I...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Try to find the Check libraries (Unit test framework for C) include(FindPackageHandleStandardArgs) find_path(CHECK_I...
Add CMake 3.7 toolchain file support
set(CMAKE_SYSTEM_NAME Android) set(CMAKE_SYSTEM_VERSION 1) set(cross_triple arm-linux-androideabi) set(CMAKE_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_FIND_ROOT_PATH /usr/${cross_triple}) set(CMAKE_FIND_ROOT_PATH_MODE_PROGR...
set(CMAKE_SYSTEM_NAME Android) set(CMAKE_SYSTEM_VERSION 1) set(cross_triple arm-linux-androideabi) set(CMAKE_ANDROID_STANDALONE_TOOLCHAIN /usr/${cross_triple}/) set(CMAKE_ANDROID_ARM_MODE 1) set(CMAKE_ANDROID_ARM_NEON 1) set(CMAKE_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${...
Update Cuberille Remote to 2015-05-01.
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(Cuberille "This module implements cuberille implicit surface polygonization for ITK. This method operates by diving the surface into a number of small cubes called cuberilles. Each cuberille is centered at a pixel lying on the iso-surface and then ...
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(Cuberille "This module implements cuberille implicit surface polygonization for ITK. This method operates by diving the surface into a number of small cubes called cuberilles. Each cuberille is centered at a pixel lying on the iso-surface and then ...
Fix for CMake generator differences
# This file generates a custom target which creates a text file that # contains information about the current build. The following info # is included: # # - Hash and timestamp of the last Git commit # - The build type set (_buildInfoFile "${CMAKE_BINARY_DIR}/build-info.txt") find_package(Git) if(Git_FOUND) se...
# This file generates a custom target which creates a text file that # contains information about the current build. The following info # is included: # # - Hash and timestamp of the last Git commit # - The build type set (_buildInfoFile "${CMAKE_BINARY_DIR}/build-info.txt") find_package(Git) if(Git_FOUND OR GIT_...
Stop setting custom C++11 flags
# This file is used for non-server builds (e.g. for Couchbase mobile) # If GoogleTest is checked out then include it and we can run some tests IF(EXISTS "${PROJECT_SOURCE_DIR}/thirdparty/googletest/CMakeLists.txt") ADD_SUBDIRECTORY(thirdparty/googletest EXCLUDE_FROM_ALL) ENDIF () SET(CMAKE_MODULE_PATH ${CMAKE_MOD...
# This file is used for non-server builds (e.g. for Couchbase mobile) # If GoogleTest is checked out then include it and we can run some tests IF(EXISTS "${PROJECT_SOURCE_DIR}/thirdparty/googletest/CMakeLists.txt") ADD_SUBDIRECTORY(thirdparty/googletest EXCLUDE_FROM_ALL) ENDIF () SET(CMAKE_MODULE_PATH ${CMAKE_MOD...
Remove 'PIE' for Clang ThreadSanitizer
# Copyright (c) 2014, Ruslan Baratov # All rights reserved. if(DEFINED POLLY_FLAGS_SANITIZE_THREAD_CMAKE_) return() else() set(POLLY_FLAGS_SANITIZE_THREAD_CMAKE_ 1) endif() include(polly_add_cache_flag) polly_add_cache_flag(CMAKE_CXX_FLAGS "-fsanitize=thread") polly_add_cache_flag(CMAKE_CXX_FLAGS "-fPIE") polly_...
# Copyright (c) 2014-2017, Ruslan Baratov # All rights reserved. if(DEFINED POLLY_FLAGS_SANITIZE_THREAD_CMAKE_) return() else() set(POLLY_FLAGS_SANITIZE_THREAD_CMAKE_ 1) endif() include(polly_add_cache_flag) polly_add_cache_flag(CMAKE_CXX_FLAGS "-fsanitize=thread") polly_add_cache_flag(CMAKE_CXX_FLAGS "-g") pol...
Add newline on *.cmake files, not counting cmake-modules/
set(CMAKE_INSTALL_PREFIX $ENV{CMAKE_INSTALL_PREFIX}) include(cmake_install.cmake)
set(CMAKE_INSTALL_PREFIX $ENV{CMAKE_INSTALL_PREFIX}) include(cmake_install.cmake)
Implement inheriting of debug_assert target
# Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com> # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. find_package(debug_assert QUIET) if(debug_assert_FOUND) set(TYPE_SAFE_HAS_IMPORTED_TARGETS ON) else() set(TYPE_SAFE_...
# Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com> # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. find_package(debug_assert QUIET) if(debug_assert_FOUND) set(TYPE_SAFE_HAS_IMPORTED_TARGETS ON) else() set(TYPE_SAFE_...
Fix error message when ENABLE_LIBSODIUM is set and libsodium is not found
set(HAVE_LIBSODIUM FALSE) get_property(nacl_required GLOBAL PROPERTY NACL_REQUIRED) if(${nacl_required}) if("${NACL_LIBRARIES}" STREQUAL "") message(FATAL_ERROR "NaCl is not available, but a selected module needs it") endif() if(ENABLE_LIBSODIUM) set(HAVE_LIBSODIUM TRUE) endif(ENABLE_LIBSODIUM) else($...
set(HAVE_LIBSODIUM FALSE) get_property(nacl_required GLOBAL PROPERTY NACL_REQUIRED) if(${nacl_required}) if("${NACL_LIBRARIES}" STREQUAL "") if(ENABLE_LIBSODIUM) message(FATAL_ERROR "libsodium is not available, but a selected module needs it") else(ENABLE_LIBSODIUM) message(FATAL_ERROR "NaCl is n...
Revert "COMP: Make ThirdParty Eigen3 COMPILE_DEPENDS"
set(DOCUMENTATION "This module contains the central classes of the ITK toolkit. They include, basic data structures \(such as Points, Vectors, Images, Regions\) the core of the process objects \(such as base classes for image filters\) the pipeline infrastructure classes, the support for multi-threading, and a collect...
set(DOCUMENTATION "This module contains the central classes of the ITK toolkit. They include, basic data structures \(such as Points, Vectors, Images, Regions\) the core of the process objects \(such as base classes for image filters\) the pipeline infrastructure classes, the support for multi-threading, and a collect...
Make CMake respect the LIB_FUZZING_ENGINE env var
# Copyright (c) 2020 The Orbit Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. function(add_fuzzer target_name) # Fuzzing is (currently) only fully supported on clang. So we will # only enable the fuzzing-flag on clang, but we will...
# Copyright (c) 2020 The Orbit Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. function(add_fuzzer target_name) # Fuzzing is (currently) only fully supported on clang. So we will # only enable the fuzzing-flag on clang, but we will...
Add the _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING definition to the tester target.
## Tbag CMake project setting. include (TbagModules) tbag_modules__apply_default () tbag_modules__update_default_objects () ## Dependencies. tbag_modules__apply_dep_gtest () tbag_modules__apply_dep_lua_import_macros () ## tbag targets. tbag_modules__append_dependencies (tbag tbshare tbproc) tbag_modules__append_ldf...
## Tbag CMake project setting. include (TbagModules) tbag_modules__apply_default () tbag_modules__update_default_objects () ## Dependencies. tbag_modules__apply_dep_gtest () tbag_modules__apply_dep_lua_import_macros () ## tbag targets. tbag_modules__append_dependencies (tbag tbshare tbproc) tbag_modules__append_ldf...
Fix order of modules in cmake find script
# This config script tries to locate the project either in its source tree # of from an install location. # # Please adjust the list of submodules to search for. # List of modules set(MODULE_NAMES iozeug loggingzeug propertyguizeug reflectionzeug scriptzeug signalzeug stringzeug thre...
# This config script tries to locate the project either in its source tree # of from an install location. # # Please adjust the list of submodules to search for. # List of modules set(MODULE_NAMES signalzeug stringzeug reflectionzeug iozeug loggingzeug propertyguizeug scriptzeug thre...
Make the revision tag customizable + VS 2010 workaround.
#----------------------------------------------------------------------------- # MITK Data #----------------------------------------------------------------------------- # Sanity checks IF(DEFINED MITK_DATA_DIR AND NOT EXISTS ${MITK_DATA_DIR}) MESSAGE(FATAL_ERROR "MITK_DATA_DIR variable is defined but corresponds to...
#----------------------------------------------------------------------------- # MITK Data #----------------------------------------------------------------------------- # Sanity checks IF(DEFINED MITK_DATA_DIR AND NOT EXISTS ${MITK_DATA_DIR}) MESSAGE(FATAL_ERROR "MITK_DATA_DIR variable is defined but corresponds to...
Fix time for start nightly build with (Central European Summer Time)
#ctest_submit( RETURN_VALUE res) SET(CTEST_PROJECT_NAME "OpenViBe") SET(CTEST_NIGHTLY_START_TIME "20:00:00 EST") SET(CTEST_DROP_METHOD "http") SET(CTEST_DROP_SITE "cdash.inria.fr") SET(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenViBe") SET(CTEST_DROP_SITE_CDASH TRUE) ...
#ctest_submit( RETURN_VALUE res) SET(CTEST_PROJECT_NAME "OpenViBe") SET(CTEST_NIGHTLY_START_TIME "20:00:00 CEST") SET(CTEST_DROP_METHOD "http") SET(CTEST_DROP_SITE "cdash.inria.fr") SET(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenViBe") SET(CTEST_DROP_SITE_CDASH TRUE)...
Update Sphinx for ITK 4.8.0
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(SphinxExamples "This module builds the examples found at http://itk.org/ITKExamples/" GIT_REPOSITORY http://itk.org/ITKExamples.git # 2015-07-02 GIT_TAG 890667eaa7dbab6111aabd51432d1aeadca738f9 )
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(SphinxExamples "This module builds the examples found at http://itk.org/ITKExamples/" GIT_REPOSITORY http://itk.org/ITKExamples.git # 2015-07-09 GIT_TAG 2bc08a52aa0437da776cc777157f25b7b525b46f )
Revert one openal -> openal-soft replacement - reviewed by Moss
# -*- cmake -*- include(Linking) include(Prebuilt) if (LINUX) set(OPENAL ON CACHE BOOL "Enable OpenAL") else (LINUX) set(OPENAL OFF CACHE BOOL "Enable OpenAL") endif (LINUX) if (OPENAL) if (STANDALONE) include(FindPkgConfig) include(FindOpenAL) pkg_check_modules(OPENAL_LIB REQUIRED openal-soft) ...
# -*- cmake -*- include(Linking) include(Prebuilt) if (LINUX) set(OPENAL ON CACHE BOOL "Enable OpenAL") else (LINUX) set(OPENAL OFF CACHE BOOL "Enable OpenAL") endif (LINUX) if (OPENAL) if (STANDALONE) include(FindPkgConfig) include(FindOpenAL) pkg_check_modules(OPENAL_LIB REQUIRED openal) pkg_c...
Comment cleanup. Left Andrew's RPM lines commented out
#Tweaks for the different package types message(STATUS "========loading ${CPACK_GENERATOR} config==========") if (${CPACK_GENERATOR} STREQUAL "DEB") message(STATUS "Building DEBIAN packages") set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) # set(CPACK_DEB_COMPONENT_INSTALL ON) # set(CPACK_COMPONENTS_ALL libraries hea...
#Tweaks for the different package types if (${CPACK_GENERATOR} STREQUAL "DEB") set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) elseif (${CPACK_GENERATOR} STREQUAL "RPM") #set(CPACK_RPM_PACKAGE_REQUIRES "openssl >= 1.0.1e") #set(CPACK_RPM_PACKAGE_AUTOREQPROV " no") endif()
Add compiler switch to warn about shadowed variables and functions.
SET (CMAKE_C_COMPILER "clang") SET (CMAKE_CXX_COMPILER "clang++") SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE) SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE) MESSAGE (STAT...
SET (CMAKE_C_COMPILER "clang") SET (CMAKE_CXX_COMPILER "clang++") SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wshadow -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE) SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE) MESS...
Remove boost_system as a dependency (only headers required)
##===------------------------------------------------------------------------------*- CMake -*-===## ## _ _ ## | | | | ## __ _| |_ ___| | __ _ _ __ __ _ ## / _` | __/ __| |/ _` | '_ \ / _` | ## | (_|...
##===------------------------------------------------------------------------------*- CMake -*-===## ## _ _ ## | | | | ## __ _| |_ ___| | __ _ _ __ __ _ ## / _` | __/ __| |/ _` | '_ \ / _` | ## | (_|...
Remove -DBOOST_TEST_DYN_LINK from all translation units
# Copyright (c) 2012-2015, Stefan Eilemann <eile@eyescale.ch> # 2013-2015, Daniel Nachbaur <daniel.nachbaur@epfl.ch> # 2013-2015, Ahmet Bilgili <ahmet.bilgili@epfl.ch> # 2015, Raphael Dumuc <raphael.dumusc@epfl.ch> # # Boost settings to ensure that the Boost finder works i...
# Copyright (c) 2012-2015, Stefan Eilemann <eile@eyescale.ch> # 2013-2015, Daniel Nachbaur <daniel.nachbaur@epfl.ch> # 2013-2015, Ahmet Bilgili <ahmet.bilgili@epfl.ch> # 2015, Raphael Dumuc <raphael.dumusc@epfl.ch> # # Boost settings to ensure that the Boost finder works i...
Build call graphs in doxygen conditionally with cmake.
FIND_PACKAGE(Doxygen QUIET) IF(DOXYGEN_FOUND) SET(CJET_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/generated/Doxyfile) ADD_CUSTOM_TARGET(doc ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/generated/Doxyfile WORKING_DIRECTOR...
FIND_PACKAGE(Doxygen QUIET) IF(DOXYGEN_FOUND) IF (DOXYGEN_CREATE_GRAPHS EQUAL 1) SET (CJET_HAVE_DOT YES) SET (CJET_SET_CALL_GRAPH YES) SET (CJET_SET_CALLER_GRAPH YES) ELSE() SET (CJET_HAVE_DOT NO) SET (CJET_SET_CALL_GRAPHi NO) SET (CJET_SET_CALLER_GRAPH NO) EN...
Fix missing quotes around variable
# This file is included only if sampgdk is built as a root project (i.e. not # as a subdirectory). list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/cmake/Modules" ) if(${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_C_COMPILER_ID} STREQUAL "Intel") set(CMAKE_COMPILER_IS_GNUCC TRUE) en...
# This file is included only if sampgdk is built as a root project (i.e. not # as a subdirectory). list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/cmake/Modules" ) if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Intel") set(CMAKE_COMPILER_IS_GNUCC T...
Exclude from default module when used as a remote module
set( DOCUMENTATION "This module builds all the examples found at http://itk.org/ITKExamples" ) itk_module(ITKExamples DEPENDS ITKCommon DESCRIPTION "${DOCUMENTATION}" )
set( DOCUMENTATION "This module builds all the examples found at http://itk.org/ITKExamples" ) itk_module(ITKExamples DEPENDS ITKCommon EXCLUDE_FROM_DEFAULT DESCRIPTION "${DOCUMENTATION}" )
Add some verbose debug messages
cmake_minimum_required(VERSION 3.2 FATAL_ERROR) find_package(Git REQUIRED) message("===== Init submodules =====") execute_process( COMMAND "${GIT_EXECUTABLE}" submodule update --init WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" ) message("===== Submodules initialized =====")
cmake_minimum_required(VERSION 3.2 FATAL_ERROR) find_package(Git REQUIRED) message("===== Init submodules =====") message("++++ Running '${GIT_EXECUTABLE} submodule update --init' in ${CMAKE_CURRENT_SOURCE_DIR}") execute_process( COMMAND "${GIT_EXECUTABLE}" submodule update --init WORKING_DIRECTORY "${CMAKE_CURR...
Fix test coverage problem by forcing to use gcov-4.8
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
Update FW: fix default camera orientation for OAK-1-PoE, was rotated
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "a78b518e8a08f2a6b55b7b2e926685b6539d7a71") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "c5303ecec4c30a752a7f362589239b9d1784a0d3") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update copyright notice with my email.
# - Find LibGCal # # Find the LibGCal includes and library # # This module defines: # LIBGCAL_INCLUDE_DIR # LIBGCAL_LIBRARIES # LIBGCAL_FOUND # LIBGCAL_LIBRARY # # Copyright Mike Arthur 2009. find_path(LIBGCAL_INCLUDE_DIR gcal.h) set(LIBGCAL_NAMES ${LIBGCAL_NAMES} gcal) find_library(LIBGCAL_LIBRARY NAMES ${LIBGCAL_NAM...
# - Find LibGCal # # Find the LibGCal includes and library # # This module defines: # LIBGCAL_INCLUDE_DIR # LIBGCAL_LIBRARIES # LIBGCAL_FOUND # LIBGCAL_LIBRARY # # Copyright (c) 2009 Mike Arthur <mike@mikearthur.co.uk> find_path(LIBGCAL_INCLUDE_DIR gcal.h) set(LIBGCAL_NAMES ${LIBGCAL_NAMES} gcal) find_library(LIBGCAL_...
Bump the ITK CMake version to 5.1.0
# ITK version number components. set(ITK_VERSION_MAJOR "5") set(ITK_VERSION_MINOR "2") set(ITK_VERSION_PATCH "0")
# ITK version number components. set(ITK_VERSION_MAJOR "5") set(ITK_VERSION_MINOR "2") set(ITK_VERSION_PATCH "1")
Revert "Add missing alias for installed builds"
include(CMakeFindDependencyMacro) find_dependency(range-v3 0.10.0) include(${CMAKE_CURRENT_LIST_DIR}/jegp-targets.cmake) add_library(jegp::jegp INTERFACE IMPORTED) target_link_libraries(jegp::jegp INTERFACE jegp)
include(CMakeFindDependencyMacro) find_dependency(range-v3 0.10.0) include(${CMAKE_CURRENT_LIST_DIR}/jegp-targets.cmake)
Update FW with ipv6 disabled
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "d1649317d08c52e603e6c2999c676f646f1ca38b") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "c331d88b13bf939fcf125cabbd20a2425cd08fe6") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Extend cppcheck find script with default installation paths on Windows
# Findcppcheck results: # cppcheck_FOUND # cppcheck_EXECUTABLE include(FindPackageHandleStandardArgs) find_program(cppcheck_EXECUTABLE NAMES cppcheck PATHS "${CPPCHECK_DIR}" ) find_package_handle_standard_args(cppcheck FOUND_VAR cppcheck_FOUND REQUIRED_VARS cppcheck_EXEC...
# Findcppcheck results: # cppcheck_FOUND # cppcheck_EXECUTABLE include(FindPackageHandleStandardArgs) # work around CMP0053, see http://public.kitware.com/pipermail/cmake/2014-November/059117.html set(PROGRAMFILES_x86_ENV "PROGRAMFILES(x86)") find_program(cppcheck_EXECUTABLE NAMES cppcheck PATHS ...
Include jpeg headers on windows
# Download and set up LibJPEG library include(cmake/Externals.cmake) if(WIN32) ExternalProject_Add(libjpeg PREFIX ${FAST_EXTERNAL_BUILD_DIR}/libjpeg URL "https://github.com/CristiFati/Prebuilt-Binaries/raw/master/LibJPEG/v9d/LibJPEG-9d-Win-pc064.zip" UPDATE_COMMAND "" CONFIGURE_COMMAND...
# Download and set up LibJPEG library include(cmake/Externals.cmake) if(WIN32) ExternalProject_Add(libjpeg PREFIX ${FAST_EXTERNAL_BUILD_DIR}/libjpeg URL "https://github.com/CristiFati/Prebuilt-Binaries/raw/master/LibJPEG/v9d/LibJPEG-9d-Win-pc064.zip" UPDATE_COMMAND "" CONFIGURE_COMMAND...
Remove globbed file that doesn't actually exist on this branch :(
# Copyright (C) 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
# Copyright (C) 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Add source files for GUITexture objects to IrrIMGUI.
INCLUDE_DIRECTORIES( includes ) SET (IRRIMGUI_PUBLIC_HEADER_FILES includes/IrrIMGUI/CCharFifo.h includes/IrrIMGUI/CIMGUIEventReceiver.h includes/IrrIMGUI/CIMGUIEventStorage.h includes/IrrIMGUI/CIMGUIHandle.h includes/IrrIMGUI/IrrIMGUI.h includes/IrrIMGUI/IrrIMGUIDebug.h includes/IrrIMGUI/SIMGUISettings.h i...
INCLUDE_DIRECTORIES( includes ) SET (IRRIMGUI_PUBLIC_HEADER_FILES includes/IrrIMGUI/CCharFifo.h includes/IrrIMGUI/CIMGUIEventReceiver.h includes/IrrIMGUI/CIMGUIEventStorage.h includes/IrrIMGUI/CIMGUIHandle.h includes/IrrIMGUI/IrrIMGUI.h includes/IrrIMGUI/IrrIMGUIDebug.h includes/IrrIMGUI/SIMGUISettings.h i...
Update FW: fix StereoDepth crash with missing EEPROM, report error if missing, do not rotate RGB (AUTO orientation) on OAK-D(-Lite) if EEPROM is missing
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "5813806b6f2de7aaa4c211e5d8aa8e98774da8c8") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "2bebad51c15c2e8961899a29b93b93f2409d8464") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Allow manually specifying ejdb in combination with cmake find*
# - Try to find EJDB using pkg-config # Once done this will define # EJDB_FOUND - System has EJDB # EJDB_INCLUDE_DIRS - The EJDB include directories # EJDB_LIBRARIES - The libraries needed to use EJDB # EJDB_DEFINITIONS - Compiler switches required for using EJDB # EJDB_STATIC_LIB - Determines whether or not to us...
# - Try to find EJDB using pkg-config # Once done this will define # EJDB_FOUND - System has EJDB # EJDB_INCLUDE_DIRS - The EJDB include directories # EJDB_LIBRARIES - The libraries needed to use EJDB # EJDB_DEFINITIONS - Compiler switches required for using EJDB # EJDB_STATIC_LIB - Determines whether or not to us...
Improve compiler detection for x86_64 target
# Copyright 2015 Samsung Electronics Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
# Copyright 2015 Samsung Electronics Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
Fix Ldap include path in cmake find module.
# - Find Openldap # This module defines # LDAP_INCLUDE_DIR, where to find LDAP headers # LDAP_STATIC_LIBRARY, the LDAP library to use. # LBER_STATIC_LIBRARY, a support library for LDAP. # LDAP_FOUND, If false, do not try to use. set(THIRDPARTY_LDAP thirdparty/openldap-$ENV{IMPALA_OPENLDAP_VERSION}) set (THIRDPART...
# - Find Openldap # This module defines # LDAP_INCLUDE_DIR, where to find LDAP headers # LDAP_STATIC_LIBRARY, the LDAP library to use. # LBER_STATIC_LIBRARY, a support library for LDAP. # LDAP_FOUND, If false, do not try to use. set(THIRDPARTY_LDAP thirdparty/openldap-$ENV{IMPALA_OPENLDAP_VERSION}) set (THIRDPART...
Add COGCXX object text localization and section renaming
# toolchain-parallax_p8x32a # # Copyright 2017 Andrew Countryman <apcountryman@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this # file except in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
# toolchain-parallax_p8x32a # # Copyright 2017 Andrew Countryman <apcountryman@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this # file except in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
Update FW with stability fixes
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "ddf12633822999475209293f5298fc1419b423ea") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "06e791bb9f6cefc968889a7ae7918ed0ff49e897") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix ant/Java detection in cmake scripts
file(TO_CMAKE_PATH "$ENV{ANT_DIR}" ANT_DIR_ENV_PATH) file(TO_CMAKE_PATH "$ENV{ProgramFiles}" ProgramFiles_ENV_PATH) if(CMAKE_HOST_WIN32) set(ANT_NAME ant.bat) else() set(ANT_NAME ant) endif() find_host_program(ANT_EXECUTABLE NAMES ${ANT_NAME} PATHS "${ANT_DIR_ENV_PATH}/bin" "${ProgramFiles_ENV_PATH}/apache-ant/...
file(TO_CMAKE_PATH "$ENV{ANT_DIR}" ANT_DIR_ENV_PATH) file(TO_CMAKE_PATH "$ENV{ProgramFiles}" ProgramFiles_ENV_PATH) if(CMAKE_HOST_WIN32) set(ANT_NAME ant.bat) else() set(ANT_NAME ant) endif() find_host_program(ANT_EXECUTABLE NAMES ${ANT_NAME} PATHS "${ANT_DIR_ENV_PATH}/bin" "${ProgramFiles_ENV_PATH}/apache-ant/...
Replace deprecated package test classifier SS -> ST
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( SUBPACKAGES_DIRS_CLASSIFICATIONS_OPTREQS Utils packages/Utils SS REQUIRED Interface packages/Interface SS REQUIRED Search packages/Search SS REQUIRED Discretization p...
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( SUBPACKAGES_DIRS_CLASSIFICATIONS_OPTREQS Utils packages/Utils ST REQUIRED Interface packages/Interface ST REQUIRED Search packages/Search ST REQUIRED Discretization p...
Update FW: IMX577 proper support (0577 sensor ID)
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "25e22d27838d599121d1b6d9fc131456efc49a46") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "90da733dd5519e805ac5563d13cc4b0516ddb5c3") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW with rgb-depth sync
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "58b9f5633728f6c3f6b36cc1d06c707d076f85a2") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "6d99fda9ff265548d22f76e1d775f3a8936f0179") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: support for up to 3x IMX378/IMX477 or 3x OV9782 color cameras. Note: configs for Left and Right sockets must be identical for now
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "000fc415c51bd7838432bcfc79d43dcc611d084b") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "f6926cb5bca9962ba690cea0f371b13baf2f18ec") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix for ROOT-7480 - improvement of the occincdir search in configure
# - Try to find OpenCASCADE libraries ### Does not test what version has been found,though ### that could be done by parsing Standard_Version.hxx # Once done, this will define # OCC_FOUND - true if OCC has been found # OCC_INCLUDE_DIR - the OCC include dir # OCC_LIBRARIES (not cached) - full path of OCC libraries ...
# - Try to find OpenCASCADE libraries ### Does not test what version has been found,though ### that could be done by parsing Standard_Version.hxx # Once done, this will define # OCC_FOUND - true if OCC has been found # OCC_INCLUDE_DIR - the OCC include dir # OCC_LIBRARIES (not cached) - full path of OCC libraries ...
Fix the SimpleITK install directory used for superbuild SimpleITK Examples
set(proj SimpleITKExamples) # Set dependency list set(SimpleITKExamples_DEPENDENCIES "SimpleITK") if (${BUILD_EXAMPLES} ) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_common_cache}" ) ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR $...
set(proj SimpleITKExamples) # Set dependency list set(SimpleITKExamples_DEPENDENCIES "SimpleITK") if (${BUILD_EXAMPLES} ) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_common_cache}" ) ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR $...
Add more report types to generation
set(REPORT_TYPES Position Orientation Pose Button Analog Imaging Location2D Direction EyeTracker2D EyeTracker3D EyeTrackerBlink NaviVelocity NaviPosition) # Generate a file using a template with the placeholder @BODY@, as well as a # repeated template with the placeh...
set(OSVR_REPORT_TYPES Pose Position Orientation Velocity LinearVelocity AngularVelocity Acceleration LinearAcceleration AngularAcceleration Button Analog Imaging Location2D Direction EyeTracker2D EyeTracker3D EyeTrackerBlink NaviVelocity NaviPo...
Allow stupid dst register in ABI test.
execute_process( COMMAND ${OBJDUMP} --no-show-raw-insn -dC -j .text ${BINARY} COMMAND grep -A2 " <test" COMMAND sed 1d COMMAND cut -d: -f2 COMMAND xargs echo OUTPUT_VARIABLE asm) string(STRIP "${asm}" asm) if("${IMPL}" STREQUAL SSE) set(reference "^(addps %xmm1,%xmm0 retq|vaddps %xmm(0,%xmm1|1,%xmm...
execute_process( COMMAND ${OBJDUMP} --no-show-raw-insn -dC -j .text ${BINARY} COMMAND grep -A2 " <test" COMMAND sed 1d COMMAND cut -d: -f2 COMMAND xargs echo OUTPUT_VARIABLE asm) string(STRIP "${asm}" asm) if("${IMPL}" STREQUAL SSE) set(reference "^(addps %xmm(0,%xmm1 movaps %xmm1,%xmm0|1,%xmm0 ret...
Use "--trace-children=yes" option for MemCheck(valgrind) to handle leantests shell script
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
Fix the error of 'americano_python target does not exist'.
#/// @file TbagObjectProtobufPython.cmake #/// @brief Google-protocol-buffers python object module. #/// @author zer0 #/// @date 2016-06-01 if (NOT PROTOBUF_FOUND) find_package (TbagProtobuf) endif () if (PROTOBUF_FOUND) tbag_protobuf__generate_py (__proto_srcs __proto_headers "${TBAG_OBJECT_CONST_SOURCE...
#/// @file TbagObjectProtobufPython.cmake #/// @brief Google-protocol-buffers python object module. #/// @author zer0 #/// @date 2016-06-01 if (NOT PROTOBUF_FOUND) find_package (TbagProtobuf) endif () if (PROTOBUF_FOUND) tbag_protobuf__generate_py (__proto_srcs __proto_headers "${TBAG_OBJECT_CONST_SOURCE...
Update Mosaic Remote Module GIT_TAG
#Contact: Rémi Cresson <remi.cresson@teledetection.fr> otb_fetch_module(Mosaic "This module provides one application dedicated to images mosaicking A more detailed description can be found on the project website: https://github.com/remicres/otb-mosaic " GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git GI...
#Contact: Rémi Cresson <remi.cresson@teledetection.fr> otb_fetch_module(Mosaic "This module provides one application dedicated to images mosaicking A more detailed description can be found on the project website: https://github.com/remicres/otb-mosaic " GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git GI...
Set couple variables to cmake configuration of the library
get_filename_component(INSTALLED_PREFIX ${Newbase_DIR} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) set(Newbase_INSTALLED_INCLUDE_DIRS ${INSTALLED_PREFIX}/include/newbase) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")...
get_filename_component(INSTALLED_PREFIX ${Newbase_DIR} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) set(Newbase_INCLUDE_DIRS ${INSTALLED_PREFIX}/include) set(Newbase_INSTALLED_INCLUDE_DIRS ${INSTALLED_PREFIX}/inc...
Update FW/mdk - Optimizing the confidence map alignment(CleanUp logs)
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "cab716a0c2de42fb3df1dc7298e65995af1367e4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "e21bfb96a88d244757aa113ebaf039fa28f3eec5") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix vecLib search order for clients with both the old vecLib framework and the new Accelerate framework
# Find the vecLib libraries as part of Accelerate.framework or as standalon framework # # The following are set after configuration is done: # VECLIB_FOUND # vecLib_INCLUDE_DIR # vecLib_LINKER_LIBS if(NOT APPLE) return() endif() set(__veclib_include_suffix "Frameworks/vecLib.framework/Versions/Current/Headers")...
# Find the vecLib libraries as part of Accelerate.framework or as standalon framework # # The following are set after configuration is done: # VECLIB_FOUND # vecLib_INCLUDE_DIR # vecLib_LINKER_LIBS if(NOT APPLE) return() endif() set(__veclib_include_suffix "Frameworks/vecLib.framework/Versions/Current/Headers")...
Fix link error by improving generation of python3stub.def
# Sanity checks foreach(varname INPUT_DEF_FILE OUTPUT_DEF_FILE) if(NOT DEFINED ${varname}) message(FATAL_ERROR "Variable '${varname}' is not defined.") endif() endforeach() file(STRINGS ${INPUT_DEF_FILE} def_lines REGEX "^ (.+)=.+$") set(stub_def_lines "EXPORTS") foreach(line IN LISTS def_lines) string(REGE...
# Sanity checks foreach(varname INPUT_DEF_FILE OUTPUT_DEF_FILE) if(NOT DEFINED ${varname}) message(FATAL_ERROR "Variable '${varname}' is not defined.") endif() endforeach() file(STRINGS ${INPUT_DEF_FILE} def_lines REGEX "^ (.+)=.+$") set(stub_def_lines "EXPORTS\n") foreach(line IN LISTS def_lines) string(RE...
Add Stitching MiniApp to installer
include(${CMAKE_CURRENT_LIST_DIR}/Default.cmake) set(MITK_CONFIG_PACKAGES ${MITK_CONFIG_PACKAGES} MatchPoint ) set(MITK_CONFIG_PLUGINS ${MITK_CONFIG_PLUGINS} org.mitk.gui.qt.multilabelsegmentation org.mitk.matchpoint.core.helper org.mitk.gui.qt.matchpoint.algorithm.browser org.mitk.gui.qt.matchpoint.algorit...
include(${CMAKE_CURRENT_LIST_DIR}/Default.cmake) set(MITK_CONFIG_PACKAGES ${MITK_CONFIG_PACKAGES} MatchPoint ) set(MITK_CONFIG_PLUGINS ${MITK_CONFIG_PLUGINS} org.mitk.gui.qt.multilabelsegmentation org.mitk.matchpoint.core.helper org.mitk.gui.qt.matchpoint.algorithm.browser org.mitk.gui.qt.matchpoint.algorit...
Improve lookup of installed Visual Studio
set(VCPKG_VISUAL_STUDIO_PATH "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional") set(VCPKG_PLATFORM_TOOLSET v141) set(VCPKG_TARGET_ARCHITECTURE x64) # use dynamic C and CPP libraries (needed if we use any DLLs, eg Qt) set(VCPKG_CRT_LINKAGE dynamic) if(PORT MATCHES "ffmpeg" OR PORT MATCHES "op...
if(EXISTS "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional") set(VCPKG_VISUAL_STUDIO_PATH "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional") elseif(EXISTS "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community") message(AUTHOR_WARNING "Microsoft Visual Studi...
Fix value for APPEND HUNTER_TOOLCHAIN_UNDETECTABLE_ID
# Copyright (c) 2013-2016, Ruslan Baratov # Copyright (c) 2016, David Hirvonen # All rights reserved. if(DEFINED POLLY_FLAGS_DATA_SECTIONS_CMAKE) return() else() set(POLLY_FLAGS_DATA_SECTIONS_CMAKE 1) endif() include(polly_add_cache_flag) polly_add_cache_flag(CMAKE_CXX_FLAGS "-fdata-sections") polly_add_cache_fl...
# Copyright (c) 2013-2016, Ruslan Baratov # Copyright (c) 2016, David Hirvonen # All rights reserved. if(DEFINED POLLY_FLAGS_DATA_SECTIONS_CMAKE) return() else() set(POLLY_FLAGS_DATA_SECTIONS_CMAKE 1) endif() include(polly_add_cache_flag) polly_add_cache_flag(CMAKE_CXX_FLAGS "-fdata-sections") polly_add_cache_fl...
Use Python_Interpreter_FOUND instead of PYTHONINTERP_FOUND for new find Python module.
# Copyright libCellML Contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
# Copyright libCellML Contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Update FW: fix -fusb2, USB descriptor was improperly set up, causing enumeration failure on Windows
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "922551b76fe361cd60dd9d24b88ce11d4dfc3e70") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "cf88fd740e226f1abdd2ea6d0b8c7e897a745f9a") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update install location for cl2hpp external project
INCLUDE(ExternalProject) SET(prefix ${CMAKE_BINARY_DIR}/third_party/cl2hpp/src/cl2hpp-ext-build) ExternalProject_Add( cl2hpp-ext GIT_REPOSITORY https://github.com/KhronosGroup/OpenCL-CLHPP.git GIT_TAG 2b415bf8fc6ab035b6de6a14f3c579f91199fa2a PREFIX "${prefix}" INSTALL_COMMAND "" INSTALL_DIR "$...
INCLUDE(ExternalProject) SET(prefix ${CMAKE_BINARY_DIR}/third_party/cl2hpp) ExternalProject_Add( cl2hpp-ext GIT_REPOSITORY https://github.com/9prady9/OpenCL-CLHPP.git GIT_TAG install_targets PREFIX "${prefix}" INSTALL_DIR "${prefix}/package" UPDATE_COMMAND "" CONFIGURE_COMMAND ${CMAKE_COMM...
Set assembly compiler as well
# this one is important set(CMAKE_SYSTEM_NAME Cibyl) #this one not so much set(CMAKE_SYSTEM_VERSION 1) # specify the cross compiler set(CMAKE_C_COMPILER mips-cibyl-elf-gcc) set(CMAKE_CXX_COMPILER mips-cibyl-elf-g++) # search for programs in the build host directories set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # f...
# this one is important set(CMAKE_SYSTEM_NAME Cibyl) #this one not so much set(CMAKE_SYSTEM_VERSION 1) # specify the cross compiler set(CMAKE_ASM_COMPILER mips-cibyl-elf-gcc) set(CMAKE_C_COMPILER mips-cibyl-elf-gcc) set(CMAKE_CXX_COMPILER mips-cibyl-elf-g++) # search for programs in the build host directories set(...
Add a comment about unused constants.
/* taglib_config.h. Generated by cmake from taglib_config.h.cmake */ #define TAGLIB_WITH_ASF 1 #define TAGLIB_WITH_MP4 1
/* taglib_config.h. Generated by cmake from taglib_config.h.cmake */ /* These values are no longer used. This file is present only for compatibility reasons. */ #define TAGLIB_WITH_ASF 1 #define TAGLIB_WITH_MP4 1
Fix typo in error message for POLLY_XCODE_COMPILER
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. if(DEFINED POLLY_COMPILER_XCODE_CMAKE_) return() else() set(POLLY_COMPILER_XCODE_CMAKE_ 1) endif() include(polly_fatal_error) string(COMPARE EQUAL "${POLLY_XCODE_COMPILER}" "" _is_empty) if(_is_empty) polly_fatal_error("Please set POLLY_CODE_COMPILER"...
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. if(DEFINED POLLY_COMPILER_XCODE_CMAKE_) return() else() set(POLLY_COMPILER_XCODE_CMAKE_ 1) endif() include(polly_fatal_error) string(COMPARE EQUAL "${POLLY_XCODE_COMPILER}" "" _is_empty) if(_is_empty) polly_fatal_error("Please set POLLY_XCODE_COMPILER...
Make directory if not exist
function(add_airframe pack_airframe_path) # Airframe file paths if($ENV{ROS_HOME}) set(local_airframe_path "$ENV{ROS_HOME}/etc") else() set(local_airframe_path "$ENV{HOME}/.ros/etc") endif() # aborts if directory where airframe config is put does not exist if(NOT EXISTS ${local_airfram...
function(add_airframe pack_airframe_path) # Airframe file paths if($ENV{ROS_HOME}) set(local_airframe_path "$ENV{ROS_HOME}/etc") else() set(local_airframe_path "$ENV{HOME}/.ros/etc") endif() # aborts if directory where airframe config is put does not exist if(NOT EXISTS ${local_airfram...
Put back original URL path variable.
SET(THIRDPARTY_BUILD_METIS ON CACHE BOOL "Build ModMetis library from ThirdParty") IF (THIRDPARTY_BUILD_METIS) INCLUDE(ExternalProject) EXTERNALPROJECT_ADD( modmetis-5.1.0 PREFIX ${TPSRC} URL http://www.nektar.info/thirdparty/modmetis-5.1.0.tar.bz2 URL_MD5 "8f8313a768e4611d1...
SET(THIRDPARTY_BUILD_METIS ON CACHE BOOL "Build ModMetis library from ThirdParty") IF (THIRDPARTY_BUILD_METIS) INCLUDE(ExternalProject) EXTERNALPROJECT_ADD( modmetis-5.1.0 PREFIX ${TPSRC} URL ${TPURL}/modmetis-5.1.0.tar.bz2 URL_MD5 "8f8313a768e4611d1748d10f88f3d702" ...
Enable DEC C atomic model for Tru64
set (PLIBSYS_THREAD_MODEL posix) set (PLIBSYS_IPC_MODEL posix) set (PLIBSYS_TIME_PROFILER_MODEL posix) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_PLATFORM_LINK_LIBRARIES -pthread rt) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_PII_SOCKET -D_OSF_SOURCE...
set (PLIBSYS_THREAD_MODEL posix) set (PLIBSYS_IPC_MODEL posix) set (PLIBSYS_TIME_PROFILER_MODEL posix) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_ATOMIC_MODEL decc) set (PLIBSYS_PLATFORM_LINK_LIBRARIES -pthread rt) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_...
Add style testing to "histomicstk" algorithms directory
############################################################################### # Copyright Kitware Inc. # # Licensed under the Apache License, Version 2.0 ( the "License" ); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lic...
############################################################################### # Copyright Kitware Inc. # # Licensed under the Apache License, Version 2.0 ( the "License" ); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lic...
Set pullup for IMU wakeup pin
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "28471d4d80ffe0dcd9c251544e5da2aecfc2ec48") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "33287b3eaf62cb0d12b98454459f2f09d22200a3") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: ColorCamera memory optimization when `still` is not connected, properly handle width-multiple-of-32 (only needed for VideoEncoder), don't enforce it on `video` by default, allow `still` size smaller than `video`
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "f2876f23bebca25cc5db0889c06376572f5227d6") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "bfc09cbb3a84193709558b60fbd4adc3d744f361") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")