From 1ddfdc1a880279ce07b2c43f60b7aa138d4ad315 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Mon, 17 Nov 2014 07:02:07 +1100 Subject: CMake files for Heimdall CLI and mingw support --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ff25585 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 2.8.4) + +set(CMAKE_MODULE_PATH + ${CMAKE_SOURCE_DIR}/cmake + ${CMAKE_MODULE_PATH}) + +project(Heimdall) + +add_subdirectory(libpit) +add_subdirectory(heimdall) -- cgit v1.1 From 39b48f2357b0b783815be88031b738376fa228e0 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Thu, 19 Feb 2015 02:51:00 +1100 Subject: Upgrade Heimdall Frontend to Qt5 and build with cmake --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ff25585..372a604 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,3 +8,4 @@ project(Heimdall) add_subdirectory(libpit) add_subdirectory(heimdall) +add_subdirectory(heimdall-frontend) -- cgit v1.1 From e2f0470fafa70e01dcb3732736f555a1f0b3b800 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Fri, 20 Feb 2015 02:13:02 +1100 Subject: Fix FindLibusb.cmake and make CMake setup IDE compatible --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 372a604..a4f694d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,10 @@ set(CMAKE_MODULE_PATH project(Heimdall) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + add_subdirectory(libpit) add_subdirectory(heimdall) add_subdirectory(heimdall-frontend) + +add_dependencies(heimdall-frontend heimdall) -- cgit v1.1 From f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sat, 22 Aug 2015 23:23:02 +0800 Subject: Add an option to disable GUI --- CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a4f694d..4dd4fb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,11 @@ project(Heimdall) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +option(DISABLE_FRONTEND "Disable GUI frontend" OFF) + add_subdirectory(libpit) add_subdirectory(heimdall) -add_subdirectory(heimdall-frontend) - -add_dependencies(heimdall-frontend heimdall) +if(NOT DISABLE_FRONTEND) + add_subdirectory(heimdall-frontend) + add_dependencies(heimdall-frontend heimdall) +endif() -- cgit v1.1