"Fossies" - the Fresh Open Source Software Archive

Member "cppcheck-1.89/CMakeLists.txt" (1 Sep 2019, 872 Bytes) of package /windows/misc/cppcheck-1.89.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 1.88_vs_1.89.

    1 project(Cppcheck)
    2 cmake_minimum_required(VERSION 2.8.11)
    3 
    4 include(GNUInstallDirs)
    5 
    6 include(cmake/versions.cmake REQUIRED)
    7 include(cmake/options.cmake REQUIRED)
    8 include(cmake/findDependencies.cmake REQUIRED)
    9 include(cmake/compileroptions.cmake REQUIRED)
   10 include(cmake/compilerDefinitions.cmake REQUIRED)
   11 include(cmake/buildFiles.cmake REQUIRED)
   12 include(cmake/cxx11.cmake REQUIRED)
   13 
   14 use_cxx11()
   15 
   16 file(GLOB addons "addons/*.py")
   17 file(GLOB cfgs "cfg/*.cfg")
   18 file(GLOB platforms "platforms/*.xml")
   19 
   20 if (BUILD_TESTS)
   21     enable_testing()
   22 endif()
   23 
   24 add_subdirectory(externals/tinyxml)
   25 add_subdirectory(externals/simplecpp)
   26 add_subdirectory(lib)   # CppCheck Library 
   27 add_subdirectory(cli)   # Client application
   28 add_subdirectory(test)  # Tests
   29 ADD_SUBDIRECTORY(gui)   # Graphical application
   30 ADD_SUBDIRECTORY(tools/triage)   # Triage tool
   31 
   32 include(cmake/printInfo.cmake REQUIRED)