Commit 166f1570 authored by Mathieu Faverge's avatar Mathieu Faverge

Add option to enable mutli-threading in parsers or not

parent 2d2907bf
......@@ -42,6 +42,8 @@ option(VITE_ENABLE_SERIALIZATION
"Enable the support of Boost Serialization." OFF)
option(VITE_ENABLE_VBO
"Enable the support of VBO." OFF)
option(VITE_ENABLE_MT_PARSERS
"Enable multi-threading in parsers." OFF)
### Trace format options
option(VITE_ENABLE_OTF
......@@ -101,5 +103,9 @@ if(VITE_ENABLE_TAU)
find_package(TAU)
endif(VITE_ENABLE_TAU)
if(VITE_ENABLE_MT_PARSERS)
add_definitions(MT_PARSING)
endif()
add_subdirectory(src)
#add_subdirectory(plugins)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment