Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: tddl/CMakeLists.txt

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mtm/mtm_verification.c ('k') | tddl/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tddl/CMakeLists.txt
diff --git a/tddl/CMakeLists.txt b/tddl/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d69b44a6e4f2f8f9cfb48c1f5b9f6b8045a700f
--- /dev/null
+++ b/tddl/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Software-based Trusted Platform Module (TPM) Emulator
+# Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
+#
+# $Id: CMakeLists.txt 409 2010-02-19 12:28:44Z mast $
+
+set(tddl_SRCS "tddl.c" "tddl.h")
+add_library(tddl SHARED ${tddl_SRCS})
+if(UNIX)
+ set_target_properties(tddl PROPERTIES SOVERSION "1.2"
+ VERSION "1.2.${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}")
+elseif(WIN32)
+ set_target_properties(tddl PROPERTIES OUTPUT_NAME ifxtpm)
+ set_target_properties(tddl PROPERTIES PREFIX "")
+endif()
+
+install(TARGETS tddl DESTINATION lib)
+install(FILES "tddl.h" DESTINATION include)
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+add_executable(test_tddl test_tddl.c)
+target_link_libraries(test_tddl tddl)
+
« no previous file with comments | « mtm/mtm_verification.c ('k') | tddl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698