Skip to content

Commit 9c82976

Browse files
committed
Adding MIME library CMakeLists file.
1 parent 99bf564 commit 9c82976

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ if (Boost_FOUND)
1313
endif()
1414
enable_testing()
1515
add_subdirectory(libs/network/test)
16+
add_subdirectory(libs/mime/test)
17+

libs/mime/test/CMakeLists.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
include_directories(${CPP-NETLIB_SOURCE_DIR})
2+
find_package ( Boost 1.41.0 COMPONENTS unit_test_framework )
3+
set ( Boost_USE_STATIC_LIBS ON )
4+
set ( Boost_USE_MULTITHREADED ON )
5+
6+
if ( Boost_FOUND )
7+
add_executable ( mime-roundtrip mime-roundtrip.cpp )
8+
target_link_libraries ( mime-roundtrip ${Boost_LIBRARIES} )
9+
add_test ( mime-roundtrip mime-roundtrip )
10+
endif ()
11+

0 commit comments

Comments
 (0)