diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-24 23:37:30 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-24 23:37:30 -0700 |
commit | f01a97df69225b8c185d343b441af7cf06fd0951 (patch) | |
tree | 93e6cd70d76df826e7b8caae3301a18e02d527be /tests | |
parent | 53ed88f0431bf85abcbe314b88165fe38904ba55 (diff) |
Added missing CMakeLists.txt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 00000000..61fa7120 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,14 @@ +include_directories(${CMAKE_CURRENT_BINARY_DIR}/../src/include) +link_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/ctemplate/lib + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/icu4c/lib + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/libetpan/lib +) + +find_library(FOUNDATIONFRAMEWORK NAMES Foundation) +find_library(SECURITYFRAMEWORK NAMES Security) +find_library(CORESERVICESFRAMEWORK NAMES CoreServices) + +add_executable (tests main.mm test-all.mm) +target_link_libraries (tests MailCore z etpan xml2 icudata icui18n icuuc sasl2 iconv tidy ctemplate ssl crypto + ${FOUNDATIONFRAMEWORK} ${SECURITYFRAMEWORK} ${CORESERVICESFRAMEWORK}) |