mirror of
https://github.com/Z3Prover/z3
synced 2025-10-25 08:54:35 +00:00
Create VERSION.txt and update CMakeLists.txt to read version from file
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
886b5e501a
commit
4e51949669
1611 changed files with 283331 additions and 1 deletions
264
test-cmake/examples/Makefile
Normal file
264
test-cmake/examples/Makefile
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/local/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/local/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/runner/work/z3/z3
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/runner/work/z3/z3/test-cmake
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
||||
/usr/local/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
||||
/usr/local/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
||||
/usr/local/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
||||
/usr/local/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
||||
/usr/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
||||
/usr/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
||||
/usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
||||
/usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(CMAKE_COMMAND) -E cmake_progress_start /home/runner/work/z3/z3/test-cmake/CMakeFiles /home/runner/work/z3/z3/test-cmake/examples//CMakeFiles/progress.marks
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/runner/work/z3/z3/test-cmake/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
examples/CMakeFiles/c_example.dir/rule:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/CMakeFiles/c_example.dir/rule
|
||||
.PHONY : examples/CMakeFiles/c_example.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
c_example: examples/CMakeFiles/c_example.dir/rule
|
||||
.PHONY : c_example
|
||||
|
||||
# fast build rule for target.
|
||||
c_example/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f examples/CMakeFiles/c_example.dir/build.make examples/CMakeFiles/c_example.dir/build
|
||||
.PHONY : c_example/fast
|
||||
|
||||
# Convenience name for target.
|
||||
examples/CMakeFiles/c_maxsat_example.dir/rule:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/CMakeFiles/c_maxsat_example.dir/rule
|
||||
.PHONY : examples/CMakeFiles/c_maxsat_example.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
c_maxsat_example: examples/CMakeFiles/c_maxsat_example.dir/rule
|
||||
.PHONY : c_maxsat_example
|
||||
|
||||
# fast build rule for target.
|
||||
c_maxsat_example/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f examples/CMakeFiles/c_maxsat_example.dir/build.make examples/CMakeFiles/c_maxsat_example.dir/build
|
||||
.PHONY : c_maxsat_example/fast
|
||||
|
||||
# Convenience name for target.
|
||||
examples/CMakeFiles/cpp_example.dir/rule:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/CMakeFiles/cpp_example.dir/rule
|
||||
.PHONY : examples/CMakeFiles/cpp_example.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
cpp_example: examples/CMakeFiles/cpp_example.dir/rule
|
||||
.PHONY : cpp_example
|
||||
|
||||
# fast build rule for target.
|
||||
cpp_example/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f examples/CMakeFiles/cpp_example.dir/build.make examples/CMakeFiles/cpp_example.dir/build
|
||||
.PHONY : cpp_example/fast
|
||||
|
||||
# Convenience name for target.
|
||||
examples/CMakeFiles/z3_tptp5.dir/rule:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/CMakeFiles/z3_tptp5.dir/rule
|
||||
.PHONY : examples/CMakeFiles/z3_tptp5.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
z3_tptp5: examples/CMakeFiles/z3_tptp5.dir/rule
|
||||
.PHONY : z3_tptp5
|
||||
|
||||
# fast build rule for target.
|
||||
z3_tptp5/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f examples/CMakeFiles/z3_tptp5.dir/build.make examples/CMakeFiles/z3_tptp5.dir/build
|
||||
.PHONY : z3_tptp5/fast
|
||||
|
||||
# Convenience name for target.
|
||||
examples/CMakeFiles/userPropagator.dir/rule:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 examples/CMakeFiles/userPropagator.dir/rule
|
||||
.PHONY : examples/CMakeFiles/userPropagator.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
userPropagator: examples/CMakeFiles/userPropagator.dir/rule
|
||||
.PHONY : userPropagator
|
||||
|
||||
# fast build rule for target.
|
||||
userPropagator/fast:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(MAKE) $(MAKESILENT) -f examples/CMakeFiles/userPropagator.dir/build.make examples/CMakeFiles/userPropagator.dir/build
|
||||
.PHONY : userPropagator/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... c_example"
|
||||
@echo "... c_maxsat_example"
|
||||
@echo "... cpp_example"
|
||||
@echo "... userPropagator"
|
||||
@echo "... z3_tptp5"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/runner/work/z3/z3/test-cmake && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue