# Copyright (c) 2026, Jeffrey P. Machado and Larry Lesyna.
# All rights reserved.
#
# Use of this source code is governed by the BSD 3-Clause License
# that can be found in the LICENSE file in the project root.
#
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.14.0)
project(sidestep VERSION 1.0)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_library(sidestep STATIC
  sidestep.cpp
  terms.cpp
  unify.cpp
  parse.cpp
  rules.cpp)

add_executable(sidestep_test test.cpp)
target_link_libraries(sidestep_test sidestep)
