1
#=============================================================================
6
# Copyright (C) 2002-2006 by Werner Schweer and others
8
# This program is free software; you can redistribute it and/or modify
9
# it under the terms of the GNU General Public License version 2.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
#=============================================================================
22
## List of source files to compile
24
file (GLOB remote_source_files
31
add_library(remote ${MODULES_BUILD}
32
${remote_source_files}
33
${PROJECT_BINARY_DIR}/all.h.pch
37
## Append to the list of translations
39
set (FILES_TO_TRANSLATE
41
${remote_source_files}
46
## Compilation flags and target name
48
set_source_files_properties(
50
PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h -include ${PYTHON_INCLUDES} -DENABLE_PYTHON"
56
if ( ${MODULES_BUILD} STREQUAL SHARED )
57
install(TARGETS remote
58
DESTINATION ${MusE_MODULES_DIR}
60
endif ( ${MODULES_BUILD} STREQUAL SHARED )