4ccf770b64
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
15 lines
442 B
CMake
15 lines
442 B
CMake
configure_file (
|
|
"${LEAN_SOURCE_DIR}/shell/version.h.in"
|
|
"${LEAN_BINARY_DIR}/version.h"
|
|
)
|
|
|
|
include_directories("${LEAN_BINARY_DIR}")
|
|
|
|
include_directories (${LEAN_SOURCE_DIR}/util)
|
|
include_directories (${LEAN_SOURCE_DIR}/numerics)
|
|
set (EXTRA_LIBS ${EXTRA_LIBS} util numerics ${GMP_LIBRARIES})
|
|
|
|
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
|
|
|
|
add_executable(lean lean.cpp)
|
|
target_link_libraries (lean ${EXTRA_LIBS})
|