1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

More cmake updates

Added install target (this is mainly for Linux)
Added mod-nyq-bench

More to come...
This commit is contained in:
Leland Lucius
2020-02-06 01:17:20 -06:00
parent 54ba4e9b8a
commit f0e3ee2cde
9 changed files with 155 additions and 51 deletions

26
images/CMakeLists.txt Executable file
View File

@@ -0,0 +1,26 @@
set( TARGET images )
set( TARGET_ROOT ${topdir}/images )
message( STATUS "========== Configuring ${TARGET} ==========" )
def_vars()
# This isn't really a target...
list( APPEND PIXMAPS
${_SRCDIR}/gnome-mime-application-x-audacity-project.xpm
${_SRCDIR}/icons/16x16/audacity16.xpm
${_SRCDIR}/icons/32x32/audacity32.xpm
${_SRCDIR}/icons/48x48/audacity.xpm
)
if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" )
install( FILES "${_SRCDIR}/audacity.svg"
DESTINATION "${_DATADIR}/icons/hicolor/scalable/apps" )
install( DIRECTORY "${_SRCDIR}/icons/"
DESTINATION "${_DATADIR}/icons/hicolor" )
install( FILES ${PIXMAPS}
DESTINATION "${_DATADIR}/pixmaps" )
endif()