Skip to content
Snippets Groups Projects
Commit 685363b2 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

use RelWithDebInfo if no build type is specified

parent 00938688
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
# if CMAKE_BUILD_TYPE is specified use it; otherwise set the default
# build type to "RelWithDebInfo" ("-O2 -g" with gcc) prior to calling
# project()
if(DEFINED CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "Choose build type")
else(DEFINED CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose build type")
endif(DEFINED CMAKE_BUILD_TYPE)
project(api_demos CXX)
add_subdirectory(../.. "${CMAKE_CURRENT_BINARY_DIR}/gmsh")
......
......@@ -3,7 +3,7 @@
// plaqueEp.stp 0.2 0.2 0.2 0.3 3
// plaqueEpRotated.stp 0.3 0.3 0.3 0.3 3
// jonction_collee2.stp 6 6 6 10 3
// panneau_raidi_simple.stp 3 3 50 10 2 0
// panneau_raidi_simple.stp 3 3 50 5 2 0
// plaque_trouee.stp 1 1 1 2 3
#include "Gmsh.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment