CMakeLists.txt 405 B

1234567891011
  1. # Copyright (C) 2022 Intel Corporation. All rights reserved.
  2. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  3. cmake_minimum_required(VERSION 3.14)
  4. project(file_wasm)
  5. set (CMAKE_BUILD_TYPE Debug) # Otherwise no debug symbols (addr2line)
  6. add_executable(file main.c)
  7. set_target_properties (file PROPERTIES SUFFIX .wasm)
  8. install(FILES ${CMAKE_CURRENT_BINARY_DIR}/file.wasm DESTINATION wasm-app)