mirror of https://github.com/openXC7/prjxray.git
Merge pull request #1089 from antmicro/sanitizers_cmake
third_party: Add sanitizers-cmake module
This commit is contained in:
commit
8739b9f9bf
|
|
@ -22,3 +22,6 @@
|
|||
[submodule "third_party/yosys"]
|
||||
path = third_party/yosys
|
||||
url = https://github.com/YosysHQ/yosys
|
||||
[submodule "third_party/sanitizers-cmake"]
|
||||
path = third_party/sanitizers-cmake
|
||||
url = https://github.com/arsenm/sanitizers-cmake.git
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 3.5.0)
|
|||
project(prjxray)
|
||||
option(PRJXRAY_BUILD_TESTING "" OFF)
|
||||
|
||||
# Add sanitizers-cmake package
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/third_party/sanitizers-cmake/cmake" ${CMAKE_MODULE_PATH})
|
||||
find_package(Sanitizers)
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 99e159ec9bc8dd362b08d18436bd40ff0648417b
|
||||
Loading…
Reference in New Issue