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

Unified Diff: CMakeLists.txt

Issue 1589027: Prepare tpm-emulator for emerge (do not try to compile kernel module). (Closed)
Patch Set: CMakeLists.txt changes for separate kernel module compilation. Created 10 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06461acc7b887a645c01fffd7a1723f11bc0bd46..8a751d8b81b6b367cd6b80ba9366e0cc07f70483 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,6 +50,9 @@ include(CPack)
include_directories(${CMAKE_SOURCE_DIR})
include_directories(${CMAKE_BINARY_DIR})
+# uncomment this for debugging
+# set(CMAKE_VERBOSE_MAKEFILE ON)
+
# add internal libraries
add_subdirectory(tpm)
add_subdirectory(mtm)
@@ -59,7 +62,9 @@ add_subdirectory(crypto)
add_subdirectory(tddl)
# add kernel modules
+if(NOT "$ENV{CHROMEOS}")
add_subdirectory(tpmd_dev)
+endif()
# add executables
add_subdirectory(tpmd)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698