mirror of
https://github.com/status-im/evmc.git
synced 2025-02-24 08:58:12 +00:00
12 lines
513 B
CMake
12 lines
513 B
CMake
|
# EVMC: Ethereum Client-VM Connector API.
|
||
|
# Copyright 2018 Pawel Bylica.
|
||
|
# 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 compilation_test.c)
|
||
|
target_link_libraries(test-compile-c11 PRIVATE evmc)
|
||
|
set_target_properties(test-compile-c11 PROPERTIES C_STANDARD 11 C_EXTENSIONS OFF)
|