| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |