Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
cmake_minimum_required(VERSION 2.8.11) |
| 2 |
|
| 3 |
set(SOURCE_FILES |
| 4 |
fact.cpp |
| 5 |
fact.h |
| 6 |
) |
| 7 |
|
| 8 |
add_library(fact SHARED ${SOURCE_FILES}) |
| 9 |
target_link_libraries(fact LINK_PUBLIC Kernel) |
| 10 |
|
| 11 |
add_executable(fact_test test.c) |
| 12 |
target_link_libraries(fact_test LINK_PUBLIC Kernel fact) |
| 13 |
|
| 14 |
# allow library users to find headers |
| 15 |
target_include_directories(fact PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |