Removed the commented leftovers from the changes.
[amule.git] / unittests / muleunit / CMakeLists.txt
blobd73abfd97434b36112384fa8ee2af456918d1b2a
1 add_library (muleunit OBJECT
2         test.cpp
3         main.cpp
4         testcase.cpp
5         testregistry.cpp
6         ${CMAKE_SOURCE_DIR}/src/libs/common/MuleDebug.cpp
7         ${CMAKE_SOURCE_DIR}/src/libs/common/StringFunctions.cpp
10 target_compile_definitions (muleunit
11         PUBLIC MULEUNIT
12         PUBLIC wxUSE_GUI=0
15 target_include_directories (muleunit
16         PUBLIC ${amule_BINARY_DIR}
17         PUBLIC ${CMAKE_SOURCE_DIR}/src/libs
18         INTERFACE ${CMAKE_SOURCE_DIR}/unittests
21 target_link_libraries (muleunit
22         wxWidgets::BASE
25 if (HAVE_BFD)
26         target_link_libraries (muleunit
27                 ${BFD_LIBRARY}
28         )
29 endif()