summaryrefslogtreecommitdiffstats
path: root/artsc/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-10 09:58:07 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-10 09:58:07 +0000
commitdf820b0e961e984b6c42392c376d1ce7cf4110bc (patch)
treeb97a255197af1b7f0b6842c8036beca5bbe899c9 /artsc/CMakeLists.txt
parent04b1fed13c916c4219c2a4c1e209b8cced713798 (diff)
downloadarts-df820b0e961e984b6c42392c376d1ce7cf4110bc.tar.gz
arts-df820b0e961e984b6c42392c376d1ce7cf4110bc.zip
[dependencies/arts] installing artsdsp
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1224388 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'artsc/CMakeLists.txt')
-rw-r--r--artsc/CMakeLists.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/artsc/CMakeLists.txt b/artsc/CMakeLists.txt
index 9187ae5..8ae4793 100644
--- a/artsc/CMakeLists.txt
+++ b/artsc/CMakeLists.txt
@@ -9,6 +9,9 @@
#
#################################################
+add_definitions( -DCOMPILING_ARTSC )
+
+
##### variables for artsc-config ################
set( prefix ${CMAKE_INSTALL_PREFIX} )
@@ -27,13 +30,13 @@ foreach( INC ${GTHREAD2_INCLUDE_DIRS} )
endforeach(INC)
configure_file( artsc-config.in artsc-config @ONLY )
+configure_file( artsdsp.in artsdsp @ONLY )
configure_file( artsc_export.h.in artsc_export.h @ONLY )
-install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/artsc-config DESTINATION ${BIN_INSTALL_DIR} )
-
-add_definitions(
- -DCOMPILING_ARTSC
-)
+install( PROGRAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/artsdsp
+ ${CMAKE_CURRENT_BINARY_DIR}/artsc-config
+ DESTINATION ${BIN_INSTALL_DIR} )
##### include paths #############################
@@ -56,6 +59,8 @@ include_directories(
# DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
##### artsdsp (shared lib) ######################
tde_add_library( artsdsp SHARED