Sha256: 8c59064237e28cfc924fe6d8bee5a1cd0f5c8420f30abdcf54d6fecb6476b6fd

Contents?: true

Size: 731 Bytes

Versions: 15

Compression:

Stored size: 731 Bytes

Contents

add_executable(api_test
  cplusplus.cpp
  harness.c
  harness.h
  main.c
)
include_directories(
  ${PROJECT_SOURCE_DIR}/src
  ${PROJECT_BINARY_DIR}/src
)
target_link_libraries(api_test libcmark ${CMAKE_DL_LIBS})

# Compiler flags
if(MSVC)
  # Force to always compile with W4
  if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
    string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
  else()
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
  endif()
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4706 /D_CRT_SECURE_NO_WARNINGS")
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /TP")
elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic")
endif()

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
commonmarker-0.14.14 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.13 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.12 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.11 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.9 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.8 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.7 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.6 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.5 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.4 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.3 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.2 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.1 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.14.0 ext/commonmarker/cmark/api_test/CMakeLists.txt
commonmarker-0.11.0 ext/commonmarker/cmark/api_test/CMakeLists.txt