feat(CMakeLists): add --Trust option when building standard/hott libraries

This commit is contained in:
Leonardo de Moura 2015-01-20 11:11:35 -08:00
parent 260795f981
commit 5ab7ff62b5

View file

@ -372,13 +372,13 @@ if("${CROSS_COMPILE}" MATCHES "ON" OR "${CMAKE_C_COMPILER}" MATCHES "emcc")
else() else()
add_custom_target( add_custom_target(
standard_lib ALL standard_lib ALL
COMMAND ${PYTHON_EXECUTABLE} ${LEAN_SOURCE_DIR}/../bin/linja all tags COMMAND ${PYTHON_EXECUTABLE} ${LEAN_SOURCE_DIR}/../bin/linja --Trust all tags
DEPENDS ${CMAKE_BINARY_DIR}/shell/lean DEPENDS ${CMAKE_BINARY_DIR}/shell/lean
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
) )
add_custom_target( add_custom_target(
hott_lib ALL hott_lib ALL
COMMAND ${PYTHON_EXECUTABLE} ${LEAN_SOURCE_DIR}/../bin/linja all tags COMMAND ${PYTHON_EXECUTABLE} ${LEAN_SOURCE_DIR}/../bin/linja --Trust all tags
DEPENDS ${CMAKE_BINARY_DIR}/shell/lean DEPENDS ${CMAKE_BINARY_DIR}/shell/lean
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../hott WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../hott
) )