1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 01:00:13 +02:00

Check in gntp-send and a few template files

This commit is contained in:
Jeff Mitchell
2011-06-22 17:58:24 -04:00
parent a25d4719c9
commit 1921f42b9d
20 changed files with 1899 additions and 0 deletions

24
thirdparty/gntp-send/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,24 @@
cmake_minimum_required( VERSION 2.6 )
include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/gntp-send/headers )
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wnon-virtual-dtor -fno-strict-aliasing")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_RELWITHDEBUGINFO "-g -O2 ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "-g -ggdb -fno-reorder-blocks -fno-schedule-insns -fno-inline ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 ${CMAKE_CXX_FLAGS_DEBUG}")
endif(CMAKE_COMPILER_IS_GNUCXX)
if( WIN32 )
link_libraries ( ws2_32 )
endif( WIN32 )
set( GROWL_NTP_C_SRC
gntp-send/source/growl.c
gntp-send/source/tcp.c
gntp-send/source/md5.c )
add_library( tomahawk_growl SHARED ${GROWL_NTP_C_SRC} gntp-send/source/growl++.cpp )
set_target_properties( tomahawk_growl PROPERTIES COMPILE_FLAGS "-DGROWL_CPP_DLL -DGROWL_DLL" )