2017-11-05 21:00:34 +00:00
|
|
|
SET(MUPARSER_SRCS
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParser.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserBase.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserBytecode.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserCallback.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserError.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserInt.cpp
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/src/muParserTokenReader.cpp)
|
|
|
|
|
|
|
|
ADD_LIBRARY(muparser STATIC ${MUPARSER_SRCS})
|
|
|
|
TARGET_INCLUDE_DIRECTORIES(muparser PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
2017-11-16 20:51:16 +00:00
|
|
|
|
|
|
|
FILE(GLOB MUPARSER_HEADERS ${CMAKE_CURRENT_LIST_DIR}/include/*.h)
|
|
|
|
TARGET_SOURCES(muparser PRIVATE ${MUPARSER_HEADERS})
|