From f5d91d7cb5163a0d33a3776a16d0c2e626137e84 Mon Sep 17 00:00:00 2001 From: Ionel-Cristinel ANICHITEI Date: Tue, 17 Nov 2020 11:41:19 +0200 Subject: [PATCH] Use Release as the default build type --- CMakeLists.txt | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 293473c..05e6047 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ project(bddisasm ) if (NOT CMAKE_BUILD_TYPE) - message(STATUS "No build type given. Will use 'Debug'") - set(CMAKE_BUILD_TYPE Debug) + message(STATUS "No build type given. Will use 'Release'") + set(CMAKE_BUILD_TYPE Release) endif () set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/x64/${CMAKE_BUILD_TYPE}) diff --git a/README.md b/README.md index 5d23e6b..9087621 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,8 @@ make make install ``` +The default build type is Release. + Note that the current install behavior differs based on how the installation is done. When using make, the `bdshemu.h` header is placed by default in `include/bddisasm/bdshemu` in your install location, while the cmake method will place it in `include/bddisasm`. Using cmake also provides support for pkg-config. ### Building disasmtool_lix