f56a10646f
The old version numbers were retrieved from SVN; of course this no longer works. Now no versions are retrieved on normal building. Instead, this is covered by the dist building script.
33 lines
1.0 KiB
CMake
33 lines
1.0 KiB
CMake
################################################################
|
|
# Name: CMakeLists.txt
|
|
# Purpose: Input file for CMake for the Scyther tool
|
|
# Author: Cas Cremers
|
|
################################################################
|
|
|
|
# Scyther project
|
|
project (Scyther)
|
|
# I need 2.4 for flex/etc although it does not run yet
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
|
|
|
|
# List all the source files
|
|
set (Scyther_sources
|
|
arachne.c binding.c claim.c color.c compiler.c cost.c
|
|
debug.c depend.c dotout.c error.c heuristic.c hidelevel.c
|
|
intruderknowledge.c knowledge.c label.c list.c main.c mgu.c
|
|
prune_bounds.c prune_theorems.c role.c
|
|
specialterm.c states.c switches.c symbol.c system.c tac.c
|
|
tempfile.c
|
|
termlist.c termmap.c term.c timer.c type.c warshall.c xmlout.c
|
|
parser.c scanner.c
|
|
)
|
|
|
|
# If we are in a debug mode we want to be strict
|
|
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -DDEBUG")
|
|
|
|
# Make scanner and parser
|
|
include (ScannerParser.cmake)
|
|
|
|
# Set build target settings according to platform
|
|
include (BuildPlatform.cmake)
|
|
|