diff options
author | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-10-19 17:43:46 +0000 |
---|---|---|
committer | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-10-19 17:43:46 +0000 |
commit | 7db496d1e3e76a07bb51e6fafc85ccea96174ea7 (patch) | |
tree | b94a0c1ab988d0534e8e10d83b5e20045085f5d6 /pki/base/native-tools | |
parent | 409cc00b7a7b2fdfe04cfe7da31b25b370a87e82 (diff) | |
download | pki-7db496d1e3e76a07bb51e6fafc85ccea96174ea7.tar.gz pki-7db496d1e3e76a07bb51e6fafc85ccea96174ea7.tar.xz pki-7db496d1e3e76a07bb51e6fafc85ccea96174ea7.zip |
cmake: Added native-tools p7tool executable.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1370 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/native-tools')
-rw-r--r-- | pki/base/native-tools/src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | pki/base/native-tools/src/p7tool/CMakeLists.txt | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pki/base/native-tools/src/CMakeLists.txt b/pki/base/native-tools/src/CMakeLists.txt index e773768e2..db9c8084a 100644 --- a/pki/base/native-tools/src/CMakeLists.txt +++ b/pki/base/native-tools/src/CMakeLists.txt @@ -1 +1,2 @@ add_subdirectory(bulkissuance) +add_subdirectory(p7tool) diff --git a/pki/base/native-tools/src/p7tool/CMakeLists.txt b/pki/base/native-tools/src/p7tool/CMakeLists.txt new file mode 100644 index 000000000..6adfbedb7 --- /dev/null +++ b/pki/base/native-tools/src/p7tool/CMakeLists.txt @@ -0,0 +1,33 @@ +project(p7tool C) + +set(P7TOOL_PRIVATE_INCLUDE_DIRS + ${CMAKE_BINARY_DIR} + ${NSPR_INCLUDE_DIRS} + ${NSS_INCLUDE_DIRS} +) + +set(P7TOOL_LINK_LIBRARIES + ${NSPR_LIBRARIES} + ${NSS_LIBRARIES} +) + +set(p7tool_SRCS + secerror.c + secpwd.c + secutil.c + pppolicy.c + p7tool.c +) + +include_directories(${P7TOOL_PRIVATE_INCLUDE_DIRS}) + +add_executable(p7tool ${p7tool_SRCS}) + +target_link_libraries(p7tool ${P7TOOL_LINK_LIBRARIES}) + +install( + TARGETS p7tool + RUNTIME DESTINATION ${BIN_INSTALL_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} +) |