summaryrefslogtreecommitdiffstats
path: root/artsc
diff options
context:
space:
mode:
Diffstat (limited to 'artsc')
-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