forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (39 loc) · 1.15 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#=============================================================================
# MuseScore
# Music Composition & Notation
#
# Copyright (C) 2013 Werner Schweer
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation and appearing in
# the file LICENCE.GPL
#=============================================================================
add_executable (smf2xml smf2xml.cpp xmlwriter.cpp midifile.cpp)
if (NOT MSVC)
set_target_properties(smf2xml
PROPERTIES COMPILE_FLAGS "-g -Wall -Wextra"
)
else (NOT MSVC)
set_target_properties (smf2xml
PROPERTIES COMPILE_FLAGS ""
)
endif (NOT MSVC)
target_link_libraries(smf2xml
${QT_LIBRARIES}
)
add_executable (xml2smf xml2smf.cpp xmlreader.cpp midifile.cpp)
if (NOT MSVC)
set_target_properties (
xml2smf
PROPERTIES COMPILE_FLAGS "-g -Wall -Wextra"
)
else (NOT MSVC)
set_target_properties (
xml2smf
PROPERTIES COMPILE_FLAGS ""
)
endif (NOT MSVC)
target_link_libraries(xml2smf
${QT_LIBRARIES}
)