Use Release as the default build type

pull/28/head
Ionel-Cristinel ANICHITEI 4 years ago
parent 2eb472cdab
commit f5d91d7cb5

@ -9,8 +9,8 @@ project(bddisasm
) )
if (NOT CMAKE_BUILD_TYPE) if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type given. Will use 'Debug'") message(STATUS "No build type given. Will use 'Release'")
set(CMAKE_BUILD_TYPE Debug) set(CMAKE_BUILD_TYPE Release)
endif () endif ()
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/x64/${CMAKE_BUILD_TYPE}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/x64/${CMAKE_BUILD_TYPE})

@ -74,6 +74,8 @@ make
make install 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. 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 ### Building disasmtool_lix

Loading…
Cancel
Save