Skip to content

Commit 2417392

Browse files
committed
Merge branch 'master' of github.com:MDjur/covise
2 parents eea76d9 + c53c340 commit 2417392

33 files changed

Lines changed: 458 additions & 435 deletions

cmake/CoviseGlobalFeatureTests.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ ELSE(COVISE_SYS_BIGENDIAN)
1515
ENDIF(COVISE_SYS_BIGENDIAN)
1616

1717
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
18-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
1918
include(CheckCXXCompilerFlag)
2019
check_cxx_compiler_flag("-Wno-stdlibcxx-not-found" have_wno_stdlibcxx_not_found)
2120
if(${have_wno_stdlibcxx_not_found})
@@ -24,7 +23,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2423
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-command-line-argument")
2524
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-command-line-argument")
2625
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
27-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
2826
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
2927
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
3028
endif()

cmake/CoviseHelperMacros.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,10 +1147,6 @@ MACRO(COVISE_FIND_CUDA)
11471147
set(CUDA_FOUND TRUE)
11481148
set(CUDA_PROPAGATE_HOST_FLAGS ON)
11491149
if(NOT WIN32)
1150-
# nvcc aborts compilation if -std was defined more than once
1151-
if ("${CMAKE_VERSION}" VERSION_LESS "3.3.0")
1152-
set(CUDA_NVCC_FLAGS "-std=c++11 ${CUDA_NVCC_FLAGS}")
1153-
endif()
11541150
if ((CMAKE_BUILD_TYPE STREQUAL "Debug") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
11551151
set(CUDA_NVCC_FLAGS "-g ${CUDA_NVCC_FLAGS}")
11561152
endif()

cmake/CovisePresets.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ IF(NOT COVISE_CONFIGURED_ONCE)
204204
# SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "Flags used by the compiler during all build types" FORCE)
205205

206206
IF(CMAKE_COMPILER_IS_GNUCC)
207-
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99" CACHE STRING "Flags used by the compiler during all build types" FORCE)
208207
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined"
209208
CACHE STRING "Flags used by the linker for shared objects" FORCE)
210209
ENDIF()

scripts/cuda-host-compiler

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/OpenCOVER/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#COVISE_UNFINISHED()
88

99
PROJECT(OpenCOVER C CXX)
10-
# this is already set in the top most CMakeLists.txt set (CMAKE_CXX_STANDARD 11)
1110
set(COVISE_BUILDING_COVER TRUE)
1211

1312
option(COVER_ENABLE_VOIP "Enable VoIP linphone client plugin" OFF)

src/OpenCOVER/DrivingSim/gaalet/cpp0x/benchmarks/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include_directories ("../../include/cpp0x")
55
if (NOT CMAKE_BUILD_TYPE)
66
set(CMAKE_BUILD_TYPE Release)
77
endif (NOT CMAKE_BUILD_TYPE)
8-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
98

109
file (GLOB benchmark_sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cpp")
1110
foreach (benchmark_source ${benchmark_sources})

src/OpenCOVER/DrivingSim/gaalet/cpp0x/examples/CarDynamics/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include_directories ("../../../include/cpp0x")
55
if (NOT CMAKE_BUILD_TYPE)
66
set(CMAKE_BUILD_TYPE Release)
77
endif (NOT CMAKE_BUILD_TYPE)
8-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
98

109
find_package(OpenSceneGraph REQUIRED osg osgViewer osgGA osgDB)
1110
include_directories (${OPENSCENEGRAPH_INCLUDE_DIRS})

src/OpenCOVER/DrivingSim/gaalet/cpp0x/examples/CarDynamicsCGA/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include_directories ("../../../include/cpp0x")
55
if (NOT CMAKE_BUILD_TYPE)
66
set(CMAKE_BUILD_TYPE Release)
77
endif (NOT CMAKE_BUILD_TYPE)
8-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
98

109
find_package(OpenSceneGraph REQUIRED osg osgViewer osgGA osgDB)
1110
include_directories (${OPENSCENEGRAPH_INCLUDE_DIRS})

src/OpenCOVER/DrivingSim/gaalet/cpp0x/examples/ClosedLoopKinematics/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include_directories ("../../../include/cpp0x")
55
if (NOT CMAKE_BUILD_TYPE)
66
set(CMAKE_BUILD_TYPE Release)
77
endif (NOT CMAKE_BUILD_TYPE)
8-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
98

109
find_package(OpenSceneGraph REQUIRED osg osgViewer osgGA)
1110
include_directories (${OPENSCENEGRAPH_INCLUDE_DIRS})

src/OpenCOVER/DrivingSim/gaalet/cpp0x/examples/ElasticCoupling/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ include_directories ("../../../include/cpp0x")
55
if (NOT CMAKE_BUILD_TYPE)
66
set(CMAKE_BUILD_TYPE Release)
77
endif (NOT CMAKE_BUILD_TYPE)
8-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
98

109
find_package(OpenSceneGraph REQUIRED osg osgViewer osgGA)
1110
include_directories (${OPENSCENEGRAPH_INCLUDE_DIRS})

0 commit comments

Comments
 (0)