~ubuntu-branches/ubuntu/raring/muse/raring

« 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.1.9) (10.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20110812111641-sjz0e93fr0ozfv0b
Tags: 2.0~beta2-1
* New maintainer (see bug 637185#12), thanks Daniel!
* New upstream release (Closes: #627371):
  - New interface Qt4-based (Closes: #604584)
* Refresh packaging:
  - Move to DH7 and source format 3.0 (quilt).
  - Refresh patchset.
  - Fix a bunch lintian warnings.
  - debian/postinst:
    + Use set -e in the body rather than pass -e on the #! line to make it
      have actually effect if it is run by hand with "sh /path/to/script".
  - Update instructions on how-to increase RTC clock frequency.
    Thanks to Torquil Macdonald Sørensen for the report (Closes: #570833).
  - Bump Standards.

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