mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
and the cmake directory into a new directory ``contrib/cmake`` that mirrors the directory structure of the root. This is a comprimise between me and Christoph Wintersteiger that was suggested by Arie Gurfinkel that allows the CMake build system to live in the Z3 repository but not impact the Z3 developers that want to avoid the CMake build system. The build system will not work in its new location and a bootstrap script will soon be provided that allows a developer to copy the files back to their correct location.
10 lines
319 B
C++
10 lines
319 B
C++
// This is used by the CMake build to detect
|
|
// what architecture the compiler is targeting.
|
|
// TODO: Add more targets here
|
|
#if defined(__i386__) || defined(_M_IX86)
|
|
#error CMAKE_TARGET_ARCH_i686
|
|
#elif defined(__x86_64__) || defined(_M_X64)
|
|
#error CMAKE_TARGET_ARCH_x86_64
|
|
#else
|
|
#error CMAKE_TARGET_ARCH_unknown
|
|
#endif
|