Tests/GhsMulti/GhsMultiMultipleProjects/sub/CMakeLists.txt
raw| 1 | # Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
| 2 | # file LICENSE.rst or https://cmake.org/licensing for details. |
| 3 | |
| 4 | cmake_minimum_required(VERSION 3.12 FATAL_ERROR) |
| 5 | |
| 6 | project(test2 C) |
| 7 | |
| 8 | add_library(lib2 lib2.c) |
| 9 | add_executable(exe2 exe2.c) |
| 10 | target_link_libraries(exe2 lib1 lib2) |