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()
|
|
|
|
|
2014-05-08 20:20:37 +00:00
|
|
|
add_library(util trace.cpp debug.cpp name.cpp name_set.cpp
|
|
|
|
name_generator.cpp exception.cpp interrupt.cpp hash.cpp escaped.cpp
|
|
|
|
bit_tricks.cpp safe_arith.cpp ascii.cpp memory.cpp shared_mutex.cpp
|
|
|
|
realpath.cpp script_state.cpp script_exception.cpp rb_map.cpp
|
|
|
|
lua.cpp luaref.cpp lua_named_param.cpp stackinfo.cpp lean_path.cpp
|
2014-09-05 21:42:13 +00:00
|
|
|
serializer.cpp lbool.cpp thread_script_state.cpp bitap_fuzzy_search.cpp
|
|
|
|
${THREAD_CPP})
|
2013-11-27 03:15:49 +00:00
|
|
|
|
|
|
|
target_link_libraries(util ${LEAN_LIBS})
|