cppcheck/CMakeLists.txt

25 lines
457 B
CMake
Raw Normal View History

# Minimal CMake build file
2009-12-14 16:21:32 +01:00
# Builds:
# - static library from lib directory
# - commandline executable
# - test suite
# - Qt GUI
# To build with CMake:
# - install CMake 2.6 or later
# - $ cmake .
# - $ make
cmake_minimum_required (VERSION 2.6)
PROJECT(CPPCHECK)
ADD_SUBDIRECTORY(lib)
ADD_SUBDIRECTORY(cli)
2009-12-14 16:21:32 +01:00
ADD_SUBDIRECTORY(test)
# Don't build GUI for Cygwin (most installations don't have QT)
IF (NOT CYGWIN)
ADD_SUBDIRECTORY(gui)
endif (NOT CYGWIN)