Commit 4b3bc75d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unmaintained cmake support

parent aa1868c7
......@@ -45,16 +45,6 @@ vlc_install_dir/*
plugins.dat
patches/*
# Ignore CMake Stuff
cmake
CMakeFiles
CTestTestfile.cmake
cmake_install.cmake
cmake_uninstall.cmake
CMakeCache.txt
CPackConfig.cmake
CPackSourceConfig.cmake
include/vlc/libvlc_version.h
# Ignore build dirs
......
if(ENABLE_LOADER)
set(SOURCES_libloader ldt_keeper.c pe_image.c module.c ext.c win32.c
driver.c pe_resource.c resource.c registry.c afl.c vfl.c
wrapper.S stubs.s kludge.c)
add_library(loader STATIC ${SOURCES_libloader})
set_target_properties(loader PROPERTIES COMPILE_FLAGS
"-D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN32_PATH=\\\"\\\" -DTRACE\\\(...\\\)=\\\(void\\\)0 -fno-PIC -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
target_link_libraries(loader pthread)
endif(ENABLE_LOADER)
set( SUBMODULES
access access_filter access_output audio_filter
audio_mixer audio_output codec control demux
gui meta_engine misc mux packetizer
services_discovery stream_out video_chroma
video_filter video_output visualization )
foreach( submodule ${SUBMODULES} )
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/${submodule} )
endforeach( submodule )
#TODO:
# disable NLS on demand
# installation
# update-po
# rebuild *.po if vlc.pot has changed (include POTFILES.in)
#FIXME: detection ?
find_program( GMSGFMT msgfmt )
find_program( MSGFMT msgfmt )
find_program( XGETTEXT xgettext )
find_program( MSGMERGE_UPDATE msgmerge --update )
find_program( MSGINIT msginit )
find_program( MSGCONV msgconv )
find_program( MSGFILTER msgfilter )
set( POFILES
af
ar
bn
ca
co
cs
da
de
el
en_GB
es
eu
fa
fi
fr
fur
gl
he
hi
hu
it
ja
ka
ko
lt
lv
ms
my
ne
nl
no
oc
pa
pl
ps
pt_BR
pt_PT
ro
ru
sk
sl
sq
sv
tet
th
tl
tr
zh_CN
zh_TW
)
FOREACH( pofile ${POFILES} )
set( po-target ${po-target} ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo )
ENDFOREACH( pofile)
ADD_CUSTOM_TARGET( all-po ALL
DEPENDS ${po-target}
)
foreach( pofile ${POFILES} )
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
COMMAND ${GMSGFMT} -c --statistics -o ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po
COMMAND mv ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po
)
endforeach( pofile )
set(qt4_SOURCES qt4.cpp menus.cpp main_interface.cpp dialogs_provider.cpp input_manager.cpp recents.cpp dialogs/playlist.cpp dialogs/bookmarks.cpp dialogs/preferences.cpp dialogs/mediainfo.cpp dialogs/extended.cpp dialogs/messages.cpp dialogs/errors.cpp dialogs/interaction.cpp dialogs/sout.cpp dialogs/help.cpp dialogs/gototime.cpp dialogs/open.cpp dialogs/vlm.cpp dialogs/podcast_configuration.cpp components/extended_panels.cpp components/info_panels.cpp components/preferences_widgets.cpp components/complete_preferences.cpp components/simple_preferences.cpp components/open_panels.cpp components/interface_widgets.cpp components/playlist/playlist_model.cpp components/playlist/playlist_item.cpp components/playlist/standardpanel.cpp components/playlist/playlist.cpp components/playlist/selector.cpp util/input_slider.cpp util/customwidgets.cpp util/registry.cpp )
set(qt4_UIS ui/equalizer.ui ui/v4l2.ui ui/video_effects.ui ui/open_file.ui ui/open_disk.ui ui/open_net.ui ui/open_capture.ui ui/open.ui ui/podcast_configuration.ui ui/sprefs_audio.ui ui/sprefs_input.ui ui/sprefs_interface.ui ui/sprefs_subtitles.ui ui/sprefs_video.ui ui/streampanel.ui ui/sout.ui ui/vlm.ui )
set(qt4_HEADERS
components/complete_preferences.hpp
components/extended_panels.hpp
components/info_panels.hpp
components/interface_widgets.hpp
components/open_panels.hpp
components/playlist/panels.hpp
components/playlist/playlist.hpp
components/playlist/playlist_item.hpp
components/playlist/playlist_model.hpp
components/playlist/selector.hpp
components/preferences_widgets.hpp
components/simple_preferences.hpp
dialogs/bookmarks.hpp
dialogs/errors.hpp
dialogs/extended.hpp
dialogs/gototime.hpp
dialogs/help.hpp
dialogs/interaction.hpp
dialogs/mediainfo.hpp
dialogs/messages.hpp
dialogs/open.hpp
dialogs/playlist.hpp
dialogs/podcast_configuration.hpp
dialogs/preferences.hpp
dialogs/sout.hpp
dialogs/vlm.hpp
dialogs_provider.hpp
input_manager.hpp
main_interface.hpp
menus.hpp
qt4.hpp
recents.hpp
util/customwidgets.hpp
util/input_slider.hpp
util/qvlcframe.hpp
util/registry.hpp
)
if(QT4_FOUND)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
vlc_get_module_compile_flags( MOC_FLAGS qt4 )
set(MOC_FLAGS "-DHAVE_CONFIG_H ${MOC_FLAGS}")
vlc_qt4_generate_moc(qt4_MOCS ${MOC_FLAGS} ${qt4_HEADERS})
vlc_qt4_wrap_ui(qt4_UIS_H ${qt4_UIS})
qt4_add_resources(qt4_SRCS vlc.qrc)
endif(QT4_FOUND)
vlc_add_module(qt4 ${qt4_SOURCES} ${qt4_SRCS} ${qt4_MOCS} ${qt4_UIS})
PROJECT(vlc)
cmake_policy(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
ENABLE_TESTING()
# Set the module path
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
# Our own include
include( vlc_module_funcs )
# Our config
include( config )
# Global definitions
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__)
# Large file support for Solaris and Linux:
add_definitions(-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98)
# Thread safety:
add_definitions(-D_REENTRANT -D_THREAD_SAFE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Needed for glibc:
add_definitions(-D_GNU_SOURCE)
# Our main include directories
include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
# our sources:
add_subdirectory(libs/loader)
add_subdirectory(src)
add_subdirectory(modules)
if(ENABLE_NLS)
add_subdirectory(po)
endif(ENABLE_NLS)
add_subdirectory(test)
# Enable uninstall
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/extras/buildsystem/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
# Target to reinstall the CMake files (until cmake gets defaulted)
add_custom_target(recmake
COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && sh "${CMAKE_CURRENT_SOURCE_DIR}/extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh")
# Enable CPack: Automatic package creation
set(README "${CMAKE_CURRENT_SOURCE_DIR}/README")
set(LICENCE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
if(APPLE)
set(README "${CMAKE_CURRENT_SOURCE_DIR}/extras/package/macosx/README.MacOSX.rtf")
set(LICENCE "") # FIXME: Mac OS X's Package Maker doesn't allow non .*
endif(APPLE)
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "VLC Media Player")
set(CPACK_PACKAGE_VENDOR "VideoLAN Team")
set(CPACK_PACKAGE_DESCRIPTION_FILE ${README})
set(CPACK_RESOURCE_FILE_LICENSE ${LICENCE})
set(CPACK_PACKAGE_VERSION_MAJOR "${VLC_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${VLC_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA}")
include(CPack)
add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS)
add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale")
add_definitions(-DPLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/lib/vlc")
add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/vlc")
# vlc
if(SYS_WIN32)
add_executable(vlc winvlc.c)
else(SYS_WIN32)
add_executable(vlc vlc.c)
endif(SYS_WIN32)
target_link_libraries(vlc libvlccore libvlc)
# libvlccore
set( SOURCES_libvlccore_beos misc/beos_specific.cpp )
set( SOURCES_libvlccore_darwin misc/darwin_specific.c )
set( SOURCES_libvlccore_win32 misc/win32_specific.c )
set( SOURCES_libvlccore_linux misc/linux_specific.c )
set( SOURCES_libvlccore_other misc/not_specific.c )
set( SOURCES_libvlccore_dirent extras/dirent.c )
set( SOURCES_libvlccore_getopt misc/getopt.c misc/getopt.h misc/getopt1.c )
set( SOURCES_libvlccore_common
libvlc.c
libvlc.h
libvlc-module.c
interface/interface.c
interface/intf_eject.c
interface/interaction.c
playlist/playlist_internal.h
playlist/thread.c
playlist/control.c
playlist/engine.c
playlist/sort.c
playlist/loadsave.c
playlist/tree.c
playlist/item.c
playlist/search.c
playlist/services_discovery.c
input/item.c
input/access.c
input/clock.c
input/control.c
input/decoder.c
input/decoder_synchro.c
input/demux.c
input/es_out.c
input/input.c
input/meta.c
input/input_internal.h
input/vlm_internal.h
input/stream.c
input/mem_stream.c
input/subtitles.c
input/var.c
video_output/video_output.c
video_output/vout_pictures.c
video_output/vout_pictures.h
video_output/video_text.c
video_output/video_widgets.c
video_output/vout_subpictures.c
video_output/vout_intf.c
audio_output/aout_internal.h
audio_output/common.c
audio_output/dec.c
audio_output/filters.c
audio_output/input.c
audio_output/mixer.c
audio_output/output.c
audio_output/intf.c
stream_output/stream_output.c
stream_output/stream_output.h
stream_output/announce.c
stream_output/profiles.c
stream_output/sap.c
stream_output/sdp.c
osd/osd.c
osd/osd_text.c
osd/osd_widgets.c
network/acl.c
network/getaddrinfo.c
network/io.c
network/tcp.c
network/udp.c
network/httpd.c
network/rootwrap.c
network/tls.c
network/poll.c
text/charset.c
text/strings.c
text/unicode.c
text/wincp.c
text/iso_lang.c
text/iso-639_def.h
misc/action.c
misc/md5.c
misc/rand.c
misc/mtime.c
misc/block.c
${CMAKE_BINARY_DIR}/src/modules/builtin.h
modules/modules.h
modules/modules.c
modules/cache.c
modules/entry.c
modules/os.c
misc/threads.c
misc/stats.c
misc/cpu.c
config/configuration.h
config/core.c
config/dirs.c
config/chain.c
config/file.c
config/intf.c
config/cmdline.c
misc/events.c
misc/image.c
misc/messages.c
misc/mime.c
misc/objects.c
misc/variables.h
misc/variables.c
misc/error.c
misc/update.h
misc/update.c
${CMAKE_BINARY_DIR}/src/misc/revision.c
input/vlm.c
input/vlmshell.c
misc/xml.c
misc/devices.c
version.c
extras/libc.c
${CMAKE_BINARY_DIR}/include/vlc_about.h )
set( SOURCES_libvlccore ${SOURCES_libvlccore_common} )
if(SYS_DARWIN)
set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_darwin} )
elseif(SYS_BEOS)
set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_beos} )
elseif(SYS_WIN32)
set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_win32} )
elseif(SYS_LINUX)
set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_linux} )
else(SYS_DARWIN)
set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_other} )
endif(SYS_DARWIN)
add_library(libvlccore SHARED ${SOURCES_libvlccore})
set_target_properties(libvlccore PROPERTIES
OUTPUT_NAME vlccore
SOVERSION 0 VERSION 0.0.0)
if(UPDATE_CHECK)
target_link_libraries(libvlccore ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES} "-lgcrypt")
else(UPDATE_CHECK)
target_link_libraries(libvlccore ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
endif(UPDATE_CHECK)
# libvlc
set( SOURCES_libvlc
control/libvlc_internal.h
control/core.c
control/log.c
control/playlist.c
control/vlm.c
control/video.c
control/audio.c
control/event.c
control/flat_media_list_view.c
control/hierarchical_media_list_view.c
control/hierarchical_node_media_list_view.c
control/media.c
control/media_player.c
control/media_list.c
control/media_list_path.h
control/media_list_player.c
control/media_list_view.c
control/media_library.c
control/mediacontrol_internal.h
control/mediacontrol_core.c
control/mediacontrol_util.c
control/mediacontrol_audio_video.c
control/media_discoverer.c )
add_library(libvlc SHARED ${SOURCES_libvlc})
set_target_properties(libvlc PROPERTIES OUTPUT_NAME vlc)
set_target_properties(libvlc PROPERTIES SOVERSION 2)
set_target_properties(libvlccore PROPERTIES VERSION 0.0.0)
set_source_files_properties(${SOURCES_libvlc} PROPERTIES COMPILE_FLAGS -DMODULE_STRING=\\"control\\")
set_source_files_properties(${SOURCES_libvlccore} PROPERTIES COMPILE_FLAGS -DMODULE_STRING=\\"main\\")
target_link_libraries(libvlc libvlccore)
##########################################################
# Install
install(TARGETS libvlccore libvlc DESTINATION lib)
install(TARGETS vlc DESTINATION bin)
##########################################################
# Libraries
# Carbon
if(APPLE)
find_library(CARBON_FRAMEWORK Carbon)
target_link_libraries(libvlccore ${CARBON_FRAMEWORK})
endif(APPLE)
##########################################################
# revision.c
set(rev "${CMAKE_BINARY_DIR}/src/misc/revision.c")
exec_program(dirname ARGS ${rev} OUTPUT_VARIABLE rev_dir)
add_custom_command(
OUTPUT ${rev}
COMMAND rm -f ${rev} ${rev}.tmp
COMMAND mkdir -p ${rev_dir}
COMMAND sh -c "echo '/* AUTOGENERATED FILE - DO NOT EDIT */' > ${rev}.tmp"
COMMAND sh -c "printf 'const char psz_vlc_changeset[] = \"' >> ${rev}.tmp"
COMMAND sh -c "printf `LANG=C git --git-dir=${CMAKE_SOURCE_DIR}/.git show-ref -s HEAD 2>/dev/null || printf exported` >> ${rev}.tmp"
COMMAND sh -c "echo '\";' >> ${rev}.tmp"
COMMAND mv -f ${rev}.tmp ${rev}
VERBATIM
)
set(rev)
##########################################################
# builtin.h
# No real use for this one, we just used to need it.
# We should really remove that.
set(builtin "${CMAKE_BINARY_DIR}/src/modules/builtin.h")
exec_program(dirname ARGS ${builtin} OUTPUT_VARIABLE builtin_dir)
add_custom_command(
OUTPUT ${builtin}
COMMAND mkdir -p ${builtin_dir}
COMMAND sh -c "echo '/* Auto generated by ${CMAKE_CURRENT_BUILD_DIR}/CMakeLists.txt */' > ${builtin}"
COMMAND sh -c "echo 'int vlc_entry__main( module_t* );' >> ${builtin}"
COMMAND sh -c "echo '#define ALLOCATE_ALL_BUILTINS() do {} while(0)' >> ${builtin}"
VERBATIM
)
set(should)
##########################################################
# vlc_about.h
set(about "${CMAKE_BINARY_DIR}/include/vlc_about.h")
exec_program(dirname ARGS ${about} OUTPUT_VARIABLE about_dir)
add_custom_command(
OUTPUT ${about}
COMMAND rm -f "${about}.tmp"
COMMAND mkdir -p ${about_dir}
COMMAND sh -c "echo '/* Automatically generated file - DO NOT EDIT */' > ${about}.tmp"
COMMAND sh -c "echo 'static const char psz_license[] =' >> ${about}.tmp"
COMMAND sh -c "cat ${CMAKE_SOURCE_DIR}/COPYING | sed s/\\\"/''/g | awk '{ print \"\\\"\"$0\"\\\\n\\\"\" }' >> ${about}.tmp"
COMMAND sh -c "echo ';' >> ${about}.tmp"
COMMAND sh -c "echo 'static const char psz_thanks[] =' >> ${about}.tmp"
COMMAND sh -c "grep -v '$$Id:' ${CMAKE_SOURCE_DIR}/THANKS | sed 's/\"/''/g' | awk '{ print \"\\\"\"$0\"\\\\n\\\"\" }'|sed 's/\"<.*.> \"//' >> ${about}.tmp"
COMMAND sh -c "echo ';' >> ${about}.tmp"
COMMAND sh -c "echo 'static const char psz_authors[] =' >> ${about}.tmp"
COMMAND sh -c "grep N: ${CMAKE_SOURCE_DIR}/AUTHORS | cut -d '\ ' -f 2- | sed 's/\"/''/g' | awk '{ print \"\\\"\"$0\"\\\\n\\\"\" }' >> ${about}.tmp"
COMMAND sh -c "echo ';' >> ${about}.tmp"
COMMAND sh -c "mv -f -- ${about}.tmp ${about}"
DEPENDS ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/THANKS ${CMAKE_SOURCE_DIR}/COPYING
VERBATIM
)
set(about)
##########################################################
# SET_TARGET_PROPERTIES
# FIXME: Should probably be autodetected in configure?
# FIXME: This breaks on FreeBSD also
#if(NOT APPLE)
# set(LINK_FLAGS "-z defs --as-needed")
#endif(NOT APPLE)
target_link_libraries(libvlccore "${CMAKE_THREAD_LIBS_INIT}")
target_link_libraries(libvlc "${CMAKE_THREAD_LIBS_INIT}")
set_target_properties(libvlccore libvlc vlc PROPERTIES COMPILE_FLAGS
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -I${CMAKE_BINARY_DIR}/src -I${CMAKE_BINARY_DIR}/include" )
##########################################################
# Tests
add_executable(test_i18n_atof test/i18n_atof.c)
add_executable(test_url test/url.c)
add_executable(test_utf8 test/utf8.c)
add_executable(test_dictionary test/dictionary.c)
target_link_libraries(test_i18n_atof libvlccore)
target_link_libraries(test_url libvlccore)
target_link_libraries(test_utf8 libvlccore)
target_link_libraries(test_dictionary libvlccore)
add_test(test_i18n_atof ${CMAKE_CURRENT_BINARY_DIR}/test_i18n_atof)
add_test(test_url ${CMAKE_CURRENT_BINARY_DIR}/test_url)
add_test(test_utf8 ${CMAKE_CURRENT_BINARY_DIR}/test_utf8)
add_test(test_dictionary ${CMAKE_CURRENT_BINARY_DIR}/test_dictionary)
add_executable(test_libvlc_core libvlc/core.c)
add_executable(test_libvlc_events libvlc/events.c)
#add_executable(test_libvlc_media_player libvlc/media_player.c
# samples/test.sample)
add_executable(test_libvlc_media_list libvlc/media_list.c)
#add_executable(test_libvlc_media_list_player libvlc/media_list_player.c
# samples/test.sample)
#add_executable(test_libvlc_meta libvlc/meta.c
# samples/meta.sample)
target_link_libraries(test_libvlc_core libvlc)
target_link_libraries(test_libvlc_events libvlc)
#target_link_libraries(test_libvlc_media_player libvlc)
target_link_libraries(test_libvlc_media_list libvlc)
#target_link_libraries(test_libvlc_media_list_player libvlc)
#target_link_libraries(test_libvlc_meta libvlc)
set(SAMPLES_SERVER http://streams.videolan.org/streams-videolan/reference)
MACRO(download_sample sample dest)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${dest}
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/samples
COMMAND curl -L ${SAMPLES_SERVER}/${sample} > ${CMAKE_CURRENT_BINARY_DIR}/${dest}
)
ENDMACRO(download_sample)
#download_sample(avi/Hero-Div3.avi samples/test.sample)
#download_sample(metadata/id3tag/Wesh-Bonneville.mp3 samples/meta.sample)
add_test(test_libvlc_core
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_core)
add_test(test_libvlc_events
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_events)
add_test(test_libvlc_media_player
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_player)
add_test(test_libvlc_media_list
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_list)
add_test(test_libvlc_media_list_player
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_list_player)
add_test(test_libvlc_meta
${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_meta)
To use CMake:
First, as CMake isn't the default on vlc populate its CMakeLists files:
$ cd vlc && sh ./extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
WARNING: You are strongly encouraged to use cmake-2.5 (cvs version)
Now you can use CMake as usual:
$ cd vlc && mkdir build && cd build && cmake .. (or ccmake .. if you want a graphical view of the settings)
(This will create a build directory)
$ make [VERBOSE=1 if you want more details]
$ make install
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF(NOT "${rm_retval}" STREQUAL 0)
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
ENDIF(NOT "${rm_retval}" STREQUAL 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
#ifndef TEST_CONFIG_H
#define TEST_CONFIG_H
#cmakedefine ATTRIBUTE_ALIGNED_MAX
#cmakedefine CACA_EVENT_OPAQUE
#cmakedefine CAN_COMPILE_3DNOW
#cmakedefine CAN_COMPILE_ALTIVEC
#cmakedefine CAN_COMPILE_C_ALTIVEC
#cmakedefine CAN_COMPILE_MMX
#cmakedefine CAN_COMPILE_MMXEXT
#cmakedefine CAN_COMPILE_SSE
#cmakedefine CAN_COMPILE_SSE2
#cmakedefine CONFIGURE_LINE "${CONFIGURE_LINE}"
#cmakedefine COPYRIGHT_MESSAGE "${COPYRIGHT_MESSAGE}"
#cmakedefine COPYRIGHT_YEARS "${COPYRIGHT_YEARS}"
#cmakedefine CRAY_STACKSEG_END
#cmakedefine C_ALLOCA
#cmakedefine DPMSINFO_IN_DPMS_H
#cmakedefine ENABLE_HTTPD
#cmakedefine ENABLE_NLS
#cmakedefine ENABLE_SOUT
#cmakedefine ENABLE_VLM
#cmakedefine HAVE_A52DEC_A52_H
#cmakedefine HAVE_ADDRINFO
#cmakedefine HAVE_ALLOCA
#cmakedefine HAVE_ALLOCA_H
#cmakedefine HAVE_ALSA
#cmakedefine HAVE_ALSA_NEW_API
#cmakedefine HAVE_ALTIVEC_H
#cmakedefine HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
#cmakedefine HAVE_ARGZ_COUNT
#cmakedefine HAVE_ARGZ_H
#cmakedefine HAVE_ARGZ_NEXT
#cmakedefine HAVE_ARGZ_STRINGIFY
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_ASPRINTF
#cmakedefine HAVE_ATOF
#cmakedefine HAVE_ATOLL
#cmakedefine HAVE_ATTRIBUTE_FORMAT
#cmakedefine HAVE_ATTRIBUTE_PACKED
#cmakedefine HAVE_ATTRIBUTE_VISIBILITY
#cmakedefine HAVE_AVAHI_06
#cmakedefine HAVE_AVAHI_CLIENT
#cmakedefine HAVE_BSEARCH
#cmakedefine HAVE_BUILTIN_EXPECT
#cmakedefine HAVE_CARBON_CARBON_H
#cmakedefine HAVE_CASCADE_GRAPHICS_CASCADEBITMAP_H
#cmakedefine HAVE_CASCADE_GRAPHICS_CASCADESCREEN_H
#cmakedefine HAVE_CDDAX
#cmakedefine HAVE_CFLOCALECOPYCURRENT
#cmakedefine HAVE_CFPREFERENCESCOPYAPPVALUE
#cmakedefine HAVE_CLOCK_NANOSLEEP
#cmakedefine HAVE_CONNECT
#cmakedefine HAVE_COREAUDIO_COREAUDIO_H
#cmakedefine HAVE_CTIME_R
#cmakedefine HAVE_CYBERGARAGE_UPNP_MEDIASERVER_H
#cmakedefine HAVE_D3D9_H
#cmakedefine HAVE_DAEMON
#cmakedefine HAVE_DBUS
#cmakedefine HAVE_DCGETTEXT
#cmakedefine HAVE_DDRAW_H
#cmakedefine HAVE_DECL_FEOF_UNLOCKED
#cmakedefine HAVE_DECL_FGETS_UNLOCKED
#cmakedefine HAVE_DECL_GETC_UNLOCKED
#cmakedefine HAVE_DECL_NANOSLEEP
#cmakedefine HAVE_DECL__SNPRINTF
#cmakedefine HAVE_DECL__SNWPRINTF
#cmakedefine HAVE_DESCHUTES_LIBRARIES_HDMACHINEX225_PCMAUDIOPLAYER_H
#cmakedefine HAVE_DIRENT_H
#cmakedefine HAVE_DLFCN_H
#cmakedefine HAVE_DL_BEOS
#cmakedefine HAVE_DL_DLD_LINK
#cmakedefine HAVE_DL_DLOPEN
#cmakedefine HAVE_DL_DYLD
#cmakedefine HAVE_DL_H
#cmakedefine HAVE_DL_SHL_LOAD
#cmakedefine HAVE_DL_WINDOWS
#cmakedefine HAVE_DSHOW_H
#cmakedefine HAVE_DVBPSI_DR_H
#cmakedefine HAVE_DVDREAD_DVD_READER_H
#cmakedefine HAVE_DYNAMIC_PLUGINS
#cmakedefine HAVE_EBML_EBMLVERSION_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_FAAD_H
#cmakedefine HAVE_FCNTL_H
#cmakedefine HAVE_FFMPEG_AVCODEC_H
#cmakedefine HAVE_FFMPEG_AVFORMAT_H
#cmakedefine HAVE_FFMPEG_AVUTIL_H
#cmakedefine HAVE_FFMPEG_SWSCALE_H
#cmakedefine HAVE_LIBAVCODEC_AVCODEC_H
#cmakedefine HAVE_LIBAVFORMAT_AVFORMAT_H
#cmakedefine HAVE_LIBAVUTIL_AVUTIL_H
#cmakedefine HAVE_LIBSWSCALE_SWSCALE_H
#cmakedefine HAVE_FLAC_STREAM_DECODER_H