yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=7cf3d8be9d35e21b6bf6e9232083c80172cab735

commit 7cf3d8be9d35e21b6bf6e9232083c80172cab735
Author: Yakov Goldberg <[email protected]>
Date:   Sun Mar 22 13:56:41 2015 +0200

    Change configuration ad installation options
    
    For configuration and installation use:
    $ cmake ..
    
    or, in order to install into custom path:
    $ cmake -DCMAKE_INSTALL_PREFIX=/install_path ..
    
    For configuration of Debug version use:
    $ cmake -DCMAKE_INSTALL_PREFIX=/install_path -DCMAKE_BUILD_TYPE=debug ..
    
    in this case config files will be copied into build path and
    Erigo can be launched from build directory.
---
 CMakeLists.txt                  | 2 +-
 src/bin/CMakeLists.txt          | 2 --
 src/bin/egui_gui/CMakeLists.txt | 2 --
 src/lib/CMakeLists.txt          | 2 --
 4 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 846eed1..2999a07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,7 @@ string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
 
 # define var EGUI_IS_RELEASE to activate install scripts
 if (NOT CMAKE_BUILD_TYPE)
-   set(CMAKE_BUILD_TYPE Debug)
+   set(CMAKE_BUILD_TYPE Release)
 endif(NOT CMAKE_BUILD_TYPE)
 
 string(TOLOWER ${CMAKE_BUILD_TYPE} EGUI_BUILD_TYPE)
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index 5b239bb..65de802 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(CMAKE_BUILD_TYPE Debug)
-
 include_directories (${CMAKE_SOURCE_DIR}/src/lib)
 include_directories (${CMAKE_SOURCE_DIR}/src/bin/egui_gui)
 
diff --git a/src/bin/egui_gui/CMakeLists.txt b/src/bin/egui_gui/CMakeLists.txt
index 6565d4c..509e135 100644
--- a/src/bin/egui_gui/CMakeLists.txt
+++ b/src/bin/egui_gui/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(CMAKE_BUILD_TYPE Debug)
-
 find_package(Gvc QUIET)
 find_package(CGraph QUIET)
 find_program(ENVENTOR NAMES enventor)
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index d92fc2e..863f405 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(CMAKE_BUILD_TYPE Debug)
-
 LIST(APPEND GUI_PARSER_CC_SOURCES
    ffi_abstraction.c
    ffi_glue.c

-- 


Reply via email to