diff options
author | Endi S. Dewata <edewata@redhat.com> | 2013-11-25 12:43:03 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2013-12-06 03:18:23 -0500 |
commit | 8f6de6fd339c156ce3aad13ad5d45b635d194f79 (patch) | |
tree | 3d1b97403808f88a87b9e75aa6afc8e7280e8f8b /base | |
parent | 3adfccf442916b1f91177097a1ad318d1a2e7838 (diff) | |
download | pki-8f6de6fd339c156ce3aad13ad5d45b635d194f79.tar.gz pki-8f6de6fd339c156ce3aad13ad5d45b635d194f79.tar.xz pki-8f6de6fd339c156ce3aad13ad5d45b635d194f79.zip |
Added option to build without server packages.
The build scripts have been modified to accept an optional parameter
to build pki-core without the server packages.
Diffstat (limited to 'base')
-rw-r--r-- | base/CMakeLists.txt | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt index 0dc513666..3410ed876 100644 --- a/base/CMakeLists.txt +++ b/base/CMakeLists.txt @@ -3,26 +3,27 @@ project(base) # The order is important! if (APPLICATION_FLAVOR_PKI_CORE) add_subdirectory(test) - add_subdirectory(setup) add_subdirectory(symkey) add_subdirectory(util) add_subdirectory(common) add_subdirectory(native-tools) add_subdirectory(java-tools) - add_subdirectory(server) - if(BUILD_PKI_SELINUX) - add_subdirectory(selinux) - endif(BUILD_PKI_SELINUX) - add_subdirectory(ca) - add_subdirectory(kra) - add_subdirectory(ocsp) - add_subdirectory(tks) - add_subdirectory(tps) - add_subdirectory(silent) - if(WITH_JAVADOC) - add_subdirectory(javadoc) - endif(WITH_JAVADOC) + if(WITH_SERVER) + add_subdirectory(server) + add_subdirectory(ca) + add_subdirectory(kra) + add_subdirectory(ocsp) + add_subdirectory(tks) + add_subdirectory(tps) + add_subdirectory(setup) + add_subdirectory(silent) + + if(WITH_JAVADOC) + add_subdirectory(javadoc) + endif(WITH_JAVADOC) + + endif(WITH_SERVER) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/VERSION |