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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Software-based Trusted Platform Module (TPM) Emulator 1 # Software-based Trusted Platform Module (TPM) Emulator
2 # Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> 2 # Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
3 # 3 #
4 # $Id: CMakeLists.txt 424 2010-02-22 16:36:14Z mast $ 4 # $Id: CMakeLists.txt 424 2010-02-22 16:36:14Z mast $
5 5
6 project(TPM_Emulator C) 6 project(TPM_Emulator C)
7 7
8 cmake_minimum_required(VERSION 2.6) 8 cmake_minimum_required(VERSION 2.6)
9 9
10 # enforce out of source build 10 # enforce out of source build
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 set(CPACK_SOURCE_GENERATOR "TGZ") 43 set(CPACK_SOURCE_GENERATOR "TGZ")
44 set(CPACK_SOURCE_IGNORE_FILES ".svn/" "/build/") 44 set(CPACK_SOURCE_IGNORE_FILES ".svn/" "/build/")
45 set(CPACK_GENERATOR "ZIP") 45 set(CPACK_GENERATOR "ZIP")
46 set(CPACK_SET_DESTDIR ON) 46 set(CPACK_SET_DESTDIR ON)
47 include(CPack) 47 include(CPack)
48 48
49 # include root directories 49 # include root directories
50 include_directories(${CMAKE_SOURCE_DIR}) 50 include_directories(${CMAKE_SOURCE_DIR})
51 include_directories(${CMAKE_BINARY_DIR}) 51 include_directories(${CMAKE_BINARY_DIR})
52 52
53 # uncomment this for debugging
54 # set(CMAKE_VERBOSE_MAKEFILE ON)
55
53 # add internal libraries 56 # add internal libraries
54 add_subdirectory(tpm) 57 add_subdirectory(tpm)
55 add_subdirectory(mtm) 58 add_subdirectory(mtm)
56 add_subdirectory(crypto) 59 add_subdirectory(crypto)
57 60
58 # add TDDL 61 # add TDDL
59 add_subdirectory(tddl) 62 add_subdirectory(tddl)
60 63
61 # add kernel modules 64 # add kernel modules
65 if(NOT "$ENV{CHROMEOS}")
62 add_subdirectory(tpmd_dev) 66 add_subdirectory(tpmd_dev)
67 endif()
63 68
64 # add executables 69 # add executables
65 add_subdirectory(tpmd) 70 add_subdirectory(tpmd)
66 71
OLDNEW
« 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