## ## $Id$ ## ## This file is part of Vidalia, and is subject to the license terms in the ## LICENSE file, found in the top level directory of this distribution. If ## you did not receive the LICENSE file with this file, you may obtain it ## from the Vidalia source package distributed by the Vidalia Project at ## http://www.vidalia-project.net/. No part of Vidalia, including this file, ## may be copied, modified, propagated, or distributed except according to ## the terms described in the LICENSE file. ## include_directories( # ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) if (WITH_HERDICTWEB_PLUGIN) add_subdirectory(HerdictWebReporterPlugin) endif(WITH_HERDICTWEB_PLUGIN) if (WITH_TORBROWSERBUNDLE_PLUGIN) add_subdirectory(TorBrowserBundlePlugin) endif(WITH_TORBROWSERBUNDLE_PLUGIN) add_definitions(-DVIDALIA_PLUGIN_LIBRARY=1) set(plugin_SRCS PluginManager.cpp VidaliaPluginInterface.cpp VidaliaPlugin.cpp ) qt4_wrap_cpp(plugin_SRCS PluginManager.h VidaliaPanel.h VidaliaPlugin.h ConfigPage.h ) add_library(vidaliaplugin SHARED ${plugin_SRCS}) target_link_libraries(vidaliaplugin ${QT_LIBRARIES} torcontrol )