~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to synti/s1/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-08-12 11:16:41 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20110812111641-sg7bj019yhh91mpl
Tags: upstream-2.0~beta2
ImportĀ upstreamĀ versionĀ 2.0~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#=============================================================================
 
2
#  MusE
 
3
#  Linux Music Editor
 
4
#  $Id:$
 
5
#
 
6
#  Copyright (C) 2002-2006 by Werner Schweer and others
 
7
#
 
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.
 
10
#
 
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.
 
15
#
 
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
#=============================================================================
 
20
 
 
21
##
 
22
## List of source files to compile
 
23
##
 
24
file (GLOB s1_source_files
 
25
      s1.cpp
 
26
      )
 
27
 
 
28
##
 
29
## Define target
 
30
##
 
31
add_library ( s1 SHARED
 
32
      ${s1_source_files}
 
33
      )
 
34
 
 
35
##
 
36
## Append to the list of translations
 
37
##
 
38
set (FILES_TO_TRANSLATE
 
39
      ${FILES_TO_TRANSLATE}
 
40
      ${s1_source_files}
 
41
      CACHE INTERNAL ""
 
42
      )
 
43
 
 
44
##
 
45
## Compilation flags and target name
 
46
##
 
47
# tell cmake to name target s1.so instead of 
 
48
# libs1.so
 
49
#
 
50
set_target_properties ( s1 
 
51
      PROPERTIES PREFIX "" 
 
52
      COMPILE_FLAGS "-fvisibility=hidden"
 
53
      )
 
54
 
 
55
##
 
56
## Linkage
 
57
##
 
58
target_link_libraries(s1
 
59
      synti
 
60
      )
 
61
 
 
62
##
 
63
## Install location
 
64
##
 
65
install( TARGETS s1
 
66
      DESTINATION ${MusE_SYNTHI_DIR}
 
67
      )
 
68