From 2ca890361addddb74b64ec9814a7da12e8d953c9 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Mon, 20 Aug 2012 02:56:03 +0200 Subject: [PATCH] small reorganization of cmake file structure --- CMakeLists.txt | 4 ++-- {modules => cmake}/FindAllegro5.cmake | 0 {modules => cmake}/FindAllegro5ACodec.cmake | 0 {modules => cmake}/FindAllegro5Audio.cmake | 0 {modules => cmake}/FindAllegro5Font.cmake | 0 {modules => cmake}/FindAllegro5Image.cmake | 0 {modules => cmake}/FindAllegro5Main.cmake | 0 {modules => cmake}/FindAllegro5Primitives.cmake | 0 {modules => cmake}/FindAllegro5TTF.cmake | 0 cmake_uninstall.cmake.in => cmake/cmake_uninstall.cmake.in | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename {modules => cmake}/FindAllegro5.cmake (100%) rename {modules => cmake}/FindAllegro5ACodec.cmake (100%) rename {modules => cmake}/FindAllegro5Audio.cmake (100%) rename {modules => cmake}/FindAllegro5Font.cmake (100%) rename {modules => cmake}/FindAllegro5Image.cmake (100%) rename {modules => cmake}/FindAllegro5Main.cmake (100%) rename {modules => cmake}/FindAllegro5Primitives.cmake (100%) rename {modules => cmake}/FindAllegro5TTF.cmake (100%) rename cmake_uninstall.cmake.in => cmake/cmake_uninstall.cmake.in (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index bdffb71..a4c0144 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8) project(SuperDerpy C) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -ansi -g") -SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/modules) +SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) if(MINGW) # Guess MINGDIR from the value of CMAKE_C_COMPILER if it's not set. @@ -26,5 +26,5 @@ add_subdirectory(src) install(DIRECTORY data DESTINATION share/superderpy) # uninstall target -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) diff --git a/modules/FindAllegro5.cmake b/cmake/FindAllegro5.cmake similarity index 100% rename from modules/FindAllegro5.cmake rename to cmake/FindAllegro5.cmake diff --git a/modules/FindAllegro5ACodec.cmake b/cmake/FindAllegro5ACodec.cmake similarity index 100% rename from modules/FindAllegro5ACodec.cmake rename to cmake/FindAllegro5ACodec.cmake diff --git a/modules/FindAllegro5Audio.cmake b/cmake/FindAllegro5Audio.cmake similarity index 100% rename from modules/FindAllegro5Audio.cmake rename to cmake/FindAllegro5Audio.cmake diff --git a/modules/FindAllegro5Font.cmake b/cmake/FindAllegro5Font.cmake similarity index 100% rename from modules/FindAllegro5Font.cmake rename to cmake/FindAllegro5Font.cmake diff --git a/modules/FindAllegro5Image.cmake b/cmake/FindAllegro5Image.cmake similarity index 100% rename from modules/FindAllegro5Image.cmake rename to cmake/FindAllegro5Image.cmake diff --git a/modules/FindAllegro5Main.cmake b/cmake/FindAllegro5Main.cmake similarity index 100% rename from modules/FindAllegro5Main.cmake rename to cmake/FindAllegro5Main.cmake diff --git a/modules/FindAllegro5Primitives.cmake b/cmake/FindAllegro5Primitives.cmake similarity index 100% rename from modules/FindAllegro5Primitives.cmake rename to cmake/FindAllegro5Primitives.cmake diff --git a/modules/FindAllegro5TTF.cmake b/cmake/FindAllegro5TTF.cmake similarity index 100% rename from modules/FindAllegro5TTF.cmake rename to cmake/FindAllegro5TTF.cmake diff --git a/cmake_uninstall.cmake.in b/cmake/cmake_uninstall.cmake.in similarity index 100% rename from cmake_uninstall.cmake.in rename to cmake/cmake_uninstall.cmake.in