2013-07-17 05:10:18 +00:00
|
|
|
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)
|
2013-07-17 21:33:00 +00:00
|
|
|
include_directories (${LEAN_SOURCE_DIR}/numerics)
|
|
|
|
set (EXTRA_LIBS ${EXTRA_LIBS} util numerics ${GMP_LIBRARIES})
|
2013-07-17 05:10:18 +00:00
|
|
|
|
2013-07-17 19:41:28 +00:00
|
|
|
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
|
|
|
|
|
2013-07-17 05:10:18 +00:00
|
|
|
add_executable(lean lean.cpp)
|
|
|
|
target_link_libraries (lean ${EXTRA_LIBS})
|