diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-20 04:54:36 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-20 04:54:36 +0000 |
commit | 673172e3ffb8e345b2bbfb6596ac3d79a1e17f14 (patch) | |
tree | d6535f36f0ff55b0f313d5e0aac8823c3fd98161 /muse2/grepmidi/CMakeLists.txt | |
parent | da484f0563218c2432ee4d6f2eb3ce8c7c298622 (diff) |
Major cmake cleanup. Please see the ChangeLog.
Diffstat (limited to 'muse2/grepmidi/CMakeLists.txt')
-rw-r--r-- | muse2/grepmidi/CMakeLists.txt | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/muse2/grepmidi/CMakeLists.txt b/muse2/grepmidi/CMakeLists.txt index 55084217..ff607aca 100644 --- a/muse2/grepmidi/CMakeLists.txt +++ b/muse2/grepmidi/CMakeLists.txt @@ -18,7 +18,23 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #============================================================================= -add_executable ( grepmidi grepmidi.cpp ) +## +## List of source files to compile +## +file (GLOB grepmidi_source_files + grepmidi.cpp + ) -install_targets ( /bin grepmidi ) +## +## Define target +## +add_executable ( grepmidi + ${grepmidi_source_files} + ) +## +## Install location +## +install(TARGETS grepmidi + DESTINATION ${CMAKE_INSTALL_PREFIX}/bin + ) |