From 673172e3ffb8e345b2bbfb6596ac3d79a1e17f14 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Mon, 20 Dec 2010 04:54:36 +0000 Subject: Major cmake cleanup. Please see the ChangeLog. --- muse2/grepmidi/CMakeLists.txt | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'muse2/grepmidi') 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 + ) -- cgit v1.2.3