~aleteoryx/muditaos

ref: 395e99e16239630263d5892e2462f1333236ae99 muditaos/third-party/tinyexpr/CMakeLists.txt -rw-r--r-- 315 bytes
395e99e1 — Marek Niepieklo [CP-583] Update failure due to version.json on the phone 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
add_library(tinyexpr)
target_sources(tinyexpr
   PRIVATE
      ${CMAKE_CURRENT_SOURCE_DIR}/src/tinyexpr.c
      ${CMAKE_CURRENT_SOURCE_DIR}/src/tinyexpr.h
)

target_include_directories(tinyexpr
   PUBLIC
      $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
)
add_library(tinyexpr::tinyexpr ALIAS tinyexpr)