OLD | NEW |
(Empty) | |
| 1 # Software-based Trusted Platform Module (TPM) Emulator |
| 2 # Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> |
| 3 # |
| 4 # $Id: CMakeLists.txt 409 2010-02-19 12:28:44Z mast $ |
| 5 |
| 6 set(tddl_SRCS "tddl.c" "tddl.h") |
| 7 add_library(tddl SHARED ${tddl_SRCS}) |
| 8 if(UNIX) |
| 9 set_target_properties(tddl PROPERTIES SOVERSION "1.2" |
| 10 VERSION "1.2.${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINO
R}") |
| 11 elseif(WIN32) |
| 12 set_target_properties(tddl PROPERTIES OUTPUT_NAME ifxtpm) |
| 13 set_target_properties(tddl PROPERTIES PREFIX "") |
| 14 endif() |
| 15 |
| 16 install(TARGETS tddl DESTINATION lib) |
| 17 install(FILES "tddl.h" DESTINATION include) |
| 18 |
| 19 include_directories(${CMAKE_CURRENT_SOURCE_DIR}) |
| 20 add_executable(test_tddl test_tddl.c) |
| 21 target_link_libraries(test_tddl tddl) |
| 22 |
OLD | NEW |