summaryrefslogtreecommitdiff
path: root/api_test/CMakeLists.txt
blob: b1c8499840f5b4c624827ef8ef55315e14c6023d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_executable(api_test
  cplusplus.cpp
  harness.c
  harness.h
  main.c
)
include_directories(
  ${PROJECT_SOURCE_DIR}/src
  ${PROJECT_BINARY_DIR}/src
)
if(CMARK_SHARED)
  target_link_libraries(api_test libcmark)
else()
  target_link_libraries(api_test libcmark_static)
endif()