set(CVC4_NEED_INT64_T_OVERLOADS 0)
set(CVC4_USE_CLN_IMP 0)
set(CVC4_USE_GMP_IMP 1)
+
set(CVC4_USE_SYMFPU 0)
+set(CVC4_PROOF 0)
+
#-----------------------------------------------------------------------------#
add_subdirectory(doc)
-add_subdirectory(proofs/signatures)
add_subdirectory(src)
+
+if(CVC4_PROOF)
+ add_subdirectory(proofs/signatures)
+ set(LIBRARIES ${LIBRARIES} signatures)
+endif()
string(REPLACE "\\" "\\\\" CORE_SIGNATURES "${CORE_SIGNATURES}")
string(REPLACE "\"" "\\\"" CORE_SIGNATURES "${CORE_SIGNATURES}")
string(REPLACE "\n" "\\n\\\n" CORE_SIGNATURES "${CORE_SIGNATURES}")
+
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/signatures.cpp.in
${CMAKE_CURRENT_BINARY_DIR}/signatures.cpp)
+
+add_library(signatures SHARED ${CMAKE_CURRENT_BINARY_DIR}/signatures.cpp)
extern const char *const plf_signatures;
const char *const plf_signatures = "\
-@CORE_SIGNATURES@
+@CORE_SIGNATURES@\
";
} // namespace proof
${LIBRARIES}
)
-# TODO: if proofs: libsignatures
-
include_directories(. ${CMAKE_CURRENT_BINARY_DIR})
include_directories(expr ${CMAKE_CURRENT_BINARY_DIR}/expr)
include_directories(include ${CMAKE_CURRENT_BINARY_DIR}/include)