2013-12-13 22:00:40 +00:00
|
|
|
if (("${BOOST}" MATCHES "ON") AND ("${MULTI_THREAD}" MATCHES "ON"))
|
|
|
|
set(THREAD_CPP "thread.cpp")
|
|
|
|
else()
|
|
|
|
set(THREAD_CPP "")
|
|
|
|
endif()
|
|
|
|
|
2013-11-30 18:22:57 +00:00
|
|
|
add_library(util trace.cpp debug.cpp name.cpp name_set.cpp
|
|
|
|
exception.cpp interrupt.cpp hash.cpp escaped.cpp bit_tricks.cpp
|
|
|
|
safe_arith.cpp ascii.cpp memory.cpp shared_mutex.cpp realpath.cpp
|
2013-11-27 22:57:33 +00:00
|
|
|
script_state.cpp script_exception.cpp splay_map.cpp lua.cpp
|
2013-12-28 00:45:40 +00:00
|
|
|
luaref.cpp stackinfo.cpp lean_path.cpp serializer.cpp ${THREAD_CPP})
|
2013-11-27 03:15:49 +00:00
|
|
|
|
|
|
|
target_link_libraries(util ${LEAN_LIBS})
|