You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
559 B
20 lines
559 B
5 years ago
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
||
|
|
||
|
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
|
||
|
|
||
|
project(test C)
|
||
|
|
||
|
add_link_options("-non_shared")
|
||
|
|
||
|
# create virtual AS
|
||
|
add_executable(vas exe.c)
|
||
|
target_link_libraries(vas lib)
|
||
|
add_library(lib func.c)
|
||
|
|
||
|
# create dynamic download INTEGRITY application
|
||
|
add_executable(dynamic)
|
||
|
set_target_properties(dynamic PROPERTIES ghs_integrity_app ON)
|
||
|
target_compile_options(dynamic PRIVATE -dynamic)
|
||
|
add_dependencies(dynamic vas)
|