73415b6aa0
arm_arch.h is included from ARM asm files, but lives in crypto/, not openssl/include/. Since the asm files are often built from a different location than their position in the source tree, relative include paths are unlikely to work so, rather than having crypto/ be a de-facto, second global include path, this change moves arm_arch.h to include/openssl/. It also removes entries from many include paths because they should be needed as relative includes are always based on the locations of the source file. Change-Id: I638ff43d641ca043a4fc06c0d901b11c6ff73542 Reviewed-on: https://boringssl-review.googlesource.com/5746 Reviewed-by: Adam Langley <agl@google.com>
50 lines
779 B
CMake
50 lines
779 B
CMake
include_directories(../../include)
|
|
|
|
add_custom_command(
|
|
OUTPUT err_data.c
|
|
COMMAND ${GO_EXECUTABLE} run err_data_generate.go > ${CMAKE_CURRENT_BINARY_DIR}/err_data.c
|
|
DEPENDS
|
|
err_data_generate.go
|
|
asn1.errordata
|
|
bio.errordata
|
|
bn.errordata
|
|
cipher.errordata
|
|
conf.errordata
|
|
dh.errordata
|
|
digest.errordata
|
|
dsa.errordata
|
|
ecdh.errordata
|
|
ecdsa.errordata
|
|
ec.errordata
|
|
engine.errordata
|
|
evp.errordata
|
|
hkdf.errordata
|
|
obj.errordata
|
|
pem.errordata
|
|
pkcs8.errordata
|
|
rsa.errordata
|
|
ssl.errordata
|
|
x509.errordata
|
|
x509v3.errordata
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
add_library(
|
|
err
|
|
|
|
OBJECT
|
|
|
|
err.c
|
|
err_data.c
|
|
)
|
|
|
|
add_executable(
|
|
err_test
|
|
|
|
err_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(err_test crypto)
|