| 1 |
## -*- mode: CMake -*- |
| 2 |
## |
| 3 |
## Copyright (c) 2016 The University of Utah |
| 4 |
## All rights reserved. |
| 5 |
## |
| 6 |
## This file is distributed under the University of Illinois Open Source |
| 7 |
## License. See the file COPYING for details. |
| 8 |
|
| 9 |
############################################################################### |
| 10 |
|
| 11 |
cmake_minimum_required(VERSION 2.8.12) |
| 12 |
|
| 13 |
############################################################################### |
| 14 |
|
| 15 |
project(unifdef) |
| 16 |
|
| 17 |
include_directories(${PROJECT_BINARY_DIR}) |
| 18 |
include_directories(${PROJECT_SOURCE_DIR}) |
| 19 |
include_directories(${CMAKE_BINARY_DIR}) |
| 20 |
|
| 21 |
add_executable(unifdef |
| 22 |
unifdef.c |
| 23 |
unifdef.h |
| 24 |
version.h |
| 25 |
) |
| 26 |
|
| 27 |
############################################################################### |
| 28 |
|
| 29 |
install(TARGETS unifdef |
| 30 |
RUNTIME DESTINATION "libexec" |
| 31 |
) |
| 32 |
|
| 33 |
############################################################################### |
| 34 |
|
| 35 |
## End of file. |