Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add iostreams as required component
# Find and set Boost flags if(NOT PCL_SHARED_LIBS OR WIN32) set(Boost_USE_STATIC_LIBS ON) endif(NOT PCL_SHARED_LIBS OR WIN32) if(${CMAKE_VERSION} VERSION_LESS 2.8.5) SET(Boost_ADDITIONAL_VERSIONS "1.43" "1.43.0" "1.44" "1.44.0" "1.45" "1.45.0" "1.46.1" "1.46.0" "1.46" "1.47" "1.47.0") else(${CMAKE_VERSION} VERSIO...
# Find and set Boost flags if(NOT PCL_SHARED_LIBS OR WIN32) set(Boost_USE_STATIC_LIBS ON) endif(NOT PCL_SHARED_LIBS OR WIN32) if(${CMAKE_VERSION} VERSION_LESS 2.8.5) SET(Boost_ADDITIONAL_VERSIONS "1.43" "1.43.0" "1.44" "1.44.0" "1.45" "1.45.0" "1.46.1" "1.46.0" "1.46" "1.47" "1.47.0") else(${CMAKE_VERSION} VERSIO...
Update IOSTL to include new bug fixes upstream
# 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 dd92020fa5b2c17e32f7b...
# 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...
Make internal dependency private for Domains/Chemistry -> vtksys.
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL2") set(extra_opengl_depend vtkDomainsChemistry${VTK_RENDERING_BACKEND}) endif() vtk_module(vtkDomainsChemistry GROUPS StandAlone DEPENDS vtkCommonDataModel vtkRenderingCore vtksys PRIVATE_DEPENDS vtkIOXML vtkFiltersSources TEST_DEPENDS ...
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL2") set(extra_opengl_depend vtkDomainsChemistry${VTK_RENDERING_BACKEND}) endif() vtk_module(vtkDomainsChemistry GROUPS StandAlone DEPENDS vtkCommonDataModel vtkRenderingCore PRIVATE_DEPENDS vtkIOXML vtkFiltersSources vtksys TEST_DEPENDS ...
Add some test code to build PETSc through externalproject
OPTION(NEKTAR_USE_PETSC "Enable PETSc parallel matrix solver support." OFF) CMAKE_DEPENDENT_OPTION(THIRDPARTY_BUILD_PETSC "Build PETSc if needed" OFF "NEKTAR_USE_PETSC" OFF) IF( NEKTAR_USE_PETSC ) INCLUDE(FindPETSc) MESSAGE(STATUS "Found PETSc: ${PETSC_LIBRARIES}") ADD_DEFINITIONS(-DNEKTAR_USI...
OPTION(NEKTAR_USE_PETSC "Enable PETSc parallel matrix solver support." OFF) CMAKE_DEPENDENT_OPTION(THIRDPARTY_BUILD_PETSC "Build PETSc if needed" OFF "NEKTAR_USE_PETSC" OFF) IF (NEKTAR_USE_PETSC) ADD_DEFINITIONS(-DNEKTAR_USING_PETSC) IF (THIRDPARTY_BUILD_PETSC) INCLUDE(ExternalProject) ...
Change the forcebuild step slightly (should have the same effect)
function(ExternalForceBuild project) ExternalProject_Get_Property(${project} stamp_dir) ExternalProject_Add_Step(${project} forcebuild COMMAND ${CMAKE_COMMAND} -E touch_nocreate "${stamp_dir}/${CMAKE_CFG_INTDIR}/${project}-configure" COMMENT "Forcing build step for '${project}'" DEPENDE...
function(ExternalForceBuild project) ExternalProject_Get_Property(${project} stamp_dir) ExternalProject_Add_Step(${project} forcebuild COMMAND ${CMAKE_COMMAND} -E remove "${stamp_dir}/${CMAKE_CFG_INTDIR}/${project}-build" COMMENT "Forcing build step for '${project}'" DEPENDEES configure...
Support detection of new header file path of ROSE edg4x branch
# ROSE_INCLUDE_DIR # ROSE_LIBRARIES # ROSE_FOUND = true if ROSE is found FIND_PATH(ROSE_INCLUDE_DIR rose.h NO_SYSTEM_ENVIRONMENT_PATH) FIND_LIBRARY(ROSE_LIBRARIES rose NO_SYSTEM_ENVIRONMENT_PATH) FIND_LIBRARY(ROSE_LIBRARIES rose) SET(ROSE_FOUND FALSE) IF(ROSE_INCLUDE_DIR AND ROSE_LIBRARIES) MESSAGE(STATUS "ROSE_INCL...
# ROSE_INCLUDE_DIR # ROSE_LIBRARIES # ROSE_FOUND = true if ROSE is found FIND_PATH(ROSE_INCLUDE_DIR rose.h PATH_SUFFIXES rose NO_SYSTEM_ENVIRONMENT_PATH) FIND_LIBRARY(ROSE_LIBRARIES rose NO_SYSTEM_ENVIRONMENT_PATH) FIND_LIBRARY(ROSE_LIBRARIES rose) SET(ROSE_FOUND FALSE) IF(ROSE_INCLUDE_DIR AND ROSE_LIBRARIES) MESSAG...
Fix MOCHA_FILES environment variable not getting set during tests.
add_custom_command( OUTPUT ${CMAKE_SOURCE_DIR}/test/node_modules DEPENDS ${CMAKE_SOURCE_DIR}/test/package.json WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test COMMAND npm install COMMAND npm prune ) add_custom_target( test-proxy-target env MOCHA_FILES=$ENV{MOCHA_FILES} npm test DEPENDS ${CMAKE_SOURCE_DIR}/t...
add_custom_command( OUTPUT ${CMAKE_SOURCE_DIR}/test/node_modules DEPENDS ${CMAKE_SOURCE_DIR}/test/package.json WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test COMMAND npm install COMMAND npm prune ) add_custom_target( test-proxy-target COMMAND npm test DEPENDS ${CMAKE_SOURCE_DIR}/test/node_modules WORKING...
Fix LibJpegTurbo finder to ignore static library, needed on Ubuntu 13.10
# - Try to find libjpeg-turbo # Once done, this will define # # LibJpegTurbo_FOUND - system has libjpeg-turbo # LibJpegTurbo_INCLUDE_DIRS - the libjpeg-turbo include directories # LibJpegTurbo_LIBRARIES - link these to use libjpeg-turbo # # this file is modeled after http://www.cmake.org/Wiki/CMake:How_To_Find_Libra...
# - Try to find libjpeg-turbo # Once done, this will define # # LibJpegTurbo_FOUND - system has libjpeg-turbo # LibJpegTurbo_INCLUDE_DIRS - the libjpeg-turbo include directories # LibJpegTurbo_LIBRARIES - link these to use libjpeg-turbo # # this file is modeled after http://www.cmake.org/Wiki/CMake:How_To_Find_Libra...
Change GLM dependecy URL from master to GLM 0.9.9.8
## Copyright 2020 Intel Corporation ## SPDX-License-Identifier: Apache-2.0 set(COMPONENT_NAME glm) set(COMPONENT_PATH ${INSTALL_DIR_ABSOLUTE}) if (INSTALL_IN_SEPARATE_DIRECTORIES) set(COMPONENT_PATH ${INSTALL_DIR_ABSOLUTE}/${COMPONENT_NAME}) endif() ExternalProject_Add(${COMPONENT_NAME} PREFIX ${COMPONENT_NAME} ...
## Copyright 2020-2021 Intel Corporation ## SPDX-License-Identifier: Apache-2.0 set(COMPONENT_NAME glm) set(COMPONENT_PATH ${INSTALL_DIR_ABSOLUTE}) if (INSTALL_IN_SEPARATE_DIRECTORIES) set(COMPONENT_PATH ${INSTALL_DIR_ABSOLUTE}/${COMPONENT_NAME}) endif() ExternalProject_Add(${COMPONENT_NAME} PREFIX ${COMPONENT_N...
Update GIT_TAG for Mosaic module
#Contact: Rémi Cresson <remi.cresson@teledetection.fr> otb_fetch_module(Mosaic "This module provides one application dedicated to images mosaicking A more detailed description can be found on the project website: https://github.com/remicres/otb-mosaic " GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git GI...
#Contact: Rémi Cresson <remi.cresson@teledetection.fr> otb_fetch_module(Mosaic "This module provides one application dedicated to images mosaicking A more detailed description can be found on the project website: https://github.com/remicres/otb-mosaic " GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git GI...
Update SCIFIO to latest version on 08/23/2016
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY ${git_protocol}://github.com/scifio/scifio-imageio.git GIT_TAG f0741bc69d2031a7fa7682ab5e990a6c126e2b72 )
itk_fetch_module(SCIFIO "SCIFIO (Bioformats) ImageIO plugin for ITK" GIT_REPOSITORY ${git_protocol}://github.com/scifio/scifio-imageio.git GIT_TAG d6ce39d855d5078589efed93f785c7289769c3c6 )
Fix linking SmoothingRecursiveYvvGaussianFilter with install tree.
#Contact: I. Vidal-Migallon <irina.vidal-migallon@inria.fr> itk_fetch_module(SmoothingRecursiveYvvGaussianFilter "GPU and CPU Young & Van Vliet Recursive Gaussian Smoothing Filter: http://hdl.handle.net/10380/3425" GIT_REPOSITORY https://github.com/Inria-Asclepios/SmoothingRecursiveYvvGaussianFilter GIT_TAG b3b6c...
#Contact: I. Vidal-Migallon <irina.vidal-migallon@inria.fr> itk_fetch_module(SmoothingRecursiveYvvGaussianFilter "GPU and CPU Young & Van Vliet Recursive Gaussian Smoothing Filter: http://hdl.handle.net/10380/3425" GIT_REPOSITORY https://github.com/Inria-Asclepios/SmoothingRecursiveYvvGaussianFilter GIT_TAG 69a6d...
Split branch for 3.8.x closedown
### ## Version Information ### set ( HPCC_PROJECT "community" ) set ( HPCC_MAJOR 3 ) set ( HPCC_MINOR 7 ) set ( HPCC_POINT 0 ) set ( HPCC_MATURITY "trunk" ) set ( HPCC_SEQUENCE 1 ) ###
### ## Version Information ### set ( HPCC_PROJECT "community" ) set ( HPCC_MAJOR 3 ) set ( HPCC_MINOR 8 ) set ( HPCC_POINT 0 ) set ( HPCC_MATURITY "closedown" ) set ( HPCC_SEQUENCE 1 ) ###
Make it possible to easily override OXYGEN_DEBUG in any cpp file
#ifndef __CONFIG_H__ #define __CONFIG_H__ #define GTK_THEME_DIR "@GTK_THEME_DIR@/gtk-2.0" #define OXYGEN_DEBUG @OXYGEN_DEBUG@ #define OXYGEN_ICON_HACK @OXYGEN_ICON_HACK@ #define ENABLE_COMBOBOX_LIST_RESIZE @ENABLE_COMBOBOX_LIST_RESIZE@ #endif
#ifndef __CONFIG_H__ #define __CONFIG_H__ #define GTK_THEME_DIR "@GTK_THEME_DIR@/gtk-2.0" #ifndef OXYGEN_DEBUG # define OXYGEN_DEBUG @OXYGEN_DEBUG@ #endif #define OXYGEN_ICON_HACK @OXYGEN_ICON_HACK@ #define ENABLE_COMBOBOX_LIST_RESIZE @ENABLE_COMBOBOX_LIST_RESIZE@ #endif
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...
Use EXECUTABLE macro option for snippet.
set(snippet_src_files main.cpp SingletonOne.cpp SingletonTwo.cpp ) usFunctionGenerateModuleInit(snippet_src_files NAME "uServices_singleton" LIBRARY_NAME "" DEPENDS "" )
set(snippet_src_files main.cpp SingletonOne.cpp SingletonTwo.cpp ) usFunctionGenerateModuleInit(snippet_src_files NAME "uServices_singleton" EXECUTABLE )
Fix for erroring out if Boost.Compute not found for OpenCL
# Downloads and builds the Boost Compute library from github.com # Defines the following variables # * BoostCompute_INCLUDE_DIR Location of the Boost Compute headers # Look a directory above for the Boost Compute folder FIND_PATH( BoostCompute_SOURCE_DIR NAMES include/boost/compute.hpp P...
# Downloads and builds the Boost Compute library from github.com # Defines the following variables # * BoostCompute_FOUND Flag for Boost Compute # * BoostCompute_INCLUDE_DIR Location of the Boost Compute headers # Look a directory above for the Boost Compute folder FIND_PATH( BoostCompute_SOURCE...
Update FW: FSYNC for IMX378
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "938ec3265a117befb20f3689d32c3c306146759a") # "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 "0647981afd0f2f366666641f51b51494ea0b62b1") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Create new MITK testing data
#----------------------------------------------------------------------------- # 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...
Set new master of MITK-data including md5sum and git hash.
#----------------------------------------------------------------------------- # 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 cdash js coverage reporting.
# 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...
Fix missing search of rcc
## Copyright (c) 2012 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. # Hack here: we cannot integrate qmake in the # qt packages in the toolchains, because qmake will report # a path that probably does not exists, so we i...
## Copyright (c) 2012 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. # Hack here: we cannot integrate qmake in the # qt packages in the toolchains, because qmake will report # a path that probably does not exists, so we i...
Fix tinyfiledialogs clone error message
set (tinyfiledialogs_SOURCE_DIR ${FETCHCONTENT_BASE_DIR}/tinyfiledialogs-source) if (NOT EXISTS ${tinyfiledialogs_SOURCE_DIR}) message (STATUS "Cloning tinyfiledialogs…") execute_process ( COMMAND ${GIT_EXECUTABLE} clone --depth=1 https://git.code.sf.net/p/tinyfiledialogs/code ...
set (tinyfiledialogs_SOURCE_DIR ${FETCHCONTENT_BASE_DIR}/tinyfiledialogs-source) if (NOT EXISTS ${tinyfiledialogs_SOURCE_DIR}) message (STATUS "Cloning tinyfiledialogs…") execute_process ( COMMAND ${GIT_EXECUTABLE} clone --depth=1 https://git.code.sf.net/p/tinyfiledialogs/code ...
Use RPATH on Linux and Mac by default
# 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...
Test for rdma_verbs.h as prerequisite for OFED.
# Copyright (c) 2011-2012 Stefan Eilemann <eile@eyescale.ch> find_path(_ofed_INCLUDE_DIR rdma/rdma_cma.h HINTS ${OFED_ROOT}/include PATHS /usr/include /usr/local/include /opt/local/include) find_library(_rdma_LIBRARY NAMES rdmacm HINTS ${OFED_ROOT}/lib PATHS /usr/lib /usr/local/lib /opt/local/lib) find_library...
# Copyright (c) 2011-2012 Stefan Eilemann <eile@eyescale.ch> find_path(_ofed_INCLUDE_DIR rdma/rdma_verbs.h HINTS ${OFED_ROOT}/include PATHS /usr/include /usr/local/include /opt/local/include) find_library(_rdma_LIBRARY NAMES rdmacm HINTS ${OFED_ROOT}/lib PATHS /usr/lib /usr/local/lib /opt/local/lib) find_libra...
Make sure the RE2 library is compiled with maximal optimization.
##################### # RE2 regex library # ##################### ExternalProject_Add( RE2 UPDATE_COMMAND "" PATCH_COMMAND "" SOURCE_DIR "${CMAKE_SOURCE_DIR}/ext/re2-2017-05-01" CMAKE_ARGS -BUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=True -DCMAKE_INSTALL_PREFIX=${GLOBAL_OUTPUT_PATH}/re2 TEST...
##################### # RE2 regex library # ##################### ExternalProject_Add( RE2 UPDATE_COMMAND "" PATCH_COMMAND "" SOURCE_DIR "${CMAKE_SOURCE_DIR}/ext/re2-2017-05-01" CMAKE_ARGS -BUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=True -DCMAKE_INSTALL_PREFIX=${GLOB...
Make the 'contacts' resource the default address book
[Agent] Id=defaultaddressbook Type=akonadi_vcard_resource Name=My Addressbook [Settings] Path[$e]=~/${KDE_DEFAULT_HOME}/share/apps/kabc/std.vcf AutosaveInterval=1
[Agent] Id=defaultaddressbook Type=akonadi_contacts_resource Name=Personal Contacts [Settings] Path[$e]=$HOME/.local/share/contacts/
Call vtk version of forwarding macro.
if(NOT VTK_INSTALL_EXPORT_NAME) set(VTK_INSTALL_EXPORT_NAME VTKTargets) endif() MACRO(VTK_ADD_LIBRARY name) add_library(${name} ${ARGN}) set_property(GLOBAL APPEND PROPERTY VTK_TARGETS ${name}) ENDMACRO(VTK_ADD_LIBRARY) MACRO(VTK_ADD_EXECUTABLE name) if(UNIX AND VTK_BUILD_FORWARDING_EXECUTABLES) add_execu...
if(NOT VTK_INSTALL_EXPORT_NAME) set(VTK_INSTALL_EXPORT_NAME VTKTargets) endif() MACRO(VTK_ADD_LIBRARY name) add_library(${name} ${ARGN}) set_property(GLOBAL APPEND PROPERTY VTK_TARGETS ${name}) ENDMACRO(VTK_ADD_LIBRARY) MACRO(VTK_ADD_EXECUTABLE name) if(UNIX AND VTK_BUILD_FORWARDING_EXECUTABLES) vtk_add_e...
Update FW with improved resource allocation for RGB aligment; improved error handling when out of resources
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "c5ce9d3e5342f41be4311e752bde29e1cf305166") # "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 "3b360d38cca54826a799f76d609086376bf43d18") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Enable update step of MITK-Data
#----------------------------------------------------------------------------- # 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...
Add -msoft-float to Clang options when compiling for Cortex-M4 target
set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_PROCESSOR Cortex-M4) set(CMAKE_C_COMPILER_WORKS 1) set(CMAKE_CXX_COMPILER_WORKS 1) set(triple arm-none-eabi) set(CMAKE_C_COMPILER clang) set(CORTEX_M4_FLAGS "--target=${triple} -Os -mcpu=cortex-m4 -mthumb") set(CMAKE_C_FLAGS "${CORTEX_M4_FLAGS}" CACHE STRING "" FORCE)...
set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_PROCESSOR Cortex-M4) set(CMAKE_C_COMPILER_WORKS 1) set(CMAKE_CXX_COMPILER_WORKS 1) set(triple arm-none-eabi) set(CMAKE_C_COMPILER clang) set(CORTEX_M4_FLAGS "--target=${triple} -Os -mcpu=cortex-m4 -mthumb -msoft-float") set(CMAKE_C_FLAGS "${CORTEX_M4_FLAGS}" CACHE STR...
Call cython in a platform independent way.
# note: taken from http://github.com/certik/schroedinger/raw/master/cmake/UseCython.cmake # This allows to link Cython files # Examples: # 1) to compile assembly.pyx to assembly.so: # CYTHON_ADD_MODULE(assembly) # 2) to compile assembly.pyx and something.cpp to assembly.so: # CYTHON_ADD_MODULE(assembly something.c...
# note: taken from http://github.com/certik/schroedinger/raw/master/cmake/UseCython.cmake # This allows to link Cython files # Examples: # 1) to compile assembly.pyx to assembly.so: # CYTHON_ADD_MODULE(assembly) # 2) to compile assembly.pyx and something.cpp to assembly.so: # CYTHON_ADD_MODULE(assembly something.c...
Add missing quote escapes in the module description.
set(DOCUMENTATION "This module implements a minimal path extraction framework based on Fast Marching arrival functions. A more detailed description can be found in the Insight Journal article:: Mueller, D. "Fast Marching Minimal Path Extraction in ITK" http://hdl.handle.net/1926/1332 http://www.insight-journal....
set(DOCUMENTATION "This module implements a minimal path extraction framework based on Fast Marching arrival functions. A more detailed description can be found in the Insight Journal article:: Mueller, D. \"Fast Marching Minimal Path Extraction in ITK\" http://hdl.handle.net/1926/1332 http://www.insight-journa...
Remove comments from config file
## 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...
set(CTEST_PROJECT_NAME "hasm") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "my.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=hasm") set(CTEST_DROP_SITE_CDASH TRUE)
Use find_library command also on Windows
get_filename_component(INSTALLED_PREFIX ${Newbase_DIR} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) set(Newbase_INCLUDE_DIRS ${INSTALLED_PREFIX}/include) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # If static a...
get_filename_component(INSTALLED_PREFIX ${Newbase_DIR} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) get_filename_component(INSTALLED_PREFIX ${INSTALLED_PREFIX} DIRECTORY) set(Newbase_INCLUDE_DIRS ${INSTALLED_PREFIX}/include) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # If static a...
Use lowercase for internal variable names
# Check for settings from VXL that are incompatible with flags. set(cmakefiles_dir "${vistk_binary_dir}/CMakeFiles") if (VISTK_ENABLE_PEDANTIC) if (CMAKE_CROSSCOMPILING) message(WARNING "The `-pedantic` flag is not recommended when " "cross-compiling.") else () set(vxl_has_float_decls_path "...
# Check for settings from VXL that are incompatible with flags. set(cmakefiles_dir "${vistk_binary_dir}/CMakeFiles") if (VISTK_ENABLE_PEDANTIC) if (CMAKE_CROSSCOMPILING) message(WARNING "The `-pedantic` flag is not recommended when " "cross-compiling.") else () set(vxl_has_float_decls_path "...
Fix two segfaulting geovis tests.
vtk_module(vtkGeovisCore GROUPS Rendering DEPENDS vtkIOXML vtkInteractionWidgets vtkInteractionStyle vtkInfovisLayout vtkViewsCore vtkRenderingOpenGL # For vtkOpenGLHardwareSupport in vtkGeoTerrain vtklibproj4 TEST_DEPENDS vtkViewsGeovis vtkViewsInfovis vtkRenderingCore...
vtk_module(vtkGeovisCore GROUPS Rendering DEPENDS vtkIOXML vtkInteractionWidgets vtkInteractionStyle vtkInfovisLayout vtkViewsCore vtkRenderingOpenGL # For vtkOpenGLHardwareSupport in vtkGeoTerrain vtklibproj4 TEST_DEPENDS vtkViewsGeovis vtkViewsInfovis vtkRenderingCore...
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...
Fix lcm_option eating variables from packages
include(CMakeParseArguments) #------------------------------------------------------------------------------ function(lcm_concat VAR) foreach(_line ${ARGN}) set(${VAR} "${${VAR}}${_line}\n") endforeach() set(${VAR} "${${VAR}}" PARENT_SCOPE) endfunction() #----------------------------------------------------...
include(CMakeParseArguments) #------------------------------------------------------------------------------ function(lcm_concat VAR) foreach(_line ${ARGN}) set(${VAR} "${${VAR}}${_line}\n") endforeach() set(${VAR} "${${VAR}}" PARENT_SCOPE) endfunction() #----------------------------------------------------...
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...
Remove unknown doxygen command in AnisotropicDiffusionLBR.
itk_fetch_module(AnisotropicDiffusionLBR "Anisotropic Non-Linear Diffusion is a powerful image processing technique, which allows to simultaneously remove the noise and enhance sharp features in two or three dimensional images. Anisotropic Diffusion is understood here in the sense of Weickert, meaning that diff...
itk_fetch_module(AnisotropicDiffusionLBR "Anisotropic Non-Linear Diffusion is a powerful image processing technique, which allows to simultaneously remove the noise and enhance sharp features in two or three dimensional images. Anisotropic Diffusion is understood here in the sense of Weickert, meaning that diff...
Allow to disable SPTW build and modules
set(DOCUMENTATION "This module imports SPTW to the build system") otb_module(OTBSPTW DEPENDS OTBMPI OTBGDAL TEST_DEPENDS DESCRIPTION "${DOCUMENTATION}" )
set(DOCUMENTATION "This module imports SPTW to the build system") otb_module(OTBSPTW DEPENDS OTBMPI OTBGDAL TEST_DEPENDS DESCRIPTION "${DOCUMENTATION}" ) otb_module_activation_option("Enable SPTW dependent modules" ON)
Add os2386 library to linkage list
set (PLIBSYS_THREAD_MODEL none) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL generic) set (PLIBSYS_DIR_MODEL none) set (PLIBSYS_LIBRARYLOADER_MODEL none)
set (PLIBSYS_THREAD_MODEL none) set (PLIBSYS_IPC_MODEL none) set (PLIBSYS_TIME_PROFILER_MODEL generic) set (PLIBSYS_DIR_MODEL none) set (PLIBSYS_LIBRARYLOADER_MODEL none) set (PLIBSYS_PLATFORM_LINK_LIBRARIES os2386)
Change the CDash project start time to UTC.
set(CTEST_PROJECT_NAME "cython-cmake-example") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "my.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=cython-cmake-example") set(CTEST_DROP_SITE_CDASH TRUE)
set(CTEST_PROJECT_NAME "cython-cmake-example") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "my.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=cython-cmake-example") set(CTEST_DROP_SITE_CDASH TRUE)
Change freetype repo to use http
INCLUDE(ExternalProject) SET(prefix ${CMAKE_BINARY_DIR}/third_party/freetype) ExternalProject_Add( freetype-ext GIT_REPOSITORY git://git.sv.nongnu.org/freetype/freetype2.git GIT_TAG 14df6b1a63f5c5773bb498063205cb79aac21173 PREFIX "${prefix}" UPDATE_COMMAND "" CONFIGURE_COMMAND ${CMAKE_COMMAND}...
INCLUDE(ExternalProject) SET(prefix ${CMAKE_BINARY_DIR}/third_party/freetype) ExternalProject_Add( freetype-ext GIT_REPOSITORY http://git.sv.nongnu.org/r/freetype/freetype2.git GIT_TAG 14df6b1a63f5c5773bb498063205cb79aac21173 PREFIX "${prefix}" UPDATE_COMMAND "" CONFIGURE_COMMAND ${CMAKE_COMMA...
Add Git dependency in CMake
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTORCC ON) if (NOT WIN32) set(CMAKE_LINK_WHAT_YOU_USE ON) endif() set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_...
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTORCC ON) if (NOT WIN32) set(CMAKE_LINK_WHAT_YOU_USE ON) endif() set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_...
Add test files to project.
# Copyright (c) 2016 Kartik Kumar, Dinamica Srl (me@kartikkumar.com) # Distributed under the MIT License. # See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT # Set project source files. set(SRC "${SRC_PATH}/factorial.cpp" ) # Set project main file. set(MAIN_SRC "${SRC_PATH}/rvdsim.cpp...
# Copyright (c) 2016 Kartik Kumar, Dinamica Srl (me@kartikkumar.com) # Distributed under the MIT License. # See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT # Set project source files. # set(SRC # ) # Set project main file. set(MAIN_SRC "${SRC_PATH}/main.cpp" ) # Set project test sour...
Add value of LIBIGL_DIR to the list of paths where cmake looks for libigl.
# - Try to find the LIBIGL library # Once done this will define # # LIBIGL_FOUND - system has LIBIGL # LIBIGL_INCLUDE_DIR - **the** LIBIGL include directory if(LIBIGL_FOUND) return() endif() find_path(LIBIGL_INCLUDE_DIR igl/readOBJ.h HINTS ENV LIBIGL ENV LIBIGLROOT ENV LIBIGL_ROOT ...
# - Try to find the LIBIGL library # Once done this will define # # LIBIGL_FOUND - system has LIBIGL # LIBIGL_INCLUDE_DIR - **the** LIBIGL include directory if(LIBIGL_FOUND) return() endif() find_path(LIBIGL_INCLUDE_DIR igl/readOBJ.h HINTS ENV LIBIGL_DIR PATHS ${LIBIGL_DIR} ${CMAK...
Set dashboard to cdash.inria.fr project Medular
### medDart.cmake --- ## ## Author: Julien Wintz ## Copyright (C) 2008 - Julien Wintz, Inria. ## Created: Fri Jan 8 15:59:24 2010 (+0100) ## Version: $Id$ ## Last-Updated: Fri Jan 8 16:03:01 2010 (+0100) ## By: Julien Wintz ## Update #: 4 ###############################################################...
### medDart.cmake --- ## ## Author: Julien Wintz ## Copyright (C) 2008 - Julien Wintz, Inria. ## Created: Fri Jan 8 15:59:24 2010 (+0100) ## Version: $Id$ ## Last-Updated: Fri Jan 8 16:03:01 2010 (+0100) ## By: Julien Wintz ## Update #: 4 ###############################################################...
Use replace to change -O3 to -O2 so other arguments are kept intact.
# Build a local version INCLUDE(ExternalProject) SET(assimp_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/assimp) SET(assimp_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_DEBUG_POSTFIX=d -DENABLE_BOOST_WORKAROUND=ON -DBUILD_ASSIMP_TOOLS=OFF ...
# Build a local version INCLUDE(ExternalProject) SET(assimp_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/assimp) SET(assimp_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_DEBUG_POSTFIX=d -DENABLE_BOOST_WORKAROUND=ON -DBUILD_ASSIMP_TOOLS=OFF ...
Update FW: changes for IMX214/OV7251, other fixes
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "a452469b565b39417056d50e20d97a978cda7f29") # "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 "70c0b8e0e8c47a63a0991cccd2088ac5ce5e825f") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Upgrade pip in the superbuild virtual environment
find_package(PythonInterp 3 REQUIRED) set(_itk_venv "${CMAKE_CURRENT_BINARY_DIR}/itkpython") if(WIN32) set(ITKPYTHON_EXECUTABLE "${_itk_venv}/python.exe" CACHE FILEPATH "Python executable with the ITK package installed" FORCE) set(SPHINX_EXECUTABLE "${_itk_venv}/Scripts/sphinx-build.exe" CACHE FILEPATH "Sphinx exe...
find_package(PythonInterp 3 REQUIRED) set(_itk_venv "${CMAKE_CURRENT_BINARY_DIR}/itkpython") if(WIN32) set(ITKPYTHON_EXECUTABLE "${_itk_venv}/python.exe" CACHE FILEPATH "Python executable with the ITK package installed" FORCE) set(SPHINX_EXECUTABLE "${_itk_venv}/Scripts/sphinx-build.exe" CACHE FILEPATH "Sphinx exe...
Disable clang's -Wzero-as-null-pointer-constant diagnostic for now.
include(CheckCXXCompilerFlagAndEnableIt) if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") return() endif() set (CLANG_WARNING_FLAGS "all" "extra" "everything" ) set (CLANG_DISABLED_WARNING_FLAGS "c++98-compat" "c++98-compat-pedantic" "conversion" "covered-switch-default" "deprecated" "double-promot...
include(CheckCXXCompilerFlagAndEnableIt) if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") return() endif() set (CLANG_WARNING_FLAGS "all" "extra" "everything" ) set (CLANG_DISABLED_WARNING_FLAGS "c++98-compat" "c++98-compat-pedantic" "conversion" "covered-switch-default" "deprecated" "double-promot...
Add headers to library components
macro(simgear_component name includePath sources headers) if (SIMGEAR_SHARED) foreach(s ${sources}) set_property(GLOBAL APPEND PROPERTY ALL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${s}") endforeach() foreach(h ${headers}) set_property(GLOBAL APPEND PROPERTY PUBLI...
macro(simgear_component name includePath sources headers) if (SIMGEAR_SHARED) foreach(s ${sources}) set_property(GLOBAL APPEND PROPERTY ALL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${s}") endforeach() foreach(h ${headers}) set_property(GLOBAL APPEND PROPERTY PUBLI...
Add temporary fix for finsing jni plugin
include (CheckSymbolExists) include (CMakePushCheckState) # ~~~ # Check if a symbol is exported # # Same as check_symbol_exists but works around the problem of not detecting # symbols when -Wpedantic is on. # # Also automatically adds the definitions of the current directory to # CMAKE_REQUIRED_DEFINITIONS. # # https:...
include (CheckSymbolExists) include (CMakePushCheckState) # ~~~ # Check if a symbol is exported # # Same as check_symbol_exists but works around the problem of not detecting # symbols when -Wpedantic is on. # # Also automatically adds the definitions of the current directory to # CMAKE_REQUIRED_DEFINITIONS. # # https:...
Set the default buildtype to RelWithDebInfo.
# Always include srcdir and builddir in include path # This saves typing ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY} in # about every subdir # since cmake 2.4.0 set(CMAKE_INCLUDE_CURRENT_DIR ON) # Put the include dirs which are in the source or build tree # before all other include dirs, so the headers in the ...
# Always include srcdir and builddir in include path # This saves typing ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY} in # about every subdir # since cmake 2.4.0 set(CMAKE_INCLUDE_CURRENT_DIR ON) # Put the include dirs which are in the source or build tree # before all other include dirs, so the headers in the ...
Implement a new test for the mitkStatistics calculator
set(MODULE_TESTS mitkImageStatisticsCalculatorTest.cpp mitkPointSetStatisticsCalculatorTest.cpp mitkPointSetDifferenceStatisticsCalculatorTest.cpp ) set(MODULE_CUSTOM_TESTS mitkImageStatisticsHotspotTest.cpp # mitkMultiGaussianTest.cpp # TODO: activate test to generate new test cases for mitkImageStatisticsHo...
set(MODULE_TESTS mitkImageStatisticsCalculatorTest.cpp mitkPointSetStatisticsCalculatorTest.cpp mitkPointSetDifferenceStatisticsCalculatorTest.cpp mitkImageStatisticsTextureAnalysisTest.cpp ) set(MODULE_CUSTOM_TESTS mitkImageStatisticsHotspotTest.cpp # mitkMultiGaussianTest.cpp # TODO: activate test to gene...
Fix for mac build failing to find google_breakpad client libraries.
# -*- cmake -*- include(Prebuilt) if (STANDALONE) MESSAGE(FATAL_ERROR "*TODO standalone support for google breakad is unimplemented") # *TODO - implement this include(FindGoogleBreakpad) else (STANDALONE) use_prebuilt_binary(google_breakpad) set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler crash_gene...
# -*- cmake -*- include(Prebuilt) if (STANDALONE) MESSAGE(FATAL_ERROR "*TODO standalone support for google breakad is unimplemented") # *TODO - implement this include(FindGoogleBreakpad) else (STANDALONE) use_prebuilt_binary(google_breakpad) if (DARWIN) set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_ha...
Handle unusual (old?) FindPkgConfig package in CMake
# - Try to find LibCheck # Once done this will define # LIBCHECK_FOUND - System has LibCheck # LIBCHECK_INCLUDE_DIRS - The LibCheck include directories # LIBCHECK_LIBRARIES - The libraries needed to use LibCheck # LIBCHECK_DEFINITIONS - Compiler switches required for using LibCheck FIND_PACKAGE(PkgConfig) PKG_CHEC...
# - Try to find LibCheck # Once done this will define # LIBCHECK_FOUND - System has LibCheck # LIBCHECK_INCLUDE_DIRS - The LibCheck include directories # LIBCHECK_LIBRARIES - The libraries needed to use LibCheck # LIBCHECK_DEFINITIONS - Compiler switches required for using LibCheck FIND_PACKAGE(PkgConfig) PKG_CHEC...
Install of export file bis
MACRO (MYPACKAGEEXPORT) IF (MYPACKAGE_DEBUG) MESSAGE (STATUS "[${PROJECT_NAME}-EXPORT-DEBUG] Creating target ${PROJECT_NAME}Export with export file ${INCLUDE_OUTPUT_PATH}/${PROJECT_NAME}/export.h") ENDIF () INCLUDE (GenerateExportHeader) GENERATE_EXPORT_HEADER(${PROJECT_NAME} BASE_NAME ${PROJECT...
MACRO (MYPACKAGEEXPORT) IF (MYPACKAGE_DEBUG) MESSAGE (STATUS "[${PROJECT_NAME}-EXPORT-DEBUG] Creating target ${PROJECT_NAME}Export with export file ${INCLUDE_OUTPUT_PATH}/${PROJECT_NAME}/export.h") ENDIF () INCLUDE (GenerateExportHeader) GENERATE_EXPORT_HEADER(${PROJECT_NAME} BASE_NAME ${PROJECT...
Add support for android build
{ 'targets': [ { 'target_name': 'mraa', 'sources': [ @mraa_LIB_SRCS_GYP@ 'src/version.c', 'src/mraajsJAVASCRIPT_wrap.cxx' ], 'include_dirs': [ @mraa_LIB_INCLUDE_DIRS_GYP@ ], 'variables': { "v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed '...
{ 'targets': [ { 'target_name': 'mraa', 'sources': [ @mraa_LIB_SRCS_GYP@ 'src/version.c', 'src/mraajsJAVASCRIPT_wrap.cxx' ], 'include_dirs': [ @mraa_LIB_INCLUDE_DIRS_GYP@ ], 'variables': { "v8_version%": "<!(node -e 'console.log(process.v...
Make sure that toplevel bin/ directory is there... some python stuff might want to make links at cmake time.
function(catkin_workspace) assert(catkin_EXTRAS_DIR) assert_file_exists(${catkin_EXTRAS_DIR}/templates/topologically_traverse.py.in "${catkin_EXTRAS_DIR}") assert_file_exists(${catkin_EXTRAS_DIR}/em/topologically_traverse.cmake.em "file not found") include_directories(${CMAKE_BINARY_DIR}/gen/cpp) set(CMAKE_A...
function(catkin_workspace) if (NOT IS_DIRECTORY ${CMAKE_BINARY_DIR}/bin) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin) endif() assert(catkin_EXTRAS_DIR) assert_file_exists(${catkin_EXTRAS_DIR}/templates/topologically_traverse.py.in "${catkin_EXTRAS_DIR}") assert_file_exists(${catkin_EXTRAS_DIR}/em/topolog...
Set paths to absolute paths, added found message
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) include(${SELF_DIR}/ResourcePackerTargets.cmake) set(ResourcePacker_INCLUDE_DIR ${SELF_DIR}/../../../include) set(ResourcePacker_INCLUDE_DIRS ${SELF_DIR}/../../../include) set(ResourcePacker_LIBRARY ${SELF_DIR}/../../../lib/libResourcePacker.so) set(...
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) include(${SELF_DIR}/ResourcePackerTargets.cmake) set(ResourcePacker_INCLUDE_DIR ${SELF_DIR}/../../../include) set(ResourcePacker_INCLUDE_DIRS ${SELF_DIR}/../../../include) set(ResourcePacker_LIBRARY ${SELF_DIR}/../../../lib/libResourcePacker.so) set(...
Update the SimpleITK version the Super Examples use.
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 $...
Include both SDK folders in error message.
SET(SDK_MIN "10.7") SET(SDK "10.7") SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk") SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk") IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}") IF (NOT EXISTS "${DEV_SDK2}" AND NOT IS_DIRECTORY "${...
SET(SDK_MIN "10.7") SET(SDK "10.7") SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk") SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk") IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}") IF (NOT EXISTS "${DEV_SDK2}" AND NOT IS_DIRECTORY "${...
Set default versions for dependencies
# Copyright (c) 2011, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_depend( boost crunch.base) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_benchmark _name) # Shared build target for all benchmarks if(NOT TARGET build-be...
# Copyright (c) 2011, Christian Rorvik # Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) vpm_set_default_versions( boost proxy crunch.base trunk) vpm_depend( boost crunch.base) vpm_include_directories(${CMAKE_CURRENT_LIST_DIR}/include) macro(crunch_add_benchmark _name) # S...
Fix scope of return var in nf_utils cmake
# # Copyright (c) 2019 The nanoFramework project contributors # See LICENSE file in the project root for full license information. # # check if a directory exists # going throuhg the directory to find if it's not empty takes a lot of time because it sweeps all files # simplifying this now to speed up local builds macr...
# # Copyright (c) 2019 The nanoFramework project contributors # See LICENSE file in the project root for full license information. # # check if a directory exists # going throuhg the directory to find if it's not empty takes a lot of time because it sweeps all files # simplifying this now to speed up local builds macr...
Update FW: optimize depth align, make it work with subpixel/U16 (still not optimized)
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "80b63be3ce97dc177df17865da85403ff08348ca") # "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 "3c19d5edec86d1b7709e5a4224a9019f5e695d32") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: StereoDepth: Fix ImgFrame metadata width and height when decimation filter is enabled
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "7a7ea51a555cf4c5ff6fd453ea4701ee7e2d470d") # "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 "f734632a981d4b918fbb6b52f077e729b1a74d45") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update IOSTL to 2019-01-16 master
# 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. https://hdl.handle.net/10380/3452" GIT_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITKSTLMeshIO.git GIT...
# 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. https://hdl.handle.net/10380/3452" GIT_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITKSTLMeshIO.git GIT...
Update FW with stereo performance improvements
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "ff3310c9e34043ddaf1f7c18bcfc64a22b9305c9") # "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 "c4b3d00943fc95edac6e51602e74ce506f72b191") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW with fix for timesync
# 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 "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "a2efd50dde44e2d4e84e18b85d883d6421af68e2") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Revert "Qt graph: no need to add dependencies of dependency"
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. include(CMakeParseArguments) # cmake_parse_arguments include(hunter_internal_error) function(hunter_qt_add_module) set(one "NAME") set(multiple "COMPONENTS") cmake_parse_arguments(x "" "${one}" "${multiple}" ${ARGV}) # -> x_NAME # -> x_COMPONENTS...
# Copyright (c) 2015, Ruslan Baratov # All rights reserved. include(CMakeParseArguments) # cmake_parse_arguments include(hunter_internal_error) function(hunter_qt_add_module) set(one "NAME") set(multiple "COMPONENTS") cmake_parse_arguments(x "" "${one}" "${multiple}" ${ARGV}) # -> x_NAME # -> x_COMPONENTS...
Fix a copy-paste error in the header
# Locate the Vulkan SDK # This module defines # Vulkan_FOUND, if false, do not try to link to Lua # Vulkan_INCLUDE_DIR # Vulkan_LIBRARY # # Specifying either Qt5_ROOT_DIR or Qt5_QMAKE_EXECUTABLE is enough # to find the entire Qt5 install. FIND_LIBRARY(Vulkan_LIBRARY NAMES vulkan-1 vulkan PATH_SUFFIXES lib64 li...
# Locate the Vulkan SDK # This module defines # Vulkan_FOUND # Vulkan_INCLUDE_DIR # Vulkan_LIBRARY # # Specifying either Qt5_ROOT_DIR or Qt5_QMAKE_EXECUTABLE is enough # to find the entire Qt5 install. FIND_LIBRARY(Vulkan_LIBRARY NAMES vulkan-1 vulkan PATH_SUFFIXES lib64 lib Bin PATHS ${VK_SDK_PATH} $...
Tweak toolchain comment associated with CMAKE_IGNORE_PATH
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR i686) # Setting these is not needed because the -m32 flag is already # associated with the ${cross_triple}-gcc wrapper script. #set(CMAKE_CXX_COMPILER_ARG1 "-m32") #set(CMAKE_C_COMPILER_ARG1 "-m32") set(cross_triple "i686-linux-gnu") ...
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR i686) # Setting these is not needed because the -m32 flag is already # associated with the ${cross_triple}-gcc wrapper script. #set(CMAKE_CXX_COMPILER_ARG1 "-m32") #set(CMAKE_C_COMPILER_ARG1 "-m32") set(cross_triple "i686-linux-gnu") ...
Support Gentoo install for z3
find_path(Z3_INCLUDE_DIR NAMES z3.h PATH_SUFFIXES libz3 ) find_library(Z3_LIBRARIES NAMES z3 libz3 ) find_program(Z3_EXECUTABLE z3) if(Z3_INCLUDE_DIR AND Z3_EXECUTABLE) execute_process (COMMAND ${Z3_EXECUTABLE} -version OUTPUT_VARIABLE libz3_version_str ERROR_QUIET OUTPUT_STRIP_TRAILIN...
find_path(Z3_INCLUDE_DIR NAMES z3.h PATH_SUFFIXES libz3 z3 ) find_library(Z3_LIBRARIES NAMES z3 libz3 ) find_program(Z3_EXECUTABLE z3) if(Z3_INCLUDE_DIR AND Z3_EXECUTABLE) execute_process (COMMAND ${Z3_EXECUTABLE} -version OUTPUT_VARIABLE libz3_version_str ERROR_QUIET OUTPUT_STRIP_TRAI...
Add possible support for SCO OpenServer 6 with GCC compiler
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 ...
set (PLIB_THREAD_MODEL posix) set (PLIB_IPC_MODEL sysv) set (PLIB_TIME_PROFILER_MODEL posix) set (PLIB_DIR_MODEL posix) set (PLIB_PLATFORM_DEFINES -D_REENTRANT -D_SIMPLE_R ) if (CMAKE_SYSTEM_VERSION VERSION_LESS "5.0") set (PLIB_PLATFORM_LINK_LIBRARIES socket nsl gthreads) message (" ...
Add back the /lib for windows to work.
# Variables defined: # SOUNDIO_FOUND # SOUNDIO_INCLUDE_DIR # SOUNDIO_LIBRARY # # Environment variables used: # SOUNDIO_ROOT find_path(SOUNDIO_INCLUDE_DIR soundio/soundio.h) find_path(SOUNDIO_INCLUDE_DIR soundio/soundio.h HINTS $ENV{SOUNDIO_ROOT}/include) find_library(SOUNDIO_LIBRARY NAMES soundio) find_library(...
# Variables defined: # SOUNDIO_FOUND # SOUNDIO_INCLUDE_DIR # SOUNDIO_LIBRARY # # Environment variables used: # SOUNDIO_ROOT find_path(SOUNDIO_INCLUDE_DIR soundio/soundio.h) find_path(SOUNDIO_INCLUDE_DIR soundio/soundio.h HINTS $ENV{SOUNDIO_ROOT}/include) find_library(SOUNDIO_LIBRARY NAMES soundio) find_library(...
Add environment PATH to hints to find Cython.
# Find the Cython compiler. # # This code sets the following variables: # # CYTHON_EXECUTABLE # # See also UseCython.cmake #============================================================================= # Copyright 2011 Kitware, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use...
# Find the Cython compiler. # # This code sets the following variables: # # CYTHON_EXECUTABLE # # See also UseCython.cmake #============================================================================= # Copyright 2011 Kitware, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use...
Update BridgeNumPy to most recent version (2017.03.27)
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(BridgeNumPy "This module contains wrapper code to convert ITK Image's to NumPy array's and back. For example: import itk ImageType = itk.Image[itk.F, 2] image = ImageType.New() array = itk.PyBuffer[ImageType].GetArrayFromImage...
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(BridgeNumPy "This module contains wrapper code to convert ITK Image's to NumPy array's and back. For example: import itk ImageType = itk.Image[itk.F, 2] image = ImageType.New() array = itk.PyBuffer[ImageType].GetArrayFromImage...
Fix for problems executing test build script
MACRO(LL_TEST_COMMAND OUTVAR LD_LIBRARY_PATH) # nat wonders how Kitware can use the term 'function' for a construct that # cannot return a value. And yet, variables you set inside a FUNCTION are # local. Try a MACRO instead. SET(value ${PYTHON_EXECUTABLE} "${CMAKE_SOURCE_DIR}/cmake/run_build_test.py") ...
include(Python) MACRO(LL_TEST_COMMAND OUTVAR LD_LIBRARY_PATH) # nat wonders how Kitware can use the term 'function' for a construct that # cannot return a value. And yet, variables you set inside a FUNCTION are # local. Try a MACRO instead. SET(value ${PYTHON_EXECUTABLE} "${CMAKE_SOURCE_DIR}/cmake/run_...
Add conan-center repo to be able to find missing packages (e.g. catch2)
macro(run_conan) # Download automatically, you can also just copy the conan.cmake file if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake") message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan") file(DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/v0.15/conan.cmake" "${CMAK...
macro(run_conan) # Download automatically, you can also just copy the conan.cmake file if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake") message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan") file(DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/v0.15/conan.cmake" "${CMAK...
Add Apple install rule for documentation pdf.
include(velodyneviewer.bundle.common) set (CPACK_GENERATOR DragNDrop) include(CPack) # we only to paraview explicitly. install(CODE " file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE DIRECTORY FILES \"${install_location}/bin/VeloView.app\") file(WRITE \"\${CMAKE_IN...
include(velodyneviewer.bundle.common) set (CPACK_GENERATOR DragNDrop) include(CPack) # we only to paraview explicitly. install(CODE " file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE DIRECTORY FILES \"${install_location}/bin/VeloView.app\") file(INSTALL DESTINATIO...
Implement configuration of all things Ada.
option(ENABLE_ada "Build Ada interface to PLplot" OFF) # Eventually configure this. set(GNATMAKE_EXECUTABLE gnatmake) # This location can be obtained from last element in object search path # generated by "gnatls -v" command. # This works for Debian stable. Eventually configure this. set(GNAT_DIR /usr/lib/gcc-lib/i486...
# cmake/modules/ada.cmake # # Copyright (C) 2007 Alan W. Irwin # # This file is part of PLplot. # # PLplot is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published # by the Free Software Foundation; version 2 of the License. # # PLplot is distri...
Change warning level to som more sane.
SET (CMAKE_C_COMPILER "clang") SET (CMAKE_CXX_COMPILER "clang++") SET(CMAKE_C_FLAGS "-pipe -Weverything -std=c99 -pedantic" CACHE STRING "" FORCE) SET(CMAKE_C_FLAGS_RELEASE "-O2 -fomit-frame-pointer" CACHE STRING "" FORCE) SET(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb" CACHE STRING "" FORCE) IF(NOT CMAKE_BUILD_TYPE ) SET(CMA...
SET (CMAKE_C_COMPILER "clang") SET (CMAKE_CXX_COMPILER "clang++") SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -pedantic -std=c99" CACHE STRING "" FORCE) SET(CMAKE_C_FLAGS_RELEASE "-O2 -fomit-frame-pointer" CACHE STRING "" FORCE) SET(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb" CACHE STRING "" FORCE) IF(NOT CMAKE_BUILD_TYPE ) SET(CM...
Add compile flag for Irrlicht static lib usage in case of static lib build.
SET (IRRIMGUI_STATIC_LIBRARY OFF CACHE BOOL "Enabled static lib build (requires also static lib of Irrlicht!).") if (IRRIMGUI_STATIC_LIBRARY) message(STATUS "Build static library...") ADD_DEFINITIONS( -D_IRRIMGUI_STATIC_LIB_ ) else () message(STATUS "Build shared library...") endif ()
SET (IRRIMGUI_STATIC_LIBRARY OFF CACHE BOOL "Enabled static lib build (requires also static lib of Irrlicht!).") if (IRRIMGUI_STATIC_LIBRARY) message(STATUS "Build static library...") ADD_DEFINITIONS( -D_IRRIMGUI_STATIC_LIB_ -D_IRR_STATIC_LIB_ ) else () message(STATUS "Build shared library...") endif ()
Allow additional common_application parameters, e.g,, MACOSX_BUNDLE
# Copyright (c) 2014 Stefan.Eilemann@epfl.ch # Configures the build for a simple application: # common_application(<Name>) # # Uses: # * NAME_SOURCES for all compilation units # * NAME_HEADERS for all internal header files # * NAME_LINK_LIBRARIES for dependencies of name # # Builds Name application and installs it. ...
# Copyright (c) 2014 Stefan.Eilemann@epfl.ch # Configures the build for a simple application: # common_application(<Name>) # # Input: # * NAME_SOURCES for all compilation units # * NAME_HEADERS for all internal header files # * NAME_LINK_LIBRARIES for dependencies of name # * ARGN for optional add_executable paramet...
Make sure notes file exists.
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
Fix FW, support for multiple IMX378/477
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "f6926cb5bca9962ba690cea0f371b13baf2f18ec") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "52f663eab412836f604869b9a9b03f1a39dbb627") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Make it possible to easily override OXYGEN_DEBUG in any cpp file
#ifndef __CONFIG_H__ #define __CONFIG_H__ #define GTK_THEME_DIR "@GTK_THEME_DIR@/gtk-2.0" #define OXYGEN_DEBUG @OXYGEN_DEBUG@ #define OXYGEN_ICON_HACK @OXYGEN_ICON_HACK@ #define OXYGEN_FORCE_KDE_ICONS_AND_FONTS @OXYGEN_FORCE_KDE_ICONS_AND_FONTS@ #define HAVE_DBUS @HAVE_DBUS@ #define ENABLE_COMBOBOX_LIST_RESIZE @ENABLE...
#ifndef __CONFIG_H__ #define __CONFIG_H__ #define GTK_THEME_DIR "@GTK_THEME_DIR@/gtk-2.0" #ifndef OXYGEN_DEBUG # define OXYGEN_DEBUG @OXYGEN_DEBUG@ #endif #define OXYGEN_ICON_HACK @OXYGEN_ICON_HACK@ #define OXYGEN_FORCE_KDE_ICONS_AND_FONTS @OXYGEN_FORCE_KDE_ICONS_AND_FONTS@ #define HAVE_DBUS @HAVE_DBUS@ #define ENAB...
Disable FEATURE_NI_BIND_FALLBACK by default for all platforms
if(CLR_CMAKE_TARGET_TIZEN_LINUX) set(FEATURE_GDBJIT_LANGID_CS 1) endif() if(NOT DEFINED FEATURE_EVENT_TRACE) set(FEATURE_EVENT_TRACE 1) endif(NOT DEFINED FEATURE_EVENT_TRACE) if(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_EVENT_TRACE) set(FEATURE_PERFTRACING 1) endif(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_...
if(CLR_CMAKE_TARGET_TIZEN_LINUX) set(FEATURE_GDBJIT_LANGID_CS 1) endif() if(NOT DEFINED FEATURE_EVENT_TRACE) set(FEATURE_EVENT_TRACE 1) endif(NOT DEFINED FEATURE_EVENT_TRACE) if(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_EVENT_TRACE) set(FEATURE_PERFTRACING 1) endif(NOT DEFINED FEATURE_PERFTRACING AND FEATURE_...
Set SimpleITK_MAX_DIMENSION to 5 by default
# # A common CMake file for consistently initializing and verifying the # SimpleITK_MAX_DIMENSION CMake variable. # set(SimpleITK_MAX_DIMENSION_DEFAULT 4) # 1900 = VS 14.0 (Visual Studio 2015) if(MSVC AND MSVC_VERSION VERSION_LESS 1900) set( SimpleITK_MAX_DIMENSION_DEFAULT 3 ) endif() if (DEFINED SimpleITK_4D_Imag...
# # A common CMake file for consistently initializing and verifying the # SimpleITK_MAX_DIMENSION CMake variable. # set(SimpleITK_MAX_DIMENSION_DEFAULT 5) # 1900 = VS 14.0 (Visual Studio 2015) if(MSVC AND MSVC_VERSION VERSION_LESS 1900) set( SimpleITK_MAX_DIMENSION_DEFAULT 3 ) endif() if (DEFINED SimpleITK_4D_Imag...
Fix build failure due to upload file name
# Client maintainer: blowekamp@mail.nih.gov set(CTEST_SITE "appveyor") set(CTEST_DASHBOARD_ROOT $ENV{APPVEYOR_BUILD_FOLDER}/..) string(SUBSTRING $ENV{APPVEYOR_REPO_COMMIT} 0 7 commit) # Extract major/minor/patch versions set(what "$ENV{APPVEYOR_PULL_REQUEST_TITLE}_#$ENV{APPVEYOR_PULL_REQUEST_NUMBER}") if("$ENV{APPVE...
# Client maintainer: blowekamp@mail.nih.gov set(CTEST_SITE "appveyor") set(CTEST_DASHBOARD_ROOT $ENV{APPVEYOR_BUILD_FOLDER}/..) string(SUBSTRING $ENV{APPVEYOR_REPO_COMMIT} 0 7 commit) # Extract major/minor/patch versions set(what "$ENV{APPVEYOR_PULL_REQUEST_TITLE}_#$ENV{APPVEYOR_PULL_REQUEST_NUMBER}") if("$ENV{APPVE...
Allow download script to use wget or curl
# DownloadLcbDeb(url location) MACRO(DOWNLOAD_LCB_DEP url dest) IF(UNIX) MESSAGE(STATUS "Downloading ${url} => ${dest}") EXECUTE_PROCESS(COMMAND wget -O "${dest}" "${url}") ELSEIF(WIN32) EXECUTE_PROCESS(COMMAND powershell -Command "(New-Object Net.WebClient).DownloadFile('${u...
# DownloadLcbDeb(url location) FIND_PROGRAM(WGET wget) FIND_PROGRAM(CURL curl) MACRO(DOWNLOAD_LCB_DEP url dest) IF(WIN32) EXECUTE_PROCESS(COMMAND powershell -Command "(New-Object Net.WebClient).DownloadFile('${url}', '${dest}')" RESULT_VARIABLE DLRC) ELSEIF(CURL) EXECUTE_PROCESS(COMM...
Update FW: stereo fixes, stereo/ColorCamera improvements
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "ae1c9ddcbd69ecbf9f6aeb720f3158a3003a8b3a") # "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 "665ede7a8669d441d02e4eb3be635b740d0ef190") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Update FW: improve OV9782 colors
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "694506bc17d036e03a5a69880a9ea79cc1e577ec") # "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 "2f108d8888ca6c318efba10fb0a8859d1e21d2dc") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Set nightly start time to UTC.
set(UPDATE_TYPE "true") set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind-csync.supp) set(CTEST_PROJECT_NAME "csync") set(CTEST_NIGHTLY_START_TIME "01:00:00 CET") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "mock.cryptomilk.org") set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_N...
set(UPDATE_TYPE "true") set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind-csync.supp) set(CTEST_PROJECT_NAME "csync") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "mock.cryptomilk.org") set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_N...
Update mdk - 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 "823893894f2ee5d5bc4d1ebf6bb920a58fa1e231") # "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 "f81a69c4d259004213234511738af9df1142c2c7") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
Add auto-load modules for DICOM IO
include(${CMAKE_CURRENT_LIST_DIR}/Minimal.cmake) list(APPEND enabled_modules CommandLine CoreCmdApps )
include(${CMAKE_CURRENT_LIST_DIR}/Minimal.cmake) list(APPEND enabled_modules AlgorithmsExt Annotation CommandLine ContourModel CoreCmdApps DataTypesExt DICOMPM DICOMPMIO DICOMQI DICOMReader DICOMReaderServices DicomRT DicomRTIO DICOMSegIO ModelFit Multilabel MultilabelIO LegacyGL ...
Remove ParaView from the DMG
include(matviz.bundle.common) set (CPACK_GENERATOR DragNDrop) include(CPack) install(CODE " file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE DIRECTORY FILES \"${install_location}/Applications/matviz.app\") file(WRITE \"\${CMAKE_INSTALL_PREFIX}/matviz.app/Contents/...
include(matviz.bundle.common) set (CPACK_GENERATOR DragNDrop) include(CPack) install(CODE " file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}\" USE_SOURCE_PERMISSIONS TYPE DIRECTORY FILES \"${install_location}/Applications/matviz.app\") file(WRITE \"\${CMAKE_INSTALL_PREFIX}/matviz.app/Contents/...