mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 14:23:52 +08:00
043631fd18
Enables these headers to show up in IDEs.
16 lines
682 B
CMake
Vendored
16 lines
682 B
CMake
Vendored
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/muParserDLL.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)
|
|
|
|
FILE(GLOB MUPARSER_HEADERS ${CMAKE_CURRENT_LIST_DIR}/include/*.h)
|
|
TARGET_SOURCES(muparser PRIVATE ${MUPARSER_HEADERS})
|