Apply cmake-format

This commit is contained in:
Marius Kittler 2019-02-06 18:02:40 +01:00
parent 1d06d52f18
commit 4642f56d0d
1 changed files with 13 additions and 28 deletions

View File

@ -8,8 +8,7 @@ set(HEADER_FILES
io/parsingexception.h io/parsingexception.h
io/passwordfile.h io/passwordfile.h
util/openssl.h util/openssl.h
util/opensslrandomdevice.h util/opensslrandomdevice.h)
)
set(SRC_FILES set(SRC_FILES
io/cryptoexception.cpp io/cryptoexception.cpp
io/entry.cpp io/entry.cpp
@ -17,23 +16,17 @@ set(SRC_FILES
io/parsingexception.cpp io/parsingexception.cpp
io/passwordfile.cpp io/passwordfile.cpp
util/openssl.cpp util/openssl.cpp
util/opensslrandomdevice.cpp util/opensslrandomdevice.cpp)
) set(TEST_HEADER_FILES)
set(TEST_HEADER_FILES
)
set(TEST_SRC_FILES set(TEST_SRC_FILES
tests/utils.h tests/utils.h
tests/passwordfiletests.cpp tests/passwordfiletests.cpp
tests/entrytests.cpp tests/entrytests.cpp
tests/fieldtests.cpp tests/fieldtests.cpp
tests/opensslrandomdevice.cpp tests/opensslrandomdevice.cpp
tests/opensslutils.cpp tests/opensslutils.cpp)
)
set(DOC_FILES set(DOC_FILES README.md)
README.md
)
# meta data # meta data
set(META_PROJECT_NAME passwordfile) set(META_PROJECT_NAME passwordfile)
@ -56,23 +49,15 @@ use_cpp_utilities()
# find 3rd party libraries # find 3rd party libraries
include(3rdParty) include(3rdParty)
# zlib # zlib
use_external_library_from_package( use_external_library_from_package(z ZLIB ANY_VERSION ZLIB_INCLUDE_DIRS ZLIB_LIBRARIES AUTO_LINKAGE REQUIRED)
z
ZLIB ANY_VERSION
ZLIB_INCLUDE_DIRS
ZLIB_LIBRARIES
AUTO_LINKAGE
REQUIRED
)
# crypto library from OpenSSL # crypto library from OpenSSL
use_external_library_from_package( use_external_library_from_package(crypto
crypto OpenSSL
OpenSSL ANY_VERSION ANY_VERSION
OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR
OPENSSL_CRYPTO_LIBRARY OPENSSL_CRYPTO_LIBRARY
AUTO_LINKAGE AUTO_LINKAGE
REQUIRED REQUIRED)
)
# include modules to apply configuration # include modules to apply configuration
include(BasicConfig) include(BasicConfig)