Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix IOSTL Doxygen group and Windows shared build.
# Contact: Luis Ibanez <luis.ibanez@kitware.com> itk_fetch_module(IOSTL "This module contains classes for reading and writing QuadEdgeMeshes using the STL (STereoLithography)file format. http://hdl.handle.net/10380/3452" GIT_REPOSITORY https://github.com/luisibanez/ITKSTLMeshIO.git GIT_TAG ebb492ceeb443b9b41845...
# Contact: Luis Ibanez <luis.ibanez@kitware.com> itk_fetch_module(IOSTL "This module contains classes for reading and writing QuadEdgeMeshes using the STL (STereoLithography)file format. http://hdl.handle.net/10380/3452" GIT_REPOSITORY https://github.com/InsightSoftwareConsortium/ITKSTLMeshIO.git GIT_TAG 933359...
Fix SSP compiler flag check
# - Check whether the C compiler supports a given flag in the # context of a stack checking compiler option. # CHECK_C_COMPILER_FLAG_SSP(FLAG VARIABLE) # # FLAG - the compiler flag # VARIABLE - variable to store the result # # This actually calls check_c_source_compiles. # See help for CheckCSourceCompiles for a l...
# - Check whether the C compiler supports a given flag in the # context of a stack checking compiler option. # CHECK_C_COMPILER_FLAG_SSP(FLAG VARIABLE) # # FLAG - the compiler flag # VARIABLE - variable to store the result # # This actually calls check_c_source_compiles. # See help for CheckCSourceCompiles for a l...
Update FW: zero out uninitialized DDR memory
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "a6ed5f116c68dfd4514533867411b479a2fdfea1") # "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 "48fca4a443d841221c94c70d5c05e7e946168636") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: fix some OV7251 flickering, change stereo res to 480p, improve IMX214 focusing
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "9cbd496b930bb28a3d6642c156c60c6f158943ca") # "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 "8ebbc98374f6970e227804c235e87e8801043bf1") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Remove version requirements of unused libraries
hunter_config(GTest VERSION 1.8.0-hunter-p5) hunter_config(glog VERSION 0.3.4-p2) hunter_config(Boost VERSION 1.63.0) hunter_config(OpenSSL VERSION 1.1.0e)
hunter_config(GTest VERSION 1.8.0-hunter-p5) hunter_config(Boost VERSION 1.63.0)
Use the new BALL_HAS_XDR CMake flag
### the directory name ### SET(DIRECTORY source/CONCEPT) ### list all filenames of the directory here ### SET(SOURCES_LIST autoDeletable.C composite.C embeddable.C enumerator.C factory.C object.C persistenceManager.C preferencesObject.C processor.C property.C selectable.C textPersistenceManager.C timeStam...
### the directory name ### SET(DIRECTORY source/CONCEPT) ### list all filenames of the directory here ### SET(SOURCES_LIST autoDeletable.C composite.C embeddable.C enumerator.C factory.C object.C persistenceManager.C preferencesObject.C processor.C property.C selectable.C textPersistenceManager.C timeStam...
Fix ColorCamera resource allocation when setIspScale is used
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "8c8ee74873f3a0caa83009c7ff00353fa1c91e97") # "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 "c1b1c5fe00931df3c9408eb64933d6b195deb7be") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix compilation error introduced by a previous windows-related bugfix.
# have ExternalProject available include(ExternalProject) #set( ASSIMP_BUILD_ASSIMP_TOOLS OFF CACHE BOOL "" FORCE ) #set( ASSIMP_BUILD_TESTS OFF CACHE BOOL "" FORCE ) #set( ASSIMP_BUILD_SAMPLES OFF CACHE BOOL "" FORCE ) # here is defined the way we want to import assimp ExternalProject_Add( assimp # ...
# have ExternalProject available include(ExternalProject) #set( ASSIMP_BUILD_ASSIMP_TOOLS OFF CACHE BOOL "" FORCE ) #set( ASSIMP_BUILD_TESTS OFF CACHE BOOL "" FORCE ) #set( ASSIMP_BUILD_SAMPLES OFF CACHE BOOL "" FORCE ) # here is defined the way we want to import assimp ExternalProject_Add( assimp # ...
Increment version to VTK 7.0.0
# VTK version number components. set(VTK_MAJOR_VERSION 6) set(VTK_MINOR_VERSION 3) set(VTK_BUILD_VERSION 0)
# VTK version number components. set(VTK_MAJOR_VERSION 7) set(VTK_MINOR_VERSION 0) set(VTK_BUILD_VERSION 0)
Add style test on dicom_viewer_test
add_standard_plugin_tests(NO_SERVER_TESTS) add_python_test(dicom_viewer PLUGIN dicom_viewer EXTERNAL_DATA plugins/dicom_viewer/000000.dcm plugins/dicom_viewer/000001.dcm plugins/dicom_viewer/000002.dcm plugins/dicom_viewer/000003.dcm ) set(_pluginDir "${CMAKE_CURRENT_LIST_DIR}") get_filename_component(_pl...
add_standard_plugin_tests(NO_SERVER_TESTS) add_python_test(dicom_viewer PLUGIN dicom_viewer EXTERNAL_DATA plugins/dicom_viewer/000000.dcm plugins/dicom_viewer/000001.dcm plugins/dicom_viewer/000002.dcm plugins/dicom_viewer/000003.dcm ) get_filename_component(_pluginName "${CMAKE_CURRENT_LIST_DIR}" NAME) ...
Add -D_DEFAULT_SOURCE for modern platforms
if( CMAKE_SYSTEM_NAME MATCHES "Linux" ) set( LINUX TRUE ) add_definitions( -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE ) endif( CMAKE_SYSTEM_NAME MATCHES "Linux" ) if( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" ) set( FREEBSD TRUE ) set( BSD TRUE ) endif( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" ) if( CMAKE_SYSTEM_NAME MATCHES ...
if( CMAKE_SYSTEM_NAME MATCHES "Linux" ) set( LINUX TRUE ) add_definitions( -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE ) add_definitions( -D_DEFAULT_SOURCE ) endif( CMAKE_SYSTEM_NAME MATCHES "Linux" ) if( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" ) set( FREEBSD TRUE ) set( BSD TRUE ) endif( CMAKE_SYSTEM_NAME MATCHES "Free...
Use master branch for website deployment
# ----------------------------------------------------------------------------- # # Copyright (C) The BioDynaMo Project. # 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. # # See the LICENSE file distributed with...
# ----------------------------------------------------------------------------- # # Copyright (C) The BioDynaMo Project. # 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. # # See the LICENSE file distributed with...
Implement SETUPTOOLS_DEB_LAYOUT to handle non debian systems.
find_package(PythonInterp) execute_process(COMMAND ${PYTHON_EXECUTABLE} ${catkin_EXTRAS_DIR}/python_version.py OUTPUT_VARIABLE PYTHON_VERSION_XDOTY OUTPUT_STRIP_TRAILING_WHITESPACE) set(PYTHON_VERSION_XDOTY ${PYTHON_VERSION_XDOTY} CACHE STRING "python version") # this should actually be for anything non-dist-pack...
find_package(PythonInterp) execute_process(COMMAND ${PYTHON_EXECUTABLE} ${catkin_EXTRAS_DIR}/python_version.py OUTPUT_VARIABLE PYTHON_VERSION_XDOTY OUTPUT_STRIP_TRAILING_WHITESPACE) set(PYTHON_VERSION_XDOTY ${PYTHON_VERSION_XDOTY} CACHE STRING "python version") #This should be resolved automatically one day... op...
Add a comment about running item_tasks test serially
get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME) add_python_test(tasks PLUGIN ${PLUGIN}) add_python_style_test(python_static_analysis_${PLUGIN} "${PROJECT_SOURCE_DIR}/plugins/${PLUGIN}/server") add_python_style_test(python_static_analysis_${PLUGIN}_tests "${PRO...
get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME) add_python_test(tasks PLUGIN ${PLUGIN}) add_python_style_test(python_static_analysis_${PLUGIN} "${PROJECT_SOURCE_DIR}/plugins/${PLUGIN}/server") add_python_style_test(python_static_analysis_${PLUGIN}_tests "${PRO...
Fix LibSMV being searched when NEKTAR_USE_SMV is OFF
OPTION(THIRDPARTY_BUILD_SMV "Build LibSMV" OFF) IF (THIRDPARTY_BUILD_SMV) INCLUDE(ExternalProject) EXTERNALPROJECT_ADD( libsmvf1.0 PREFIX ${TPSRC} URL ${TPURL}/libsmvf1.0.tar.gz URL_MD5 "40cad0538acebd4aa83136ef9319150e" DOWNLOAD_DIR ${TPSRC} CONFIGURE_COMMAND ${...
OPTION(THIRDPARTY_BUILD_SMV "Build LibSMV" OFF) IF (THIRDPARTY_BUILD_SMV) INCLUDE(ExternalProject) EXTERNALPROJECT_ADD( libsmvf1.0 PREFIX ${TPSRC} URL ${TPURL}/libsmvf1.0.tar.gz URL_MD5 "40cad0538acebd4aa83136ef9319150e" DOWNLOAD_DIR ${TPSRC} CONFIGURE_COMMAND ${...
Update FW, fix CI build: depthai-shared PR merged
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "49ca8b9d035ef51c3442d860ebf2e9d701807e44") # "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 "3b51648b0d96c9391d878eede0fd5fd9b44084ca") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: support for new devices with 3x 4-lane cam ports, TMP: enable RGB-depth alignment for 12MP full FoV (hardcoded)
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "077fa75ba35a83d8c42156c40718d412a5825b77") # "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 "47e069cc7f16d29b37e17b2923322bc9824ebed4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW/mdk: Merge confidence_map_alignment_opt into develop
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "3aef66802d697e1f5b3c77830455379e46d9d426") # "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 "e12f6d102f5600ff660708235ef9c52e3b2a1656") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update device FW with fixes for RGB: - fix crash with RGB 12MP + depth - fix the cropping for 4K (make it centered)
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "725fe5000ce2e6abdc3bc0caf29ef0ad11389d4c") # "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 "140e154fc21a851daeb1d2ecee29d5dfb16f6847") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Fix qi_set_qt_plugin_properties to not lose previous compile definitions
## Copyright (c) 2015 Aldebaran Robotics. All rights reserved. ## Use of this source code is governed by a BSD-style license that can be ## found in the COPYING file. function(qi_set_qt_plugin_properties target) if(CMAKE_MAJOR_VERSION LESS 3) set_target_properties("${target}" PROPERTIES COMPILE_DEFIN...
## Copyright (c) 2015 Aldebaran Robotics. All rights reserved. ## Use of this source code is governed by a BSD-style license that can be ## found in the COPYING file. function(qi_set_qt_plugin_properties target) if(CMAKE_MAJOR_VERSION LESS 3) get_target_property(RELEASE_DEF "${target}" COMPILE_DEFINITIONS_RELEAS...
Fix march flag for 32-bit build
set (CMAKE_SYSTEM_NAME Windows) set (GCC_PREFIX i686-w64-mingw32) set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_AR ar CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) set (CMAKE_RC_CO...
set (CMAKE_SYSTEM_NAME Windows) set (GCC_PREFIX i686-w64-mingw32) set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_AR ar CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) set (CMAKE_RC_CO...
Make non-vanilla CPU feat use -march=native
set(CAPABS "-mavx -maes -mfma -mfpmath=sse") message(STATUS "Using extended CPU features: AVX, AES, FMA. CAPABS = ${CAPABS}")
set(CAPABS "-march=native -mfpmath=sse") message(STATUS "Using native CPU features. CAPABS = ${CAPABS}")
Add MSVC warnings (off by default at /W4)
# # MSVC options # set(CMAKE_CXX_FLAGS "/nologo /std:c++latest /W4 /WX /EHsc") set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /Zi /Od /RTC1 /sdl /MTd") set(CMAKE_CXX_FLAGS_RELEASE "/DNDEBUG /Ox /MT") add_definitions( /D _SBCS /D WIN32_LEAN_AND_MEAN )
# # MSVC options # set(CMAKE_CXX_FLAGS "/nologo /std:c++latest /EHsc /W4 /WX") set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /Zi /Od /RTC1 /sdl /MTd") set(CMAKE_CXX_FLAGS_RELEASE "/DNDEBUG /Ox /MT") add_definitions( /D _SBCS /D WIN32_LEAN_AND_MEAN ) # https://docs.microsoft.com/en-us/cpp/preprocessor/compiler-warnings-tha...
Add rt support for some unsupported platform
set(DUKTAPEDIR ${CMAKE_CURRENT_LIST_DIR}/lib/duktape) include_directories( ${DUKTAPEDIR}/src ) add_library(duktape STATIC ${DUKTAPEDIR}/src/duktape.c) if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") target_link_libraries(duktape m dl ) endif()
set(DUKTAPEDIR ${CMAKE_CURRENT_LIST_DIR}/lib/duktape) include_directories( ${DUKTAPEDIR}/src ) add_library(duktape STATIC ${DUKTAPEDIR}/src/duktape.c) if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") target_link_libraries(duktape m dl rt ) endif()
Fix syntax error in cmake 3.20
# # Copyright (C) 2013-2016 MariaDB Corporation AB # # Redistribution and use is allowed according to the terms of the New # BSD license. # For details see the COPYING-CMAKE-SCRIPTS file. # MACRO(GET_CONNECTOR_PACKAGE_NAME name) # check if we have 64bit IF(SIZEOF_VOIDP EQUAL 8) SET(IS64 1) ENDIF() SET (PLAFORM_N...
# # Copyright (C) 2013-2016 MariaDB Corporation AB # # Redistribution and use is allowed according to the terms of the New # BSD license. # For details see the COPYING-CMAKE-SCRIPTS file. # MACRO(GET_CONNECTOR_PACKAGE_NAME name) # check if we have 64bit IF(SIZEOF_VOIDP EQUAL 8) SET(IS64 1) ENDIF() SET (PLAFORM_N...
Add new search path for GoogleMock
# 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 ...
# This file is a part of the OpenSurgSim project. # Copyright 2014-2016, 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...
Update FW: rectified L/R swapping corrected with mirroring disabled
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "7a8ff7440d48429e3f03f4d68b56706682d3c633") # "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 "6aff98a0227f54985d2bb7468693b8b6f63bcdbb") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Format SCO OpenServer note about FSU Pthreads library
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL sysv) set (PLIB_TIME_PROFILER_MODEL posix) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_LINK_LIBRARIES socket nsl gthreads malloc) set (PLIB_PLATFORM_DEFINES -D_REENTRANT -D_SIMPLE_R ) message (STATUS "You need a working port of FSU Pthreads in order...
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL sysv) set (PLIB_TIME_PROFILER_MODEL posix) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_LINK_LIBRARIES socket nsl gthreads) set (PLIB_PLATFORM_DEFINES -D_REENTRANT -D_SIMPLE_R ) message (" You need a working port of FSU Pthreads in order to ...
Remove std=c++11 in CUDA project module.
#/// @file TbagProjectCUDA.cmake #/// @brief NVIDIA CUDA project module. #/// @author zer0 #/// @date 2016-06-02 if (NOT CUDA_FOUND) find_package (CUDA) endif () if (CUDA_FOUND) cuda_include_directories (${TBAG_PROJECT_INCLUDE_DIRS}) if ("${CMAKE_CXX_STANDARD}" STREQUAL "11" AND NOT "${CUDA_NVCC_FLAG...
#/// @file TbagProjectCUDA.cmake #/// @brief NVIDIA CUDA project module. #/// @author zer0 #/// @date 2016-06-02 if (NOT CUDA_FOUND) find_package (CUDA) endif () if (CUDA_FOUND) cuda_include_directories (${TBAG_PROJECT_INCLUDE_DIRS}) #if ("${CMAKE_CXX_STANDARD}" STREQUAL "11" AND NOT "${CUDA_NVCC_FLA...
Update the nightly xml URL.
file( DOWNLOAD http://dl.dropbox.com/u/15135983/itk-doxygen-xml.tar.bz2 ${ITKDoxygenXML_TEMP_DIR}/itk-doxygen-xml.tar.bz2 SHOW_PROGRESS )
file( DOWNLOAD http://itk.org/files/NightlyDoxygen/InsightDoxygenDocXml.tar.gz ${ITKDoxygenXML_TEMP_DIR}/itk-doxygen-xml.tar.bz2 SHOW_PROGRESS )
Make sphinx executable advanced setting
find_program(SPHINX_EXECUTABLE NAMES sphinx-build HINTS $ENV{SPHINX_DIR} PATH_SUFFIXES bin DOC "Sphinx documentation generator.") include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Sphinx DEFAULT_MSG SPHINX_EXECUTABLE)
find_program(SPHINX_EXECUTABLE NAMES sphinx-build HINTS $ENV{SPHINX_DIR} PATH_SUFFIXES bin DOC "Sphinx documentation generator.") include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Sphinx DEFAULT_MSG SPHINX_EXECUTABLE) mark_as_advanced(SPHINX_EXECUTABLE)
Increase timeout for mitkPackage test
if(BUILD_TESTING) #package testing if(NOT MITK_FAST_TESTING) # package testing in windows only for release if(WIN32) add_test(NAME mitkPackageTest CONFIGURATIONS Release COMMAND ${CMAKE_COMMAND} --build ${MITK_BINARY_DIR} --config Release --target package) set_tests_properties( m...
if(BUILD_TESTING) #package testing if(NOT MITK_FAST_TESTING) # package testing in windows only for release if(WIN32) add_test(NAME mitkPackageTest CONFIGURATIONS Release COMMAND ${CMAKE_COMMAND} --build ${MITK_BINARY_DIR} --config Release --target package) set_tests_properties( m...
Update Google Test in CMake builds to 1.10.0
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2) PROJECT(googletest-download NONE) INCLUDE(ExternalProject) ExternalProject_Add(googletest URL https://github.com/google/googletest/archive/release-1.8.0.zip URL_HASH SHA256=f3ed3b58511efd272eb074a3a6d6fb79d7c2e6a0e374323d1e6bcbcc1ef141bf SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE...
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2) PROJECT(googletest-download NONE) INCLUDE(ExternalProject) ExternalProject_Add(googletest URL https://github.com/google/googletest/archive/release-1.10.0.zip URL_HASH SHA256=94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91 SOURCE_DIR "${CONFU_DEPENDENCIES_SOURC...
Add /Library/Frameworks to list of rpaths for python bindings.
# Make the SWIG generated Python interface modules more portable by using rpath for the the Python dynamic library. string(REPLACE "${LIST_SEPARATOR}" ";" SHARED_OBJECT_MODULES "${SHARED_OBJECT_MODULES}") foreach(_M ${SHARED_OBJECT_MODULES}) execute_process(COMMAND ${INSTALL_NAME_TOOL_EXE} -change "/Library/Framewor...
# Make the SWIG generated Python interface modules more portable by using rpath for the the Python dynamic library. string(REPLACE "${LIST_SEPARATOR}" ";" SHARED_OBJECT_MODULES "${SHARED_OBJECT_MODULES}") foreach(_M ${SHARED_OBJECT_MODULES}) execute_process(COMMAND ${INSTALL_NAME_TOOL_EXE} -change "/Library/Framewor...
Add ISA targeting flags for SSE42 and AVX512SKX to use with the CrayPE
## ======================================================================== ## ## Copyright 2017 Kitware, Inc. ## ## ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## ## y...
## ======================================================================== ## ## Copyright 2017 Kitware, Inc. ## ## ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## ## y...
Use the public dashboard URL
set(CTEST_PROJECT_NAME "sprokit") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "www.kitware.com") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=sprokit") set(CTEST_DROP_SITE_CDASH TRUE)
set(CTEST_PROJECT_NAME "sprokit") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "open.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=sprokit") set(CTEST_DROP_SITE_CDASH TRUE)
Update LSTK version to sync with VTK 6.0.
itk_fetch_module(LesionSizingToolkit "Framework for determining the sizes of lesions in medical images." GIT_REPOSITORY http://public.kitware.com/LesionSizingToolkit.git GIT_TAG ac2b1a02e )
itk_fetch_module(LesionSizingToolkit "Framework for determining the sizes of lesions in medical images." GIT_REPOSITORY http://public.kitware.com/LesionSizingToolkit.git GIT_TAG 60cc50ff7 )
Fix findfilesystem for custom llvm on macos
include(FindPackageHandleStandardArgs) if(CMAKE_COMPILER_IS_GNUCXX) find_library( FILESYSTEM_LIBRARY NAMES stdc++fs PATH_SUFFIXES # linux gcc location gcc/x86_64-linux-gnu/8 ) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Filesystem DEFAULT_MSG FILESYSTEM_LIBRARY) elseif...
include(FindPackageHandleStandardArgs) if(CMAKE_COMPILER_IS_GNUCXX) find_library( FILESYSTEM_LIBRARY NAMES stdc++fs PATH_SUFFIXES # linux gcc location gcc/x86_64-linux-gnu/8 ) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Filesystem DEFAULT_MSG FILESYSTEM_LIBRARY) elseif...
Fix SO link to a more descriptive one
# Converts a text file into a C-language char array definition. # For use in CMake script mode (cmake -P). # Required definitions on command line: INPUT_FILE, OUTPUT_FILE, VARIABLE_NAME # Inspired by https://stackoverflow.com/a/27206982 file(READ ${INPUT_FILE} contents HEX) string(REGEX REPLACE "(0d)?(..)" "0x\\2," co...
# Converts a text file into a C-language char array definition. # For use in CMake script mode (cmake -P). # Required definitions on command line: INPUT_FILE, OUTPUT_FILE, VARIABLE_NAME # Inspired by https://stackoverflow.com/questions/11813271/embed-resources-eg-shader-code-images-into-executable-library-with-cmake/2...
Add generic lambda preprocessor definition.
INCLUDE(CheckCXXSourceCompiles) CHECK_CXX_SOURCE_COMPILES("int main() { auto lambda = [](auto x, auto y) { return x + y; }; }" USE_GENERIC_LAMBDAS) IF (USE_GENERIC_LAMBDAS) MESSAGE("-- Generic lambdas (C++14) are supported by the compiler.") ELSE () MESSAGE("-- Generic lambdas (C++14) are not supported by the comp...
INCLUDE(CheckCXXSourceCompiles) CHECK_CXX_SOURCE_COMPILES("int main() { auto lambda = [](auto x, auto y) { return x + y; }; }" USE_GENERIC_LAMBDAS) IF (USE_GENERIC_LAMBDAS) MESSAGE("-- Generic lambdas (C++14) are supported by the compiler.") ADD_DEFINITIONS(-DUSE_GENERIC_LAMBDAS) ELSE () MESSAGE("-- Generic lambd...
Add plugin.xml in cmake file
SET(SRC_CPP_FILES ) SET(INTERNAL_CPP_FILES QmitkPointSetInteractionView.cpp mitkPluginActivator.cpp ) SET(UI_FILES src/internal/QmitkPointSetInteractionViewControls.ui ) SET(MOC_H_FILES src/internal/mitkPluginActivator.h src/internal/QmitkPointSetInteractionView.h ) SET(CACHED_RESOURCE_FILES resource...
SET(SRC_CPP_FILES ) SET(INTERNAL_CPP_FILES QmitkPointSetInteractionView.cpp mitkPluginActivator.cpp ) SET(UI_FILES src/internal/QmitkPointSetInteractionViewControls.ui ) SET(MOC_H_FILES src/internal/mitkPluginActivator.h src/internal/QmitkPointSetInteractionView.h ) SET(CACHED_RESOURCE_FILES resource...
Patch version is the git revision.
## ## ProjectInfo.cmake: This file is part of libport. ## Copyright (C) Gostai S.A.S., 2006-2008. ## ## This software is provided "as is" without warranty of any kind, ## either expressed or implied, including but not limited to the ## implied warranties of fitness for a particular purpose. ## ## See the LICENSE file f...
# - 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 ninja-based build with the newly added Eigen dependency
# Copyright 2017 Nervana Systems 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 2017 Nervana Systems 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...
Use CFLAGS to set include path
add_external_project_or_use_system(python CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --enable-unicode=ucs4 --enable-shared PROCESS_ENVIRONMENT CFLAGS -I${CMAKE_OSX_SYSROOT}/usr/include ) set (pv_python_executable "${install_location...
add_external_project_or_use_system(python CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --enable-unicode=ucs4 --enable-shared CFLAGS=-I${CMAKE_OSX_SYSROOT}/usr/include PROCESS_ENVIRONMENT CFLAGS -I${CMAKE_OSX_SYSROOT}/usr/include ) set...
Update FW: report exposure + iso too in ImgFrame for RGB, (note: lens position may be reported one frame in advance), fix black image when initial manual exposure was set with other controls, fix switching from auto to manual exposure causing the lens to jump to zero (note: the lens is directly set now with manual focu...
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "302a12b8943b08d0e1862044e745fafe75f67fde") # "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 "5f3f8e24b6ec6b39f79472daba8e7606ed99fc90") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Enable freetype tests when matplotlib is not found.
vtk_module(vtkRenderingFreeType IMPLEMENTS vtkRenderingCore GROUPS Rendering DEPENDS vtkRenderingCore vtkfreetype vtkftgl TEST_DEPENDS vtkRenderingMatplotlib vtkTestingRendering vtkViewsContext2D vtkRendering${VTK_RENDERING_BACKEND} vtkRenderingContext${VTK_RENDERING_BACK...
# The tests can be built without matplotlib, but we add some additional tests # if it is enabled. set(optional_test_depends) if(${Module_vtkRenderingMatplotlib}) set(optional_test_depends "vtkRenderingMatplotlib") endif() vtk_module(vtkRenderingFreeType IMPLEMENTS vtkRenderingCore GROUPS Rendering DEPE...
Fix CMake issues per Paul R fixes
get_filename_component(OpenMC_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY) find_package(xtl REQUIRED HINTS ${OpenMC_CMAKE_DIR}/../xtl) find_package(xtensor REQUIRED HINTS ${OpenMC_CMAKE_DIR}/../xtensor) if(NOT TARGET OpenMC::libopenmc) include("${OpenMC_CMAKE_DIR}/OpenMCTargets.cmake") endif()
get_filename_component(OpenMC_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY) find_package(fmt REQUIRED HINTS ${OpenMC_CMAKE_DIR}/../fmt) find_package(gsl-lite REQUIRED HINTS ${OpenMC_CMAKE_DIR}/../gsl-lite) find_package(pugixml REQUIRED HINTS ${OpenMC_CMAKE_DIR}/../pugixml) find_package(xtl REQUIRED HINTS ${OpenMC_...
Update Remote/LesionSizingToolkit to newer commit
itk_fetch_module(LesionSizingToolkit "Framework for determining the sizes of lesions in medical images." GIT_REPOSITORY http://public.kitware.com/LesionSizingToolkit.git GIT_TAG 76235ea768b )
itk_fetch_module(LesionSizingToolkit "Framework for determining the sizes of lesions in medical images." GIT_REPOSITORY http://public.kitware.com/LesionSizingToolkit.git GIT_TAG 32c415ebb36 )
Add -m32 to compile flags for GCC-compatible compilers
# 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) endif...
# 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) endif...
Fix name of easylogging library
if(NOT EASYLOGGINGPP_PATH) message(SEND_ERROR "Please define EASYLOGGINGPP_PATH") endif() set(EASYLOGGINGPP_VERSION "9.95.3") set(EASYLOGGINGPP_LIBRARY "easyloggingcpp") set(EASYLOGGINGPP_INCLUDE_DIRS "${EASYLOGGINGPP_PATH}/src") set(EASYLOGGINGPP_CPP_SOURCES "${EASYLOGGINGPP_PATH}/src/easylogging++.cc") add_libra...
if(NOT EASYLOGGINGPP_PATH) message(SEND_ERROR "Please define EASYLOGGINGPP_PATH") endif() set(EASYLOGGINGPP_VERSION "9.95.3") set(EASYLOGGINGPP_LIBRARY "easyloggingpp") set(EASYLOGGINGPP_INCLUDE_DIRS "${EASYLOGGINGPP_PATH}/src") set(EASYLOGGINGPP_CPP_SOURCES "${EASYLOGGINGPP_PATH}/src/easylogging++.cc") add_librar...
Enable POSIX threading model back
set (PLIBSYS_THREAD_MODEL none) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL posix) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_LIBRARYLOADER_MODEL none) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT )
set (PLIBSYS_THREAD_MODEL posix) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL posix) set (PLIBSYS_DIR_MODEL posix) set (PLIBSYS_LIBRARYLOADER_MODEL none) set (PLIBSYS_PLATFORM_LINK_LIBRARIES pthread) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT )
Add reentrancy definition for GCC
set (PLIBSYS_THREAD_MODEL os2) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL generic) set (PLIBSYS_DIR_MODEL none) set (PLIBSYS_RWLOCK_MODEL general) set (PLIBSYS_LIBRARYLOADER_MODEL none) set (PLIBSYS_PLATFORM_LINK_LIBRARIES os2386)
set (PLIBSYS_THREAD_MODEL os2) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL generic) set (PLIBSYS_DIR_MODEL none) set (PLIBSYS_RWLOCK_MODEL general) set (PLIBSYS_LIBRARYLOADER_MODEL none) set (PLIBSYS_PLATFORM_LINK_LIBRARIES os2386) set (PLIBSYS_PLATFORM_DEFINES -D_REENTRANT )
Reduce CAmkES per-component heap allocation.
set(CAMKES_APP "system" CACHE STRING "The one and only CAmkES application in this project") #set(CAPDL_LOADER_APP "capdl-loader-app" CACHE STRING "") set(CAPDL_LOADER_APP "kata-os-rootserver" CACHE STRING "") set(PLATFORM "sparrow" CACHE STRING "The one and only seL4 platform for Sparrow") set(RUST_TARGET "riscv32imac...
set(CAMKES_APP "system" CACHE STRING "The one and only CAmkES application in this project") #set(CAPDL_LOADER_APP "capdl-loader-app" CACHE STRING "") set(CAPDL_LOADER_APP "kata-os-rootserver" CACHE STRING "") set(PLATFORM "sparrow" CACHE STRING "The one and only seL4 platform for Sparrow") set(RUST_TARGET "riscv32imac...
Fix extra semicolon in compile/link flags
# SampPlugin.cmake # # Functions: # add_samp_plugin(name [sources...]) # # Supported platforms: # Windows # Linux # # Supported compilers: # GCC # MinGW # Microsoft Visual C++ function(add_samp_plugin name) add_library(${name} MODULE ${ARGN}) set_target_properties(${name} PROPERTIES PREFIX "") if(CMAK...
# SampPlugin.cmake # # Functions: # add_samp_plugin(name [sources...]) # # Supported platforms: # Windows # Linux # # Supported compilers: # GCC # MinGW # Microsoft Visual C++ function(add_samp_plugin name) add_library(${name} MODULE ${ARGN}) set_target_properties(${name} PROPERTIES PREFIX "") if(CMAK...
Add copyright notice to CMake module.
# - Find LibGCal # # Find the LibGCal includes and library # # This module defines: # LIBGCAL_INCLUDE_DIR # LIBGCAL_LIBRARIES # LIBGCAL_FOUND # LIBGCAL_LIBRARY # find_path(LIBGCAL_INCLUDE_DIR gcal.h) set(LIBGCAL_NAMES ${LIBGCAL_NAMES} gcal) find_library(LIBGCAL_LIBRARY NAMES ${LIBGCAL_NAMES}) # handle the QUIETLY and...
# - 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...
Drop condition expresion in 'else' statement
if(waffle_has_wayland OR waffle_has_x11_egl OR waffle_has_gbm OR waffle_has_surfaceless_egl) set(waffle_has_egl TRUE) else(waffle_has_wayland OR waffle_has_x11_egl) set(waffle_has_egl FALSE) endif() if(waffle_has_glx OR waffle_has_x11_egl) set(waffle_has_x11 TRUE) else() set(waffle_has_x11 FALSE) en...
if(waffle_has_wayland OR waffle_has_x11_egl OR waffle_has_gbm OR waffle_has_surfaceless_egl) set(waffle_has_egl TRUE) else() set(waffle_has_egl FALSE) endif() if(waffle_has_glx OR waffle_has_x11_egl) set(waffle_has_x11 TRUE) else() set(waffle_has_x11 FALSE) endif()
Add support for non-square YOLO output
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "cdef6e16a44f4655f9bce4d852e1c324b0e40f4b") # "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 "73f5dfe7a318e713481dd00d134c2c597112afff") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Allow python executable for tests to be specified
if(WIN32) set(_separator "\\;") else() set(_separator ":") endif() function(add_python_test case) set(name "python_${case}") set(module ${case}_test) set(_one_value_args PYTHONPATH) cmake_parse_arguments(fn "" "${_one_value_args}" "" ${ARGN}) add_test( NAME ${name} WORKING_DIRECTORY "${CMAKE_CU...
if(WIN32) set(_separator "\\;") else() set(_separator ":") endif() function(add_python_test case) set(name "python_${case}") set(module ${case}_test) set(_one_value_args PYTHONPATH) cmake_parse_arguments(fn "" "${_one_value_args}" "" ${ARGN}) set(_python_executable "${PYTHON_EXECUTABLE}") # Allo...
Fix export of QT_<libname>_LIB variables
## Helper function for the qt5_* qibuild's modules #### # Find a Qt library # Usage: # qt5_flib(QT5_CORE Qt5Core) function(qt5_flib prefix name) set(${prefix}_LIBRARIES) # upstream uses Qt5::Core notation but we need to dereference this # because we won't be calling find_package() again find_package(${name}) ...
## Helper function for the qt5_* qibuild's modules #### # Find a Qt library # Usage: # qt5_flib(QT5_CORE Qt5Core) function(qt5_flib prefix name) set(${prefix}_LIBRARIES) # upstream uses Qt5::Core notation but we need to dereference this # because we won't be calling find_package() again find_package(${name}) ...
Support the new routes-to-bin intermediate tool generation
set(MISTRAL_ROOT "" CACHE STRING "Mistral install path") set(MISTRAL_DONT_INSTALL ON) add_subdirectory(${MISTRAL_ROOT}/libmistral ${CMAKE_CURRENT_BINARY_DIR}/libmistral) find_package(LibLZMA REQUIRED) foreach(family_target ${family_targets}) target_include_directories(${family_target} PRIVATE ${MISTRAL_ROOT}/lib...
set(MISTRAL_ROOT "" CACHE STRING "Mistral install path") set(MISTRAL_DONT_INSTALL ON) add_subdirectory(${MISTRAL_ROOT}/routes-to-bin ${CMAKE_CURRENT_BINARY_DIR}/routes-to-bin) add_subdirectory(${MISTRAL_ROOT}/libmistral ${CMAKE_CURRENT_BINARY_DIR}/libmistral) find_package(LibLZMA REQUIRED) foreach(family_target ${fa...
Add CONDA_PREFIX to NumPy search paths
# This script provides include directories for numpy find_path( Numpy_INCLUDE_DIR numpy/npy_common.h HINTS $ENV{VIRTUAL_ENV}/lib/*/site-packages/numpy/core/include ENV PYTHON_INCLUDE_DIR /usr/local/lib/python2.7/dist-packages/numpy/core/include $ENV{PYTHON}/lib/site-packages...
# This script provides include directories for numpy find_path( Numpy_INCLUDE_DIR numpy/npy_common.h HINTS $ENV{VIRTUAL_ENV}/lib/*/site-packages/numpy/core/include $ENV{CONDA_PREFIX}/lib/*/site-packages/numpy/core/include ENV PYTHON_INCLUDE_DIR /usr/local/lib/python2.7/dist-...
Change continuous integration site back to the staging location.
## 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(DART_TESTING_TIME...
## 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(DART_TESTING_TIME...
Remove pointless CMake version requirement
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 OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set_property(TARGET ${name} APPEND_STRING PROPERTY COMPILE_FLAGS " -m32") se...
function(add_plugin name) add_library(${name} MODULE ${ARGN}) set_target_properties(${name} PROPERTIES PREFIX "") if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set_property(TARGET ${name} APPEND_STRING PROPERTY COMPILE_FLAGS " -m32") set_property(TARGET ${name} APPEND_STRING...
Add wiringpi include dirs to search path for wiringPi.h
find_library(WIRINGPI_LIBRARIES NAMES wiringPi) find_path(WIRINGPI_INCLUDE_DIRS NAMES wiringPi.h) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(wiringPi "Could not find WiringPi. Either install it using instructions at http://wiringpi.com/download-and-install/ or specify a different BOARD_G...
find_library(WIRINGPI_LIBRARIES NAMES wiringPi) find_path(WIRINGPI_INCLUDE_DIRS NAMES wiringPi.h) include_directories(SYSTEM ${WIRINGPI_INCLUDE_DIRS}) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(wiringPi "Could not find WiringPi. Either install it using instructions at http://wiringpi.com...
Remove absolute path to arm toolchain.
# this one is important SET(CMAKE_SYSTEM_NAME Linux) SET(CMAKE_C_COMPILER "/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa9-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa9-linux-gnueabihf-gcc") SET(CMAKE_CXX_COMPILER "/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa9-linux-gnueabihf/g...
# this one is important SET(CMAKE_SYSTEM_NAME Linux) SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) SET(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
Add search paths for cassandra cpp-driver library.
cmake_minimum_required(VERSION 2.6.4) include(FindPackageHandleStandardArgs) #------------------------ # # Add includes and libraries required for using Cassandra C++ driver. # # Output: CASSANDRA_LIBRARY and CASSANDRA_INCLUDE_DIR #------------------------ # Setup the paths and hints for cassandra c++ driver set(_C...
cmake_minimum_required(VERSION 2.6.4) include(FindPackageHandleStandardArgs) #------------------------ # # Add includes and libraries required for using Cassandra C++ driver. # # Output: CASSANDRA_LIBRARY and CASSANDRA_INCLUDE_DIR #------------------------ # Setup the paths and hints for cassandra c++ driver set(_C...
Update the Firebase open source version of Flatbuffers
# Copyright 2018 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 2018 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, ...
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 a typo (copy and paste)
# - Locate DAVIX library # Defines: # # DAVIX_FOUND # DAVIX_INCLUDE_DIR # DAVIX_INCLUDE_DIRS (not cached) # DAVIX_LIBRARIES find_path(DAVIX_INCLUDE_DIR NAMES davix.hpp PATH_SUFFIXES davix HINTS ${DAVIX_DIR}/include $ENV{DAVIX_DIR}/include) find_library(DAVIX_LIBRARY NAMES davix HINTS ${DAVIX_DIR}/lib $ENV{DAVIX_DI...
# - Locate DAVIX library # Defines: # # DAVIX_FOUND # DAVIX_INCLUDE_DIR # DAVIX_INCLUDE_DIRS (not cached) # DAVIX_LIBRARIES find_path(DAVIX_INCLUDE_DIR NAMES davix.hpp PATH_SUFFIXES davix HINTS ${DAVIX_DIR}/include $ENV{DAVIX_DIR}/include) find_library(DAVIX_LIBRARY NAMES davix HINTS ${DAVIX_DIR}/lib $ENV{DAVIX_DI...
Define _XOPEN_SOURCE_EXTENDED with value 1 for HP-UX
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL sysv) set (PLIB_TIME_PROFILER_MODEL solaris) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_LINK_LIBRARIES xnet rt -pthread) set (PLIB_PLATFORM_DEFINES -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE_EXTENDED )
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL sysv) set (PLIB_TIME_PROFILER_MODEL solaris) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_LINK_LIBRARIES xnet rt -pthread) set (PLIB_PLATFORM_DEFINES -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE_EXTENDED=1 )
Add VTK_VERSION for older VTK versions
# # Find the packages required by this module # find_package(VTK REQUIRED) set(VERSION_MIN "5.9.20110419") if (${VTK_VERSION} VERSION_LESS ${VERSION_MIN}) message(ERROR " VtkGlue requires VTK version ${VERSION_MIN} or newer but the current version is ${VTK_VERSION}") endif() # The VTK DICOMParser and vtkmetaio inclu...
# # Find the packages required by this module # # Needed VTK version set(VERSION_MIN "5.9.20110419") # Look for VTK find_package(VTK REQUIRED) # Older versions of VTK (VTK 5.5 for example) do not have VTK_VERSION, in this # case it needs to be defined manually if(NOT VTK_VERSION) set(VTK_VERSION "${VTK_MAJOR_VERSION...
Add new reference images for overlay tests
#----------------------------------------------------------------------------- # 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 zephyr-sdk's with a single toolchain
# SPDX-License-Identifier: Apache-2.0 set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR}) set(COMPILER gcc) set(LINKER ld) set(BINTOOLS gnu) set(CROSS_COMPILE_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf) set(SYSROOT_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf) set(CROSS_COMPILE ${TOOLCHAIN_HOME}/${CROSS_COMPILE_TARGET}/bin/${C...
# SPDX-License-Identifier: Apache-2.0 set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR}) set(COMPILER gcc) set(LINKER ld) set(BINTOOLS gnu) # Find some toolchain that is distributed with this particular SDK file(GLOB toolchain_paths LIST_DIRECTORIES true ${TOOLCHAIN_HOME}/xtensa/*/*-zephyr-elf ${TOOLCHAIN_HOME}/*-...
Check for QScintilla iff QUrbiEditor is requested.
## ## QtExt.cmake: This file is part of libport. ## Copyright (C) Gostai S.A.S., 2006-2008. ## ## This software is provided "as is" without warranty of any kind, ## either expressed or implied, including but not limited to the ## implied warranties of fitness for a particular purpose. ## ## See the LICENSE file for mor...
## ## QtExt.cmake: This file is part of libport. ## Copyright (C) Gostai S.A.S., 2006-2008. ## ## This software is provided "as is" without warranty of any kind, ## either expressed or implied, including but not limited to the ## implied warranties of fitness for a particular purpose. ## ## See the LICENSE file for mor...
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...
Add libc++ to link XRay test cases if libc++ is used to build CLANG
# This CMake module is responsible for setting the standard library to libc++ # if the user has requested it. include(DetermineGCCCompatible) if(NOT DEFINED LLVM_STDLIB_HANDLED) set(LLVM_STDLIB_HANDLED ON) function(append value) foreach(variable ${ARGN}) set(${variable} "${${variable}} ${value}" PARENT...
# This CMake module is responsible for setting the standard library to libc++ # if the user has requested it. include(DetermineGCCCompatible) if(NOT DEFINED LLVM_STDLIB_HANDLED) set(LLVM_STDLIB_HANDLED ON) function(append value) foreach(variable ${ARGN}) set(${variable} "${${variable}} ${value}" PARENT...
Update version configuration to 2.1.1.2
# # ONLY MODIFY TO CHANGE VERSION # # The number of commits since last this file has changed is used to # define "dev" and "post", modification of this file will reset that # version. # # Version info set(SimpleITK_VERSION_MAJOR 2) set(SimpleITK_VERSION_MINOR 1) set(SimpleITK_VERSION_PATCH 1) set(SimpleITK_VERSION_TW...
# # ONLY MODIFY TO CHANGE VERSION # # The number of commits since last this file has changed is used to # define "dev" and "post", modification of this file will reset that # version. # # Version info set(SimpleITK_VERSION_MAJOR 2) set(SimpleITK_VERSION_MINOR 1) set(SimpleITK_VERSION_PATCH 1) set(SimpleITK_VERSION_TW...
Improve the CMake C++ flag checker
# - Adds a compiler flag if it is supported by the compiler # # This function checks that the supplied compiler flag is supported and then # adds it to the corresponding compiler flags # # add_cxx_compiler_flag(<FLAG> [<VARIANT>]) # # - Example # # include(AddCXXCompilerFlag) # add_cxx_compiler_flag(-Wall) # add_cxx_c...
# - Adds a compiler flag if it is supported by the compiler # # This function checks that the supplied compiler flag is supported and then # adds it to the corresponding compiler flags # # add_cxx_compiler_flag(<FLAG> [<VARIANT>]) # # - Example # # include(AddCXXCompilerFlag) # add_cxx_compiler_flag(-Wall) # add_cxx_c...
Add HDF5 dependency to the Fermi module.
#-------------------------------------------------------------------- # Dependencies for current module # List modules on the format "Inviwo<ModuleName>Module" set(dependencies #InviwoOpenGLModule #InviwoBaseGLModule )
#-------------------------------------------------------------------- # Dependencies for current module # List modules on the format "Inviwo<ModuleName>Module" set(dependencies InviwoHDF5Module )
Use "--leak-check=full" option in valgrind
## 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 to version for WikiExamples
# # ITK WikiExamples # itk_fetch_module(WikiExamples "A collection of examples that illustrate how to use ITK." GIT_REPOSITORY https://github.com/InsightSoftwareConsortium/ITKWikiExamples.git # June 26, 2015 GIT_TAG 74e09f3e88cf2168e35af197e4b27a8686aa8f22 )
# # ITK WikiExamples # itk_fetch_module(WikiExamples "A collection of examples that illustrate how to use ITK." GIT_REPOSITORY https://github.com/InsightSoftwareConsortium/ITKWikiExamples.git # July 09, 2015 GIT_TAG 1c53a9346e914959f1afb8df79cf449ff99ac7fa )
Fix bug in finding jsoncpp
# Find JsonCPP # # JSONCPP_LIBRARIES - the jsoncpp library # JSONCPP_INCLUDE_DIRS - directory with all header files # Include these modules to handle the QUIETLY and REQUIRED arguments. include (FindPackageHandleStandardArgs) find_path( JSONCPP_INCLUDE_DIRS NAMES json/json.h ) find_library( JSONCPP_LIBRARIES ...
# Find JsonCPP # # JSONCPP_LIBRARIES - the jsoncpp library # JSONCPP_INCLUDE_DIRS - directory with all header files # Include these modules to handle the QUIETLY and REQUIRED arguments. include (FindPackageHandleStandardArgs) find_path( JSONCPP_INCLUDE_DIRS NAMES json/json.h PATH_SUFFIXES jsoncpp ) find_libra...
Update VariationalRegistration to remove warnings during compilation
# 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...
Use PI_TOOL env variable set in Dockerfile to get the proper cross compiler.
# 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} AND DEFINED ENV{PI_TOOL}) message("Using Raspberry Pi Tools found in $ENV{PI_TOOLS_HOME}/ENV{PI_TOOL}") else() me...
Fix MSVC AVX codec compiler switch
# Written in 2016-2017 by Henrik Steffen Gaßmann henrik@gassmann.onl # # To the extent possible under law, the author(s) have dedicated all # copyright and related and neighboring rights to this software to the # public domain worldwide. This software is distributed without any warranty. # # You should have received a ...
# Written in 2016-2017 by Henrik Steffen Gaßmann henrik@gassmann.onl # # To the extent possible under law, the author(s) have dedicated all # copyright and related and neighboring rights to this software to the # public domain worldwide. This software is distributed without any warranty. # # You should have received a ...
Add -gdwarf-4 at link time for gcc
# The coverage linker flag is specific for gcc. # Using a config check is ok for now, but in future it would be desired if # linker flags themselves are not depending on actual configurations. # All flags should be described, and the caller should know the flag name to use. if (NOT CONFIG_COVERAGE_GCOV) set_property...
# The coverage linker flag is specific for gcc. # Using a config check is ok for now, but in future it would be desired if # linker flags themselves are not depending on actual configurations. # All flags should be described, and the caller should know the flag name to use. if (NOT CONFIG_COVERAGE_GCOV) set_property...
Package glfw: patch unrelocatable cmake/glfw3/glfw3Targets.cmake
# Copyright (c) 2016, Alexandre Pretyman # All rights reserved. include(hunter_add_version) include(hunter_pick_scheme) include(hunter_cacheable) include(hunter_download) hunter_add_version( PACKAGE_NAME glfw VERSION "3.2-p0" URL "https://github.com/hunter-packages/glfw/archive/3.2-p0.tar.gz" ...
# Copyright (c) 2016, Alexandre Pretyman # All rights reserved. include(hunter_add_version) include(hunter_pick_scheme) include(hunter_cacheable) include(hunter_download) hunter_add_version( PACKAGE_NAME glfw VERSION "3.2-p0" URL "https://github.com/hunter-packages/glfw/archive/3.2-p0.tar.gz" ...
Add support for detecting libeio as ev-eio
find_path(LIBEIO_INCLUDE_DIR eio.h HINTS $ENV{LIBEIO_DIR} PATH_SUFFIXES include PATHS /usr/local /usr ) find_library(LIBEIO_LIBRARY NAMES eio HINTS $ENV{LIBEIO_DIR} PATH_SUFFIXES lib PATHS /usr/local /usr ) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(LibEio DEFAULT_MSG LIBEIO_LIB...
find_path(LIBEIO_INCLUDE_DIR eio.h HINTS $ENV{LIBEIO_DIR} PATH_SUFFIXES include PATHS /usr/local /usr ) find_library(LIBEIO_LIBRARY NAMES ev-eio eio HINTS $ENV{LIBEIO_DIR} PATH_SUFFIXES lib PATHS /usr/local /usr ) check_library_exists(${LIBEIO_LIBRARY} eio_custom "" EIO_CUSTOM_IS_PRESENT) if (NOT EIO_CUSTOM...
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/...
Add Boost.Test to the list of TPLs
GLOBAL_SET(BoostOrg_INCLUDE_DIRS "${Boost_INCLUDE_DIRS}") GLOBAL_SET(BoostOrg_LIBRARY_DIRS "${Boost_LIBRARY_DIRS}") TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES( BoostOrg REQUIRED_HEADERS boost/property_tree/json_parser.hpp boost/property_tree/ptree.hpp boost/math/tools/polynom...
GLOBAL_SET(BoostOrg_INCLUDE_DIRS "${Boost_INCLUDE_DIRS}") GLOBAL_SET(BoostOrg_LIBRARY_DIRS "${Boost_LIBRARY_DIRS}") TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES( BoostOrg REQUIRED_HEADERS boost/property_tree/json_parser.hpp boost/property_tree/ptree.hpp boost/math/tools/polynom...
Clarify suggestion to install Vala or specify the version
# 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...
# 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...
Set variables in the good order
option(WITH_LIBZ "Build with ZLIB support" ON) option(WITH_SSH1 "Build with SSH1 support" OFF) option(WITH_SFTP "Build with SFTP support" ON) option(WITH_SERVER "Build with SSH server support" ON) option(WITH_STATIC_LIB "Build with a static library" OFF) option(WITH_DEBUG_CRYPTO "Build with cryto debug output" OFF) opt...
option(WITH_LIBZ "Build with ZLIB support" ON) option(WITH_SSH1 "Build with SSH1 support" OFF) option(WITH_SFTP "Build with SFTP support" ON) option(WITH_SERVER "Build with SSH server support" ON) option(WITH_STATIC_LIB "Build with a static library" OFF) option(WITH_DEBUG_CRYPTO "Build with cryto debug output" OFF) opt...
Fix check dependency to pthread
# 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...
Update FW with fixes for newer OAK-D
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "474dd81679425f04fa0894fcd094afbab4c22311") # "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 "3da45bce8f1178f33be211861a7848ab3993d9b9") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update ITK CMake version for 5.1.1
# ITK version number components. set(ITK_VERSION_MAJOR "5") set(ITK_VERSION_MINOR "1") set(ITK_VERSION_PATCH "0")
# ITK version number components. set(ITK_VERSION_MAJOR "5") set(ITK_VERSION_MINOR "1") set(ITK_VERSION_PATCH "1")
Add object compilation rule for COGCXX
# 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 # ...
Remove newline in CMake output
# Copyright (c) 2011 Stefan Eilemann <eile@eyescale.ch> FUNCTION(EQ_COMPILER_DUMPVERSION OUTPUT_VERSION) EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} -dumpversion OUTPUT_VARIABLE EQ_COMPILER_VERSION ) STRING(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2" EQ_COMPILER...
# Copyright (c) 2011 Stefan Eilemann <eile@eyescale.ch> FUNCTION(EQ_COMPILER_DUMPVERSION OUTPUT_VERSION) EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} -dumpversion OUTPUT_VARIABLE EQ_COMPILER_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE ) STRING(REGEX REPLACE "([0-9])\\.([0-9])(\\....
Set minor version to month
# Set Diffusion specific CPack options set(CPACK_PACKAGE_EXECUTABLES "mitkDiffusion;MITK Diffusion") set(CPACK_PACKAGE_NAME "MITK-Diffusion") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MITK application for processing of MR diffusion imaging data.") # Major version is the year of release set(CPACK_PACKAGE_VERSION_MAJOR "20...
# Set Diffusion specific CPack options set(CPACK_PACKAGE_EXECUTABLES "mitkDiffusion;MITK Diffusion") set(CPACK_PACKAGE_NAME "MITK-Diffusion") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MITK application for processing of MR diffusion imaging data.") # Major version is the year of release set(CPACK_PACKAGE_VERSION_MAJOR "20...
Update FW with clock related tweaks for feature tracker
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "4e63bce52514acfb7e808ffd6b9134b6868652be") # "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 "22f00aeeec005de80c99084b23291a9f154bb84f") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Allow xmp finder script to look for xml dll library
SET(XMP_SEARCH_PATHS /usr/local/ /usr /opt ) FIND_PATH(XMP_INCLUDE_DIR xmp.h HINTS ${XMP_ROOT} PATH_SUFFIXES include PATHS ${XMP_SEARCH_PATHS} ) FIND_LIBRARY(XMP_LIBRARY xmp HINTS ${XMP_ROOT} PATH_SUFFIXES lib64 lib PATHS ${XMP_SEARCH_PATHS} ) IF(XMP_INCLUDE_DIR AND XMP_LIBRARY) ...
SET(XMP_SEARCH_PATHS /usr/local/ /usr /opt ) FIND_PATH(XMP_INCLUDE_DIR xmp.h HINTS ${XMP_ROOT} PATH_SUFFIXES include PATHS ${XMP_SEARCH_PATHS} ) FIND_LIBRARY(XMP_LIBRARY xmp xmp_dll HINTS ${XMP_ROOT} PATH_SUFFIXES lib64 lib PATHS ${XMP_SEARCH_PATHS} ) IF(XMP_INCLUDE_DIR AND XMP_LI...