Skip to content
Snippets Groups Projects
Select Git revision
  • 8444904af922cd19df7971f5fb241c07543b08cf
  • master default protected
  • replaceYamlCppWithLibyaml
  • devel
  • tmp
  • doc
  • v2.4.2d
  • v2.4.2c
  • v2.4.2b
  • v2.4.2a
  • v2.4.1c
  • v2.4.1b
  • v2.4.1a
  • v2.4.0g
  • v2.4.0f
  • v2.4.0e
  • v2.4.0d
  • v2.4.0c
  • v2.4.0b
  • v2.4.0a
  • v2.3.6c
  • v2.3.6b
  • v2.3.6a
  • v2.3.5a
  • v2.3.4d
  • v2.3.4c
26 results

HOWTO

Blame
  • Forked from mlz / Frida
    Source project has a limited visibility.
    CMakeLists.txt 1.55 KiB
    cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
    
    set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
    include(PreventInSourceBuilds)
    
    set(CMAKE_DISABLE_SOURCE_CHANGES ON)
    set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
    
    project(Frida)
    
    set(Frida_VERSION post-2.3.2d)
    
    enable_testing()
    
    # --- General project settings ---
    #option(FRIDA_PYTHON "Build with python support" ON)
    #option(FRIDA_APP "Build test application" OFF)
    #option(FRIDA_GUI "Build a graphical user interface" OFF)
    #option(FRIDA_MAN "Build a user manual" OFF)
    #option(BUILD_DEBIAN "Build a debian package" OFF)
    
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -O2 -pedantic -Wall -Wno-sign-compare -Wno-unused-result -Wno-parentheses  -Wno-unknown-pragmas -Werror")
    # to use C99 _Complex, add -fext-numeric-literals to CXX_FLAGS
    
    find_package(Boost REQUIRED) # used header-only modules: format algorithm
    find_package(BISON REQUIRED)
    find_package(FLEX REQUIRED)
    find_package(Readline REQUIRED)
    find_package(GSL REQUIRED)
    find_package(FFTW_DBL REQUIRED)
    find_package(YamlCpp05 REQUIRED)
    find_package(KWW REQUIRED)
    find_package(Cerf REQUIRED)
    find_package(LMFit REQUIRED)
    find_package(Gnuplot REQUIRED)
    
    add_subdirectory(ThirdParty/googletest)
    add_subdirectory(readplus)
    add_subdirectory(trivia)
    add_subdirectory(plot)
    add_subdirectory(lib)
    add_subdirectory(src)
    add_subdirectory(share)
    add_subdirectory(man)
    add_subdirectory(utest)
    add_subdirectory(ftest)
    
    # --- Additional tests to be activated when needed ---
    # performance tests
    add_subdirectory(ptest)
    # interactive readline test
    # add_subdirectory(readplus/test)