Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Use FindPackageHandleStandardArgs module for WinDbg.
# - This module looks for Microsoft Debugging Tools for Windows SDK # It defines: # WINDBG_DIR : full path to Windbg root dir # include (FindPackageMessage) if (WIN32) find_path (WINDBG_DIR NAMES dbghelp.dll symsrv.dll symsrv.yes PATHS ...
# - This module looks for Microsoft Debugging Tools for Windows SDK # It defines: # WINDBG_DIR : full path to Windbg root dir # include (FindPackageHandleStandardArgs) if (WIN32) find_path (WINDBG_DIR NAMES dbghelp.dll symsrv.dll symsrv.yes PATHS...
Remove "Copyright" from the copyright string.
# - Set project information variables. include(Tools) if(NOT PROJECT_INFO_CMAKE) set(PROJECT_INFO_CMAKE TRUE) check_cmake_vars_exists( PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_LONGNAME ) set(PROJECT_COPYRIGHT_HOLDER "Gostai S.A.S") set(PROJECT_COPYRIGHT_YEARS "2006-2008") set(PR...
# - Set project information variables. include(Tools) if(NOT PROJECT_INFO_CMAKE) set(PROJECT_INFO_CMAKE TRUE) check_cmake_vars_exists( PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_LONGNAME ) set(PROJECT_COPYRIGHT_HOLDER "Gostai S.A.S") set(PROJECT_COPYRIGHT_YEARS "2006-2008") set(PR...
Fix dependencies between Boost dylibs
message(STATUS "Make Boost libraries use RPATH") file(GLOB boost_dylibs ./libboost*.dylib) foreach(boost_dylib ${boost_dylibs}) get_filename_component(boost_dylib ${boost_dylib} NAME) execute_process(COMMAND install_name_tool -id @rpath/${boost_dylib} ${boost_dylib}) endforeach()
message(STATUS "Make Boost libraries use RPATH") file(GLOB boost_dylibs ./libboost*.dylib) foreach(boost_dylib ${boost_dylibs}) get_filename_component(boost_dylib ${boost_dylib} NAME) execute_process(COMMAND install_name_tool -id @rpath/${boost_dylib} ${boost_dylib}) foreach(other_boost_dylib ${boost_dylibs}) ...
Set the OSX versions for the tarballs correctly
# support creating some basic binpkgs via `make package` set(CPACK_SET_DESTDIR ON) set(CPACK_GENERATOR TGZ) include(CPack)
# support creating some basic binpkgs via `make package` set(CPACK_SET_DESTDIR ON) set(CPACK_GENERATOR TGZ) set(CPACK_PACKAGE_VERSION_MAJOR ${LIBIIO_VERSION_MAJOR}) set(CPACK_PACKAGE_VERSION_MINOR ${LIBIIO_VERSION_MINOR}) set(CPACK_PACKAGE_VERSION_PATCH g${LIBIIO_VERSION_GIT}) set(CPACK_BUNDLE_NAME libiio) set(CPACK_...
Add /usr/lib64 for search path
if( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY ) set( LIBSSH_FIND_QUIETLY true ) endif( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY ) find_path( LIBSSH_INCLUDE_DIR libssh/libssh.h ) find_library( LIBSSH_LIBRARY NAMES ssh PATHS /usr/local/lib /usr/pkg/lib /opt/lib /usr/lib /lib NO_DEFAULT_PATH ) include( FindPackageHandl...
if( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY ) set( LIBSSH_FIND_QUIETLY true ) endif( LIBSSH_INCLUDE_DIR AND LIBSSH_LIBRARY ) find_path( LIBSSH_INCLUDE_DIR libssh/libssh.h ) find_library( LIBSSH_LIBRARY NAMES ssh PATHS /usr/local/lib /usr/pkg/lib /opt/lib /usr/lib64 /usr/lib /lib NO_DEFAULT_PATH ) include( FindP...
Fix uninstall with white char inside path
# # Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" fi...
# # Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" fi...
Remove sdk version from veclib searching path.
# 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")...
Update repository test classification SS (deprecated) -> ST
# # See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake # SET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS DataTransferKit . SS ) TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(DataTransferKit Windows)
# # See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake # SET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS DataTransferKit . ST ) TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(DataTransferKit Windows)
Fix the KAccounts cmake module
# Try to find the KAccounts UI library # # Copyright (c) 2011, Dario Freddi <drf@kde.org> # Copyright (c) 2014, Martin Klapetek <mklapetek@kde.org> # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. SET (KACCOUNTS_FIND_REQUIRE...
# Try to find the KAccounts UI library # # Copyright (c) 2011, Dario Freddi <drf@kde.org> # Copyright (c) 2014, Martin Klapetek <mklapetek@kde.org> # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. SET (KACCOUNTS_FIND_REQUIRE...
Send also static libraries to ${PROJECT_BINARY_DIR}/lib
#.rst: # # Sets binary and library output directories to ${PROJECT_BINARY_DIR}/bin # and ${PROJECT_BINARY_DIR}/lib, respectively. # # Variables modified:: # # CMAKE_RUNTIME_OUTPUT_DIRECTORY # CMAKE_LIBRARY_OUTPUT_DIRECTORY set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIREC...
#.rst: # # Sets binary and library output directories to ${PROJECT_BINARY_DIR}/bin # and ${PROJECT_BINARY_DIR}/lib, respectively. # # Variables modified:: # # CMAKE_ARCHIVE_OUTPUT_DIRECTORY # CMAKE_LIBRARY_OUTPUT_DIRECTORY # CMAKE_RUNTIME_OUTPUT_DIRECTORY set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/...
Remove Mahalanobis example if HAVE_LAPACK is not available
function(find_meta_examples) FILE(GLOB_RECURSE META_EXAMPLE_LISTINGS ${CMAKE_SOURCE_DIR}/examples/meta/src/*.sg) # temporary hacks to exclude certain meta examples that have dependencies IF(NOT HAVE_NLOPT) LIST(REMOVE_ITEM META_EXAMPLE_LISTINGS ${CMAKE_SOURCE_DIR}/examples/meta/src/gaussian_processes/gaussian_pr...
function(find_meta_examples) FILE(GLOB_RECURSE META_EXAMPLE_LISTINGS ${CMAKE_SOURCE_DIR}/examples/meta/src/*.sg) # temporary hacks to exclude certain meta examples that have dependencies IF(NOT HAVE_NLOPT) LIST(REMOVE_ITEM META_EXAMPLE_LISTINGS ${CMAKE_SOURCE_DIR}/examples/meta/src/gaussian_processes/gaussian_pro...
Install to python prefix by default
# use pybind11's tools to find python and create python modules list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/hoomd/extern/pybind/tools) # for installed hoomd with external plugins if (HOOMD_INCLUDE_DIR) list(APPEND CMAKE_MODULE_PATH ${HOOMD_INCLUDE_DIR}/hoomd/extern/pybind/tools) endif() # find_package(pybin...
# use pybind11's tools to find python and create python modules list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/hoomd/extern/pybind/tools) # for installed hoomd with external plugins if (HOOMD_INCLUDE_DIR) list(APPEND CMAKE_MODULE_PATH ${HOOMD_INCLUDE_DIR}/hoomd/extern/pybind/tools) endif() # find_package(pybin...
Disable Jenkins leak checking for OpenSSL module
set(LABEL_EXPR "$ENV{label_exp}") if ("${LABEL_EXPR}" MATCHES "gcc" OR "${LABEL_EXPR}" MATCHES "gcovr") message(STATUS "Set CXX to g++ based on label_expr content") set(CMAKE_C_COMPILER "gcc" CACHE PATH "C compiler option") set(CMAKE_CXX_COMPILER "g++" CACHE PATH "C++ compiler option") # OpenCL header on OSX do...
set(LABEL_EXPR "$ENV{label_exp}") if ("${LABEL_EXPR}" MATCHES "gcc" OR "${LABEL_EXPR}" MATCHES "gcovr") message(STATUS "Set CXX to g++ based on label_expr content") set(CMAKE_C_COMPILER "gcc" CACHE PATH "C compiler option") set(CMAKE_CXX_COMPILER "g++" CACHE PATH "C++ compiler option") # OpenCL header on OSX do...
Set executable suffix in CMake
# Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 find_program(CCACHE "ccache") if(CCACHE) set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) endif() include(${MBED_CONFIG_PATH}/mbed_config.cmake) # Load toolchain file if(NOT CMAKE_T...
# Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 find_program(CCACHE "ccache") if(CCACHE) set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) endif() include(${MBED_CONFIG_PATH}/mbed_config.cmake) # Load toolchain file if(NOT CMAKE_T...
Exclude module from being turned on by default
# the top-level README is used for describing this module, just # re-used it for documentation here get_filename_component( MY_CURENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) file( READ "${MY_CURENT_DIR}/README" DOCUMENTATION ) # itk_module() defines the module dependencies in ITKOBBLabelMap # ITKOBBLabelMap depends on...
# the top-level README is used for describing this module, just # re-used it for documentation here get_filename_component( MY_CURENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) file( READ "${MY_CURENT_DIR}/README" DOCUMENTATION ) # ITK version 4.5 changed it from EXCLUDE_FROM_ALL to EXCLUDE_FROM_DEFAULT set( _EXCLUDE "EX...
Fix PATH for bench target
# 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/. set(ENV{LANG} "C") set(ENV{LC_ALL} "C") set(ENV{BUILD_DIR} ${CTEST_MODULE_DIR}) set(ENV{LUA_PATH} ${PROJECT_SOURCE_DIR}/...
# 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/. set(ENV{LANG} "C") set(ENV{LC_ALL} "C") set(ENV{BUILD_DIR} ${CTEST_MODULE_DIR}) set(ENV{LUA_PATH} ${PROJECT_SOURCE_DIR}/...
Fix itkFDFImageIOTest link error on windows
itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG eff61805983c8a92b7a2043b94272d7b865c5a06 )
itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG 145e6342bd340919574003e4e324b0b9ebf49d26 )
Enable Jenkins to use the asio tag
set(LABEL_EXPR "$ENV{label_exp}") if ("${LABEL_EXPR}" MATCHES "gcc") message(STATUS "Set CXX to g++ based on label_expr content") set(CMAKE_C_COMPILER "gcc" CACHE PATH "c++ compiler option") set(CMAKE_CXX_COMPILER "g++" CACHE PATH "c++ compiler option") elseif ("${LABEL_EXPR}" MATCHES "clang") message(STATUS "S...
set(LABEL_EXPR "$ENV{label_exp}") if ("${LABEL_EXPR}" MATCHES "gcc") message(STATUS "Set CXX to g++ based on label_expr content") set(CMAKE_C_COMPILER "gcc" CACHE PATH "c++ compiler option") set(CMAKE_CXX_COMPILER "g++" CACHE PATH "c++ compiler option") elseif ("${LABEL_EXPR}" MATCHES "clang") message(STATUS "S...
Fix wrong variables marked as advanced
# Try to find Sampgdk3 # # Defined variables: # - Sampgdk3_FOUND # - Sampgdk3_INCLUDE_DIRS # - Sampgdk3_LIBRARIES find_path(Sampgdk3_INCLUDE_DIR NAMES sampgdk/a_samp.h) find_library(Sampgdk3_LIBRARY NAMES sampgdk3 libsampgdk3) set(Sampgdk3_LIBRARIES ${Sampgdk3_LIBRARY}) set(Sampgdk3_INCLUDE_DIRS ${Sampgdk3_INCLUDE_D...
# Try to find Sampgdk3 # # Defined variables: # - Sampgdk3_FOUND # - Sampgdk3_INCLUDE_DIRS # - Sampgdk3_LIBRARIES find_path(Sampgdk3_INCLUDE_DIR NAMES sampgdk/a_samp.h) find_library(Sampgdk3_LIBRARY NAMES sampgdk3 libsampgdk3) set(Sampgdk3_LIBRARIES ${Sampgdk3_LIBRARY}) set(Sampgdk3_INCLUDE_DIRS ${Sampgdk3_INCLUDE_D...
Enable c++11 for clang release builds
# Set necessary compile and link flags if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wformat -Wno-format-extra-args -Wformat-security -Wformat-nonliteral -Wformat=2 -Wextra -Wnon-virtual-dtor -fPIC -O...
# Set necessary compile and link flags if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wformat -Wno-format-extra-args -Wformat-security -Wformat-nonliteral -Wformat=2 -Wextra -Wnon-virtual-dtor -fPIC -O...
Remove usage of find_path to locate cub/version.cuh
unset(_CUB_VERSION_INCLUDE_DIR CACHE) # Clear old result to force search find_path(_CUB_VERSION_INCLUDE_DIR cub/version.cuh NO_DEFAULT_PATH # Only search explicit paths below: PATHS "${CMAKE_CURRENT_LIST_DIR}/../.." # Source tree ) set_property(CACHE _CUB_VERSION_INCLUDE_DIR PROPERTY TYPE INTERNAL)
# Parse version information from version.h in source tree # Source tree set(_CUB_VERSION_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../..") if(EXISTS "${_CUB_VERSION_INCLUDE_DIR}/cub/version.cuh") set(_CUB_VERSION_INCLUDE_DIR "${_CUB_VERSION_INCLUDE_DIR}" CACHE FILEPATH "" FORCE) # Clear old result set_property(CACHE ...
Fix MGHIO to fix write failures
itk_fetch_module(MGHIO "MGHIO ImageIO plugin for ITK" GIT_REPOSITORY https://github.com/Slicer/itkMGHImageIO.git GIT_TAG dc1f16c73d497ca2d1d7e1c77096817f8a82eb21 )
itk_fetch_module(MGHIO "MGHIO ImageIO plugin for ITK" GIT_REPOSITORY https://github.com/Slicer/itkMGHImageIO.git GIT_TAG 7d0386335dd90199fa7f1e79db7ceab22d8e957f )
Fix build when building complete kdesupport at once
# NOTE: only add something here if it is really needed by all of kdelibs. # Otherwise please prefer adding to the relevant config-foo.h.cmake file, # and the CMakeLists.txt that generates it (or a separate ConfigureChecks.make file if you prefer) # to minimize recompilations and increase modularity. includ...
# NOTE: only add something here if it is really needed by all of kdelibs. # Otherwise please prefer adding to the relevant config-foo.h.cmake file, # and the CMakeLists.txt that generates it (or a separate ConfigureChecks.make file if you prefer) # to minimize recompilations and increase modularity. includ...
Make CMake in Linux work correctly.
macro(GroupSources curdir) if (MSVC) file(GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${curdir} ${CMAKE_CURRENT_SOURCE_DIR}/${curdir}/*) foreach(child ${children}) if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${curdir}/${child}) if ("${curdir}" STREQUAL "") Gro...
macro(GroupSources curdir) if (MSVC) file(GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${curdir} ${CMAKE_CURRENT_SOURCE_DIR}/${curdir}/*) foreach(child ${children}) if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${curdir}/${child}) if ("${curdir}" STREQUAL "") Gro...
Use protobuf .cc files to compile tests
################################################# macro (ign_build_tests) # Build all the tests foreach(GTEST_SOURCE_file ${ARGN}) string(REGEX REPLACE ".cc" "" BINARY_NAME ${GTEST_SOURCE_file}) set(BINARY_NAME ${TEST_TYPE}_${BINARY_NAME}) if(USE_LOW_MEMORY_TESTS) add_definitions(-DUSE_LOW_MEMORY_...
################################################# macro (ign_build_tests) # Build all the tests foreach(GTEST_SOURCE_file ${ARGN}) string(REGEX REPLACE ".cc" "" BINARY_NAME ${GTEST_SOURCE_file}) set(BINARY_NAME ${TEST_TYPE}_${BINARY_NAME}) if(USE_LOW_MEMORY_TESTS) add_definitions(-DUSE_LOW_MEMORY_...
Remove pointless cmake_minimum_required(VERSION ...) statement
cmake_minimum_required(VERSION 2.8.6) function(add_plugin name) add_library(${name} MODULE ${ARGN}) set_target_properties(${name} PROPERTIES PREFIX "") if(CMAKE_COMPILER_IS_GNUCC) set_property(TARGET ${name} APPEND_STRING PROPERTY COMPILE_FLAGS " -m32") set_property(TARGET ${name} APPEND_STRING PROPERT...
function(add_plugin name) add_library(${name} MODULE ${ARGN}) set_target_properties(${name} PROPERTIES PREFIX "") if(CMAKE_COMPILER_IS_GNUCC) set_property(TARGET ${name} APPEND_STRING PROPERTY COMPILE_FLAGS " -m32") set_property(TARGET ${name} APPEND_STRING PROPERTY LINK_FLAGS " -m32") endif() i...
Update FW with resource allocation fix
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "e67dee8bba18786b8fabe8fe212455481ca5c8b3") # "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 "169d63f7c4360e0a1ad9de6917ce734d97113a75") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Add gomp openmp library for cross-compiling windows
SET(CMAKE_CROSSCOMPILING TRUE) # this one is important SET(CMAKE_SYSTEM_NAME Windows) #this one not so much SET(CMAKE_SYSTEM_VERSION 1) # specify the cross compiler SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) SET(CMAKE_Fortran_COMPILER x86_64-w64-mingw32-gf...
SET(CMAKE_CROSSCOMPILING TRUE) # this one is important SET(CMAKE_SYSTEM_NAME Windows) #this one not so much SET(CMAKE_SYSTEM_VERSION 1) # specify the cross compiler SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) SET(CMAKE_Fortran_COMPILER x86_64-w64-mingw32-gf...
Move comments to the lines they're commenting.
# -*- cmake -*- # Silence warning about overriding findZLIB.cmake with our own copy. if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 3) cmake_policy(SET CMP0017 OLD) cmake_policy(SET CMP0011 NEW) endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION}...
# -*- cmake -*- if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 3) # Silence warning about overriding findZLIB.cmake with our own copy. cmake_policy(SET CMP0017 OLD) # Silence warning about using policies to silence warnings about using policies. cmake_policy(...
Support tinyfiledialogs installations through vcpkg
FetchContent_Declare ( tinyfiledialogs GIT_REPOSITORY [[https://git.code.sf.net/p/tinyfiledialogs/code]] GIT_TAG [[e11f94cd7887b101d64f74892d769f0139b5e166]] ) FetchContent_GetProperties (tinyfiledialogs) if (NOT tinyfiledialogs_POPULATED) message (STATUS "Cloning tinyfiledialogs…") FetchContent_Populate (tinyfil...
find_package (tinyfiledialogs QUIET) if (NOT tinyfiledialogs_FOUND) FetchContent_Declare ( tinyfiledialogs GIT_REPOSITORY [[https://git.code.sf.net/p/tinyfiledialogs/code]] GIT_TAG [[e11f94cd7887b101d64f74892d769f0139b5e166]] ) FetchContent_GetProperties (tinyfiledialogs) if (NOT tinyfiledialogs_POPULATED) ...
Use PkgConfig to finde Clipper.
find_path(Clipper_INCLUDE_DIR polyclipping/clipper.hpp) find_library(Clipper_LIBRARIES polyclipping) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Clipper Clipper_INCLUDE_DIR Clipper_LIBRARIES)
# - Try to find Clipper # Once done this will define # Clipper_FOUND - System has Clipper # Clipper_INCLUDE_DIRS - The Clipper include directories # Clipper_LIBRARIES - The libraries needed to use Clipper # Clipper_DEFINITIONS - Compiler switches required for using Clipper find_package(PkgConfig) pkg_check_modules...
Use PROCESS_ENVIRONMENT as a list not a string
set(_proc_env "MACOSX_DEPLOYMENT_TARGET 10.9") # Horrible hack to force the configure step not to find getentropy and clock_gettime. # If we build on a version that has these defined ( even as weak symbols ) they will # be used and then we will get run time link errors when running on versions that # don't actually ha...
set(_proc_env "MACOSX_DEPLOYMENT_TARGET" "10.9") # Horrible hack to force the configure step not to find getentropy and clock_gettime. # If we build on a version that has these defined ( even as weak symbols ) they will # be used and then we will get run time link errors when running on versions that # don't actually ...
Remove other instance of string(CONCAT)
# FindPythonConfig # ---------------- # # This module locates Python libraries. # # This code sets the following variables: # # PYTHONCONFIG_FOUND - have the Python libs been found # PYTHON_COMPILE_FLAGS - compiler flags required to include Python headers # PYTHON_LINK_FLAGS - linker flags required to link Python libra...
# FindPythonConfig # ---------------- # # This module locates Python libraries. # # This code sets the following variables: # # PYTHONCONFIG_FOUND - have the Python libs been found # PYTHON_COMPILE_FLAGS - compiler flags required to include Python headers # PYTHON_LINK_FLAGS - linker flags required to link Python libra...
Fix duplicate variables in Windows
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY https://github.com/scifio/scifio-imageio.git GIT_TAG 99ccab489f9cd64ef4926cc4a539175e9207ac8d )
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY https://github.com/scifio/scifio-imageio.git GIT_TAG 71a701054bdb6e19fb21d7195e5878fc01179be4 )
Fix open source C++ Firestore building with -DFIREBASE_IOS_BUILD_TESTS=OFF.
# Copyright 2020 Google LLC # # 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 writing, ...
# Copyright 2020 Google LLC # # 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 writing, ...
Remove BOOST_LOG_DYN_LINK definition from tests
macro(package_add_test TESTNAME) add_executable(${TESTNAME}.x ${ARGN}) target_compile_options(${TESTNAME}.x PRIVATE -Wunused-parameter -Wall) target_compile_definitions(${TESTNAME}.x PRIVATE BOOST_LOG_DYN_LINK=true) target_link_libraries(${TESTNAME}.x JPetFramework Boost::unit_test_framework) add_te...
macro(package_add_test TESTNAME) add_executable(${TESTNAME}.x ${ARGN}) target_compile_options(${TESTNAME}.x PRIVATE -Wunused-parameter -Wall) target_link_libraries(${TESTNAME}.x JPetFramework Boost::unit_test_framework) add_test(NAME ${TESTNAME}.x COMMAND ${TESTNAME}.x "--log_level=ERROR --log_format=XM...
Fix debug/release detection in plaform.cmake
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) set(CMAKE_INSTALL_RPATH "./") set(CPACK_GENERATOR "DEB" "TGZ") set(CPACK_PACKAGE_VENDOR "osrose") set(CPACK_PACKAGE_VERSION_MAJOR 0) set(CPACK_PACKAGE_VERSION_MINOR 3) set(CPACK_PACKAGE_VERSION_PATCH 1) set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT") set(CPACK_DEBIAN_PACKAGE_SECT...
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) set(CMAKE_INSTALL_RPATH "./") set(CPACK_GENERATOR "DEB" "TGZ") set(CPACK_PACKAGE_VENDOR "osrose") set(CPACK_PACKAGE_VERSION_MAJOR 0) set(CPACK_PACKAGE_VERSION_MINOR 3) set(CPACK_PACKAGE_VERSION_PATCH 1) set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT") set(CPACK_DEBIAN_PACKAGE_SECT...
Add CMOCKA_INCLUDE_DIR for backwards compatibility
# FindCMocka # ---------- # Tries to find CMocka # # Variables: # CMOCKA_ROOT_DIR - Set this variable to the root installation of CMocka # # Read-Only variables: # CMOCKA_FOUND - system has CMocka # CMOCKA_INCLUDE_DIR - the CMocka include directory # CMOCKA_LIBRARIES - Link these to use CMocka # CMOCKA_DEFINITIONS...
# FindCMocka # ---------- # Tries to find CMocka # # Variables: # CMOCKA_ROOT_DIR - Set this variable to the root installation of CMocka # # Read-Only variables: # CMOCKA_FOUND - system has CMocka # CMOCKA_INCLUDE_DIRS - the CMocka include directories # CMOCKA_INCLUDE_DIR - for backwards compatiblity, the same as C...
Use RPATH by default for build and install trees
# Some default installation locations. These should be global, with any project # specific locations added to the end. These paths are all relative to the # install prefix. # # These paths attempt to adhere to the FHS, and are similar to those provided # by autotools and used in many Linux distributions. if(NOT INSTALL...
# Some default installation locations. These should be global, with any project # specific locations added to the end. These paths are all relative to the # install prefix. # # These paths attempt to adhere to the FHS, and are similar to those provided # by autotools and used in many Linux distributions. if(NOT INSTALL...
Enable native IPC model by default
set (PLIBSYS_THREAD_MODEL amiga) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL amiga) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_LIBRARYLOADER_MODEL amiga) set (PLIBSYS_RWLOCK_MODEL general) set (PLIBSYS_PLATFORM_LINK_LIBRARIES auto amiga unix) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT )
set (PLIBSYS_THREAD_MODEL amiga) set (PLIBSYS_IPC_MODEL amiga) set (PLIBSYS_TIME_PROFILER_MODEL amiga) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_LIBRARYLOADER_MODEL amiga) set (PLIBSYS_RWLOCK_MODEL general) set (PLIBSYS_PLATFORM_LINK_LIBRARIES auto amiga unix) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT )
Make aiur submit js coverage xml
# THIS IS A HACK to work around ctest/cdash's treatment of nightly builds # so that we can submit two separate coverage results from the same actual # build & test run. It will appear as two distinct builds in the dashboard, # but for now that looks like the easiest way to get both coverage results # to show up. set(C...
# THIS IS A HACK to work around ctest/cdash's treatment of nightly builds # so that we can submit two separate coverage results from the same actual # build & test run. It will appear as two distinct builds in the dashboard, # but for now that looks like the easiest way to get both coverage results # to show up. set(C...
Set warning properties for MSVC properly
macro (apply_strict_compile_options_to_this_directory) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Werror) elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -pedantic -Werror) elseif ...
macro (apply_strict_compile_options_to_this_directory) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Werror) elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -pedantic -Werror) elseif ...
Add support for extended and subpixel together
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "ade89030cc99e5fb7045bd4eda5705b134631af2") # "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 "6d55842132d2ef37b6a6aeaaf810a8e745cd457c") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: configurable FPS and fix enumeration issues with AR0234
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "09389b417b6a358f866e9619a6e937641ba006ac") # "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 "b7a1378f5f3b5c93d281f39659a8bfb3982340ff") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Disable warning on `std::strerror()` from Visual Studio
macro (apply_strict_compile_options_to_this_directory) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Werror) elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS /...
macro (apply_strict_compile_options_to_this_directory) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Werror) elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC") set_property(DIRECTORY PROPERTY COMPILE_OPTIONS /...
Exclude freetype form iOS and andriod
vtk_module(vtkRenderingFreeTypeOpenGL2 IMPLEMENTS vtkRenderingCore TCL_NAME vtkRenderingFreeTypeOpenGLII BACKEND OpenGL2 DEPENDS vtkRenderingFreeType vtkRenderingOpenGL2 TEST_DEPENDS vtkTestingCore vtkTestingRendering vtkInteractionStyle KIT vtkOpenGL )
if (NOT ANDROID AND NOT APPLE_IOS) set(include_in_backend BACKEND OpenGL2) endif() vtk_module(vtkRenderingFreeTypeOpenGL2 IMPLEMENTS vtkRenderingCore TCL_NAME vtkRenderingFreeTypeOpenGLII ${include_in_backend} DEPENDS vtkRenderingFreeType vtkRenderingOpenGL2 TEST_DEPENDS vtkTestingCore ...
Include build flag in config
#ifndef _CONFIG_HPP_ #define _CONFIG_HPP_ #cmakedefine ENABLE_ALSA #cmakedefine ENABLE_MPD #cmakedefine ENABLE_I3 #define BUILDER_SPACE_TOKEN "%__" #define ALSA_SOUNDCARD "@SETTING_ALSA_SOUNDCARD@" #define MPD_HOST "@SETTING_MPD_HOST@" #define MPD_PASSWORD "@SETTING_MPD_PASSWORD@" #define MPD_PORT @SETTING_MPD_PORT@ ...
#ifndef _CONFIG_HPP_ #define _CONFIG_HPP_ #cmakedefine ENABLE_ALSA #cmakedefine ENABLE_MPD #cmakedefine ENABLE_NETWORK #cmakedefine ENABLE_I3 #define BUILDER_SPACE_TOKEN "%__" #define ALSA_SOUNDCARD "@SETTING_ALSA_SOUNDCARD@" #define MPD_HOST "@SETTING_MPD_HOST@" #define MPD_PASSWORD "@SETTING_MPD_PASSWORD@" #define ...
Add Lib: Reformat CMake code
function(add_lib name) cmake_parse_arguments (ARG "CPP" # optional keywords "" # one value keywords "SOURCES;LINK_LIBRARIES;LINK_ELEKTRA" # multi value keywords ${ARGN} ) add_headers(ARG_SOURCES) if (ARG_CPP) add_cppheaders(ARG_SOURCES) endif (ARG_CPP) if (BUILD_SHARED) add_library (elektra-${name} ...
function (add_lib name) cmake_parse_arguments (ARG "CPP" # optional keywords "" # one value keywords "SOURCES;LINK_LIBRARIES;LINK_ELEKTRA" # multi value keywords ${ARGN}) add_headers (ARG_SOURCES) if (ARG_CPP) add_cppheaders (ARG_SOURCES) endif (ARG_CPP) if (BUILD_SHARED...
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...
Fix error that prevented re-build
# Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 find_program(CCACHE "ccache") if(CCACHE) set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) endif() include(${MBED_CONFIG_PATH}/mbed_config.cmake) set(MBED_TOOLCHAIN_FILE_USED FALSE) ...
# Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 find_program(CCACHE "ccache") if(CCACHE) set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) endif() include(${MBED_CONFIG_PATH}/mbed_config.cmake) # Set default toolchain file if(NOT ...
Set coverage thresholds so that the test suite passes
set(CTEST_SOURCE_DIRECTORY "$ENV{GIRDER_SOURCE_DIR}") set(CTEST_BINARY_DIRECTORY "$ENV{GIRDER_BUILD_DIR}") include(${CTEST_SOURCE_DIRECTORY}/CTestConfig.cmake) set(CTEST_SITE "Travis") set(CTEST_BUILD_NAME "Linux-$ENV{TRAVIS_BRANCH}") set(CTEST_CMAKE_GENERATOR "Unix Makefiles") set(MINERVA_COVERAGE_CONFIG "${CTEST_SOU...
set(CTEST_SOURCE_DIRECTORY "$ENV{GIRDER_SOURCE_DIR}") set(CTEST_BINARY_DIRECTORY "$ENV{GIRDER_BUILD_DIR}") include(${CTEST_SOURCE_DIRECTORY}/CTestConfig.cmake) set(CTEST_SITE "Travis") set(CTEST_BUILD_NAME "Linux-$ENV{TRAVIS_BRANCH}") set(CTEST_CMAKE_GENERATOR "Unix Makefiles") set(MINERVA_COVERAGE_CONFIG "${CTEST_SOU...
Package xproto: added dependency for xorg-macros
# Copyright (c) 2016 Ruslan Baratov # All rights reserved. # !!! DO NOT PLACE HEADER GUARDS HERE !!! include(hunter_add_version) include(hunter_cacheable) include(hunter_configuration_types) include(hunter_download) include(hunter_pick_scheme) # http://www.x.org/releases/X11R7.7/src/proto/ hunter_add_version( PA...
# Copyright (c) 2016 Ruslan Baratov # All rights reserved. # !!! DO NOT PLACE HEADER GUARDS HERE !!! include(hunter_add_version) include(hunter_cacheable) include(hunter_cmake_args) include(hunter_configuration_types) include(hunter_download) include(hunter_pick_scheme) # http://www.x.org/releases/X11R7.7/src/proto/...
Install to dist-packages by default on ubuntu.
find_package(Boost COMPONENTS python REQUIRED ) find_package(PythonLibs REQUIRED) include_directories( ${PYTHON_INCLUDE_PATH} ${Boost_INCLUDE_DIRS} ) set(ECTO_DEP_LIBS ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} ) #detect the python version and install directories find_package(PythonInterp REQUIRED) execu...
find_package(Boost COMPONENTS python REQUIRED ) find_package(PythonLibs REQUIRED) include_directories( ${PYTHON_INCLUDE_PATH} ${Boost_INCLUDE_DIRS} ) set(ECTO_DEP_LIBS ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} ) #detect the python version and install directories find_package(PythonInterp REQUIRED) execu...
Add again file on Windows
# FindAllegro # ----------- # # Finds the Allegro 5 Library... or at least tries. # # This will define the following variables:: # # Allegro_FOUND - True if the system has the Foo library # Allegro_VERSION - The version of the Foo library which was found # # and the following imported targets:: # # Allegro::A...
# FindAllegro # ----------- # Copyright (c) 2018 Rodolfo Lam. All Rights Reserved. # # Finds the Allegro 5 Library... or at least tries. # # This will define the following variables:: # # Allegro_FOUND - True if the system has the Foo library # Allegro_VERSION - The version of the Foo library which was found # ...
Use BSD types on IRIX for struct timeval
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL posix) set (PLIB_TIME_PROFILER_MODEL posix) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_DEFINES -D_PTHREADS -D_POSIX_C_SOURCE=199506L ) set (PLIB_PLATFORM_LINK_LIBRARIES pthread)
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL posix) set (PLIB_TIME_PROFILER_MODEL posix) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_DEFINES -D_PTHREADS -D_POSIX_C_SOURCE=199506L -D_BSD_TYPES ) set (PLIB_PLATFORM_LINK_LIBRARIES pthread)
Bring in IOFDF license updates.
itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG 570f6a3202d9a8b301945b9ff05950fe69ee0e9c )
itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG f52592da33c226b9ffc43a173d3c747b8fc4f241 )
Fix comment in CMake file for BDB.
# Find the Berkeley DB include files and libraries. Sets the following # variables: # BERKELEY_DB_INCLUDE_DIR # BERKELEY_DB_FOUND find_path(BERKELEY_DB_INCLUDE_DIR db.h /opt/local/include/db47 /usr/local/include/db4 /usr/local/include /usr/include/db4 /usr/include ) find_library(BERKELEY_DB_LI...
# Find the Berkeley DB include files and libraries. Sets the following # variables: # BERKELEY_DB_INCLUDE_DIR # BERKELEY_DB_FOUND # BERKELEY_DB_LIBRARIES find_path(BERKELEY_DB_INCLUDE_DIR db.h /opt/local/include/db47 /usr/local/include/db4 /usr/local/include /usr/include/db4 /usr/include ) f...
Update the SimpleITK Examples superbuild sitk directory
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 $...
Fix still image output in RGB postprocessing
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "30d8539b9a7b6b056cdb9d3deab5036542204dd2") # "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 "4edb4923933e4cf2750f1958e4dee77de2cdca3f") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW to latest develop
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "5e256e60d6c3552f9ce24a1df364abd3a11045ef") # "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 "0ea4495f759d6baae338ff6fad9cc576802f41f7") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix a potential crash with `DEPTHAI_WATCHDOG=0`
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "0f02e98b07c988a0bcf95da20046b87f3fa8df7a") # "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 "31be3c3f138f11050b6a3d6ab6ad7f686f86e18f") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Set default versions for dependencies
# Copyright (c) 2011, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_depend(boost) add_definitions(-DBOOST_TEST_ALTERNATIVE_INIT_API) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_test _name) # Shared build target for all tests...
# Copyright (c) 2011, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_set_default_version(boost proxy) vpm_depend(boost) add_definitions(-DBOOST_TEST_ALTERNATIVE_INIT_API) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_test _name) ...
Add detection of naming threads using pthreads
set(thread_naming_defines) include(CMakePushCheckState) include(CheckFunctionExists) cmake_push_check_state() check_function_exists(setproctitle HAVE_SETPROCTITLE) cmake_pop_check_state() if (HAVE_SETPROCTITLE) set(thread_naming_defines ${thread_naming_defines} HAVE_SETPROCTITLE) endif ()
set(thread_naming_defines) include(CMakePushCheckState) include(CheckFunctionExists) if (CMAKE_USE_PTHREADS_INIT) cmake_push_check_state() set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_THREAD_LIBS_INIT}) check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP) check_function_exists(pthread_set_name_np HAVE_PT...
Update the SimpleITK_DIR version to the current SimpleITK version
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 $...
Update FW: reduce ColorCamera still pool: 4 -> 1 frame
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "fe17fa5db71454e10b9745ec70a2ce09f17f45d6") # "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 "2d4eac697a1c0f12d07b82188378fb15d984a1b9") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: initial support for LUX-D-LITE: IMX214 and OV7251
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "d2b298e834f3cf746071059e2c1e1c4d37b724af") # "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 "459203870e45507d1eaabe31766a7a42d0b616bb") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
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 )
Patch for ITK clang compatibility
# Called by ITK.cmake (ExternalProject_Add) as a patch for ITK to work witk GDCM 2.0.18 # First patch # updates library dependencies # read whole file CMakeLists.txt file(STRINGS CMakeLists.txt sourceCode NEWLINE_CONSUME) # substitute dependency to gdcmMSFF by dependencies for more libraries string(REGEX REPLACE "gdc...
# Called by ITK.cmake (ExternalProject_Add) as a patch for ITK to work witk GDCM 2.0.18 # First patch # updates library dependencies # read whole file CMakeLists.txt file(STRINGS CMakeLists.txt sourceCode NEWLINE_CONSUME) # substitute dependency to gdcmMSFF by dependencies for more libraries string(REGEX REPLACE "gdc...
Add the include path for external cross compiled library (like curl)
# this one is important SET (CMAKE_SYSTEM_NAME Linux) # this one not so much SET (CMAKE_SYSTEM_VERSION 1) # Check for Raspberry Pi Tools and bail out if they don't have it if(DEFINED ENV{PI_TOOLS_HOME}) message("Using Raspberry Pi Tools found in $ENV{PI_TOOLS_HOME}") else() message("PI_TOOLS_HOME is not set; You m...
# this one is important SET (CMAKE_SYSTEM_NAME Linux) # this one not so much SET (CMAKE_SYSTEM_VERSION 1) # Check for Raspberry Pi Tools and bail out if they don't have it if(DEFINED ENV{PI_TOOLS_HOME}) message("Using Raspberry Pi Tools found in $ENV{PI_TOOLS_HOME}") else() message("PI_TOOLS_HOME is not set; You m...
Update FW: - fix for high system load crash, especially on PoE devices - for for OV9282 as MonoCamera on RGB/CAM_A socket
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "a555263a9dbff1166088bcb758ab4306dca9ae1a") # "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 "c62955ce3e726f06e81eb5b0b868c3cb0866a5bf") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Set boost default version and variant to 1.53.0 proxy
# Copyright (c) 2011, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_set_default_version(boost proxy) vpm_depend(boost) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_test _name) # Shared build target for all tests if(NOT TARGE...
# Copyright (c) 2011-2013, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_set_default_variant(boost proxy) vpm_set_default_version(boost 1.53.0) vpm_depend(boost) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_test _name) # Share...
Set directory hints for FindBoost module in case of superbuilded boost with binary libraries.
if(MITK_USE_Boost) if(NOT MITK_USE_SYSTEM_Boost) set(Boost_NO_SYSTEM_PATHS 1) endif() set(Boost_USE_MULTITHREADED 1) set(Boost_USE_STATIC_LIBS 0) set(Boost_USE_STATIC_RUNTIME 0) if(MITK_USE_Boost_LIBRARIES) find_package(Boost 1.54.0 REQUIRED COMPONENTS ${MITK_USE_Boost_LIBRARIES}) else() fi...
if(MITK_USE_Boost) if(NOT MITK_USE_SYSTEM_Boost) set(Boost_NO_SYSTEM_PATHS 1) endif() set(Boost_USE_MULTITHREADED 1) set(Boost_USE_STATIC_LIBS 0) set(Boost_USE_STATIC_RUNTIME 0) if(MITK_USE_Boost_LIBRARIES) if(NOT MITK_USE_SYSTEM_Boost) set(BOOST_INCLUDEDIR ${CMAKE_BINARY_DIR}/Boost-install...
Use SHA for LabelErodeDilate module.
itk_fetch_module(LabelErodeDilate "Classes performing morphology efficiently on label images. Label collisions are consistently handled, and operations are efficient (approximately constant time wrt structuring element size). Only circular/spherical/hyperspherical structuring elements are supported. http://...
itk_fetch_module(LabelErodeDilate "Classes performing morphology efficiently on label images. Label collisions are consistently handled, and operations are efficient (approximately constant time wrt structuring element size). Only circular/spherical/hyperspherical structuring elements are supported. http://...
Add more SDK path hints
include(FindPackageHandleStandardArgs) find_path(SDK_INCLUDE_DIR NAMES "plugin.h" "plugincommon.h" PATHS ENV "SAMP_SDK_DIR" PATH_SUFFIXES "SDK" DOC "Path to SA-MP plugin SDK" NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH) find_package_handle_standard_args(SDK REQUIR...
include(FindPackageHandleStandardArgs) find_path(SDK_INCLUDE_DIR NAMES plugin.h plugincommon.h HINTS ${SAMP_SDK_DIR} ENV SAMP_SDK_DIR ${SDK_DIR} ENV SDK_DIR PATH_SUFFIXES sdk SDK DOC "Path to SA-MP plugin SDK" NO_SYSTEM_ENVIRONMEN...
Update FW: OV9782 on RGB socket, working with OV9282 on L/R
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "2f108d8888ca6c318efba10fb0a8859d1e21d2dc") # "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 "c2bf875327990b95a84aaa0e5d5fe05fa68e0592") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Add GCC -Og flag fallback to -O0.
# SPDX-License-Identifier: Apache-2.0 # See root CMakeLists.txt for description and expectations of this macro # # NOTE: Some GNU toolchains break with plain '-Os' or '-Og', but is fixable # with tweaks. So allow user to override, via ifndef, the compile flags that # CONFIG_{NO,DEBUG,SPEED,SIZE}_OPTIMIZATIONS will cau...
# SPDX-License-Identifier: Apache-2.0 # See root CMakeLists.txt for description and expectations of this macro # # NOTE: Some GNU toolchains break with plain '-Os' or '-Og', but is fixable # with tweaks. So allow user to override, via ifndef, the compile flags that # CONFIG_{NO,DEBUG,SPEED,SIZE}_OPTIMIZATIONS will cau...
Update PhaseSymmetry for Doxygen configuration
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(PhaseSymmetry "Provides multi-scale steerable filters for computing phase symmetry. For more information, see the Insight Journal article: Hatt C. Multi-scale Steerable Phase-Symmetry Filters for ITK The Insight Journal. July-December. 2011. http...
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(PhaseSymmetry "Provides multi-scale steerable filters for computing phase symmetry. For more information, see the Insight Journal article: Hatt C. Multi-scale Steerable Phase-Symmetry Filters for ITK The Insight Journal. July-December. 2011. http...
Fix a typo in cmake slist detection
MESSAGE(STATUS "Checking for gnu slist") CHECK_CXX_SOURCE_COMPILES( "#include <ext/slist> int main(int, char**) { __gnu_cxx::slist<int> l; return 0; }" BALL_HAS_GNU_SLIST ) IF(BALL_HAS_GNU_SLIST) MESSAGE(STATUS "Checking for gnu slist - Found") ELSE() MESSAGE(STATUS "Checking for gnu slist - Found") ...
MESSAGE(STATUS "Checking for gnu slist") CHECK_CXX_SOURCE_COMPILES( "#include <ext/slist> int main(int, char**) { __gnu_cxx::slist<int> l; return 0; }" BALL_HAS_GNU_SLIST ) IF(BALL_HAS_GNU_SLIST) MESSAGE(STATUS "Checking for gnu slist - Found") ELSE() MESSAGE(STATUS "Checking for gnu slist - Not foun...
Fix module dependency of ITK-CurvatureFlow.
itk_module(ITK-CurvatureFlow DEPENDS ITK-Common TEST_DEPENDS ITK-TestKernel)
itk_module(ITK-CurvatureFlow DEPENDS ITK-ImageFilterBase ITK-FiniteDifference TEST_DEPENDS ITK-TestKernel)
Make TriBITS pass SYSTEM to INCLUDE_DIRECTORIES() for Boost TPL when building the tests
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( LIB_REQUIRED_PACKAGES Kokkos Teuchos Tpetra Intrepid2 LIB_REQUIRED_TPLS MPI LIB_OPTIONAL_TPLS BoostOrg Netcdf )
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( LIB_REQUIRED_PACKAGES Kokkos Teuchos Tpetra Intrepid2 LIB_REQUIRED_TPLS MPI LIB_OPTIONAL_TPLS BoostOrg Netcdf TEST_OPTIONAL_TPLS # BoostOrg is listed twice to have -isystem added to the include directories for the TPL when compiling the tests....
Fix incorrect case of Boost dep BZip2
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. include(hunter_test_string_not_empty) function(hunter_install_boost_config) hunter_test_string_not_empty("${HUNTER_SELF}") hunter_test_string_not_empty("${HUNTER_PACKAGE_INSTALL_PREFIX}") hunter_test_string_not_empty("${HUNTER_Boost_VERSION}") set(t...
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. include(hunter_test_string_not_empty) function(hunter_install_boost_config) hunter_test_string_not_empty("${HUNTER_SELF}") hunter_test_string_not_empty("${HUNTER_PACKAGE_INSTALL_PREFIX}") hunter_test_string_not_empty("${HUNTER_Boost_VERSION}") set(t...
Add ITK patches for DCMTK
# Set GIT tag here for use in multiple CMakeLists.txt # set(DCMTK_GIT_REPOSITORY "https://github.com/InsightSoftwareConsortium/DCMTK.git") # 2018.01.16 patched # Patch list: # COMP: Uses ITK PNG instead of system PNG # BUG: when using ITK_ZLIB, wasn't finding zlib header # COMP: Set 3rd party package CMake variables on...
# Set GIT tag here for use in multiple CMakeLists.txt # set(DCMTK_GIT_REPOSITORY "https://github.com/InsightSoftwareConsortium/DCMTK.git") # 2020.02.14 patched # Patch list: #Francois Budin (1): #COMP: Uses ITK PNG instead of system PNG #Hans Johnson (1): #COMP: Mods to allow using ITK libs #Jean-Ch...
Update MITK Data revision tag
#----------------------------------------------------------------------------- # 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...
Patch in order to compile when no there is no .svn.
SET(LIBMV_VERSION_MAJOR 0) SET(LIBMV_VERSION_MINOR 0) # The standard GNU version numbering scheme is major.minor.revision FIND_PACKAGE(Subversion) IF(Subversion_FOUND) Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} ER) SET(SUBVERSION_REVISION ${ER_WC_REVISION}) SET(LIBMV_VERSION_PATCH ${SUBVERSION_REVISION}) EL...
SET(LIBMV_VERSION_MAJOR 0) SET(LIBMV_VERSION_MINOR 0) SET(LIBMV_VERSION_PATCH 9) #or the svn revision # The standard GNU version numbering scheme is major.minor.revision IF (EXISTS ${LIBMV_SOURCE_DIR}/.svn) # Probably a SVN workspace, determine revision level FIND_PACKAGE(Subversion) IF(Subversion_FOUND) S...
Use the same print style as everything else.
set(OCTOMAP_LIBPATH /opt/ros/indigo/lib /usr/lib /usr/local/lib) find_library(OCTOMAP_LIBRARY octomap PATH ${OCTOMAP_LIBPATH}) message("Find octomap lib ${OCTOMAP_LIBRARY}") find_library(OCTOMAP_OCTOMATH_LIBRARY octomath PATH ${OCTOMAP_LIBPATH}) message("Find octomath lib ${OCTOMAP_OCTOMATH_LIBRARY}") set(OCTO...
set(OCTOMAP_LIBPATH /opt/ros/indigo/lib /usr/lib /usr/local/lib) find_library(OCTOMAP_LIBRARY octomap PATH ${OCTOMAP_LIBPATH}) message("-- Find octomap lib ${OCTOMAP_LIBRARY}") find_library(OCTOMAP_OCTOMATH_LIBRARY octomath PATH ${OCTOMAP_LIBPATH}) message("-- Find octomath lib ${OCTOMAP_OCTOMATH_LIBRARY}") se...
Update FW with stereo fixes for instance number; RGB depth alignment
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "1c3271f30b6bf60cc9f2000ebf2948e5fc0cf416") # "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 "3632be26e225b8078b2ce91f02910e32f478f7a2") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Add License to FindGoolgMock.cmake file
# This file is a part of the OpenSurgSim project. # Copyright 2012-2013, SimQuest Solutions Inc. # - Try to find the Google Mock Source directory # # Once done this will define # GOOGLEMOCK_FOUND # GOOGLEMOCK_DIR # if(NOT GOOGLEMOCK_DIR) find_path(GOOGLEMOCK_DIR NAMES src/gmock.cc PATHS "$ENV{GOOGLEMOCK_DIR}"...
# This file is a part of the OpenSurgSim project. # Copyright 2014, SimQuest Solutions 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 ...
Include Coverage as allowed build type.
# guard against in-source builds if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.") endif() # guard against bad build-type strings if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TY...
# guard against in-source builds if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.") endif() # guard against bad build-type strings if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TY...
Remove comment in ITKImageFrequency cmake
set(DOCUMENTATION "This module contains classes to iterate over images in the frequency domain, and filters to apply band pass filters based on frequency. A more detailed description can be found in the Insight Journal article:: Cerdan, P.H. \"ITK Wavelet Module\". http://hdl.handle.net/10380/3558 September, 2016...
set(DOCUMENTATION "This module contains classes to iterate over images in the frequency domain, and filters to apply band pass filters based on frequency. A more detailed description can be found in the Insight Journal article:: Cerdan, P.H. \"ITK Wavelet Module\". http://hdl.handle.net/10380/3558 September, 2016...
Remove RPATH entries from installed external plug-ins.
MACRO(MACRO_INSTALL_CTK_PLUGIN) MACRO_PARSE_ARGUMENTS(_INSTALL "TARGETS;DESTINATION" "" ${ARGN}) IF(NOT _INSTALL_DESTINATION) SET(_INSTALL_DESTINATION "bin/") ELSE() SET(_INSTALL_DESTINATION "${_INSTALL_DESTINATION}/") ENDIF() FOREACH(_install_target ${_INSTALL_TARGETS}) GET_TARGET_PROPERTY(_...
MACRO(MACRO_INSTALL_CTK_PLUGIN) MACRO_PARSE_ARGUMENTS(_INSTALL "TARGETS;DESTINATION" "" ${ARGN}) IF(NOT _INSTALL_DESTINATION) SET(_INSTALL_DESTINATION "bin/") ELSE() SET(_INSTALL_DESTINATION "${_INSTALL_DESTINATION}/") ENDIF() FOREACH(_install_target ${_INSTALL_TARGETS}) GET_TARGET_PROPERTY(_...
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()
Update Visualization/VTK/Widgets/CMakeLists.txt - VisualizationVTKWidgets now depends on CTKWidgets library
# # See CMake/ctkMacroGetTargetLibraries.cmake # # This file should list the libraries required to build the current CTK libraries # SET(target_libraries VTK_LIBRARIES CTKVisualizationVTKCore )
# # See CMake/ctkMacroGetTargetLibraries.cmake # # This file should list the libraries required to build the current CTK libraries # SET(target_libraries VTK_LIBRARIES CTKWidgets CTKVisualizationVTKCore )
Update VariationalRegistration to address Doxygen warnings
# Insight Journal Handle: https://hdl.handle.net/10380/3460 # Contact: Alexander Schmidt-Richberg <a.schmidt-richberg@imperial.ac.uk> # Jan Ehrhardt <ehrhardt@imi.uni-luebeck.de> # Rene Werner <r.werner@uke.de> itk_fetch_module(VariationalRegistration "A module to perform variational image registrat...
# Insight Journal Handle: https://hdl.handle.net/10380/3460 # Contact: Alexander Schmidt-Richberg <a.schmidt-richberg@imperial.ac.uk> # Jan Ehrhardt <ehrhardt@imi.uni-luebeck.de> # Rene Werner <r.werner@uke.de> itk_fetch_module(VariationalRegistration "A module to perform variational image registrat...
Add search paths for GoogleTest as source code on system
option(ITK_USE_SYSTEM_GOOGLETEST "Use an outside build or installed source of GoogleTest. Set GTEST_ROOT to specify location." ${ITK_USE_SYSTEM_LIBRARIES}) mark_as_advanced(ITK_USE_SYSTEM_GOOGLETEST) if(ITK_USE_SYSTEM_GOOGLETEST) # The recommendation from google test is NOT to compile google tests # for system ins...
option(ITK_USE_SYSTEM_GOOGLETEST "Use an outside build or installed source of GoogleTest. Set GTEST_ROOT to specify location." ${ITK_USE_SYSTEM_LIBRARIES}) mark_as_advanced(ITK_USE_SYSTEM_GOOGLETEST) if(ITK_USE_SYSTEM_GOOGLETEST) # The recommendation from google test is NOT to compile google tests # for system ins...
Remove outdated use of find_dependency
include(CMakeFindDependencyMacro) find_dependency(range-v3 0.10.0) include(${CMAKE_CURRENT_LIST_DIR}/jegp-targets.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/jegp-targets.cmake)
Remove capnp and libz for XDC parser PR.
find_package(TCL) if(NOT ${TCL_FOUND}) message(FATAL_ERROR "Tcl is required for FPGA interchange Arch.") endif() foreach (target ${family_targets}) target_link_libraries(${target} LINK_PUBLIC ${TCL_LIBRARY}) include_directories (${TCL_INCLUDE_PATH}) target_link_libraries(${target} LINK_PUBLIC capnp) ...
find_package(TCL) if(NOT ${TCL_FOUND}) message(FATAL_ERROR "Tcl is required for FPGA interchange Arch.") endif() foreach (target ${family_targets}) target_link_libraries(${target} LINK_PUBLIC ${TCL_LIBRARY}) include_directories (${TCL_INCLUDE_PATH}) endforeach()
Add pidfile entry for gige-daemon
[Unit] Description=GigE indexing daemon Requires=network.target After=network.target [Service] Type=simple ExecStart=@CMAKE_INSTALL_PREFIX@/bin/gige-daemon start --no-fork ExecStop=@CMAKE_INSTALL_PREFIX@/bin/gige-daemon stop [Install] WantedBy=multi-user.target
[Unit] Description=GigE indexing daemon Requires=network.target After=network.target [Service] PIDFile=/var/lock/gige-daemon.lock Type=simple ExecStart=@CMAKE_INSTALL_PREFIX@/bin/gige-daemon start --no-fork ExecStop=@CMAKE_INSTALL_PREFIX@/bin/gige-daemon stop [Install] WantedBy=multi-user.target
Disable malloc() use inside littlefs
# # file: littlefs-sources.cmake # # author: Copyright (C) 2018-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info # # 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://moz...
# # file: littlefs-sources.cmake # # author: Copyright (C) 2018-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info # # 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://moz...
Fix for atomic intrinsics detection when using MSVC.
# atomic builtins are required for threading support. INCLUDE(CheckCXXSourceCompiles) CHECK_CXX_SOURCE_COMPILES(" int main() { volatile unsigned long val = 1; __sync_synchronize(); __sync_val_compare_and_swap(&val, 1, 0); __sync_add_and_fetch(&val, 1); __sync_sub_and_fetch(&va...
# atomic builtins are required for threading support. INCLUDE(CheckCXXSourceCompiles) #ifdef _MSC_VER #include <windows.h> #endif CHECK_CXX_SOURCE_COMPILES(" int main() { #ifdef _MSC_VER volatile LONG val = 1; MemoryBarrier(); InterlockedCompareExchange(&val, 0, 1); InterlockedIncrem...
Update pkg-config generation to fix libdir
# # pkgconfig for rtosc # prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${exec_prefix} includedir=${prefix}/include Name: rtosc Description: rtosc - a realtime safe open sound control serialization and dispatch system Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ Libs: -L${libdir} -lrtosc Cfla...
# # pkgconfig for rtosc # prefix=@CMAKE_INSTALL_PREFIX@ libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: rtosc Description: rtosc - a realtime safe open sound control serialization and dispatch system Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ Libs: -L${libdir} -lrtosc...