mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 08:28:15 +00:00
12 lines
559 B
CMake
12 lines
559 B
CMake
# EVMC: Ethereum Client-VM Connector API.
|
|
# Copyright 2018 The EVMC Authors.
|
|
# Licensed under the MIT License. See the LICENSE file.
|
|
|
|
add_library(test-compile-c99 STATIC compilation_test.c)
|
|
target_link_libraries(test-compile-c99 PRIVATE evmc)
|
|
set_target_properties(test-compile-c99 PROPERTIES C_STANDARD 99 C_EXTENSIONS OFF)
|
|
|
|
add_library(test-compile-c11 STATIC ${PROJECT_SOURCE_DIR}/include/evmc/evmc.h compilation_test.c)
|
|
target_link_libraries(test-compile-c11 PRIVATE evmc)
|
|
set_target_properties(test-compile-c11 PROPERTIES C_STANDARD 11 C_EXTENSIONS OFF)
|