mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-28 11:35:35 +00:00

Upgrade `cmake_minimum_required` from `(VERSION 2.8)` to `(VERSION 2.9)` to yield the warning: "Compatibility with CMake < 2.8.12 will be removed from a future version of CMake" Add "-Wno-unused" for CMAKE_CXX_FLAGS to yield the compilation warnings when build LLVM JIT. Fix the link error when code coverage is enabled.
12 lines
281 B
CMake
12 lines
281 B
CMake
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
cmake_minimum_required (VERSION 2.9)
|
|
|
|
project(binarydump)
|
|
|
|
add_definitions (-Wextra -pedantic -Wno-unused-parameter)
|
|
|
|
add_executable (binarydump binarydump.c)
|
|
|