2016-02-01 14:26:01 -08:00
|
|
|
cmake_minimum_required(VERSION 2.8.5)
|
2015-08-05 15:23:15 -07:00
|
|
|
|
2016-02-01 14:26:01 -08:00
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
|
|
|
|
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
|
|
|
endif()
|
2015-08-05 15:23:15 -07:00
|
|
|
|
2017-04-21 08:06:15 -07:00
|
|
|
project(zig C CXX)
|
2015-08-05 15:23:15 -07:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
|
|
|
|
2015-08-05 15:46:40 -07:00
|
|
|
set(ZIG_VERSION_MAJOR 0)
|
2015-08-05 15:23:15 -07:00
|
|
|
set(ZIG_VERSION_MINOR 0)
|
|
|
|
set(ZIG_VERSION_PATCH 0)
|
|
|
|
set(ZIG_VERSION "${ZIG_VERSION_MAJOR}.${ZIG_VERSION_MINOR}.${ZIG_VERSION_PATCH}")
|
|
|
|
message("Configuring zig version ${ZIG_VERSION}")
|
|
|
|
|
2016-02-11 00:33:27 -08:00
|
|
|
set(ZIG_LIBC_LIB_DIR "" CACHE STRING "Default native target libc directory where crt1.o can be found")
|
|
|
|
set(ZIG_LIBC_STATIC_LIB_DIR "" CACHE STRING "Default native target libc directory where crtbeginT.o can be found")
|
|
|
|
set(ZIG_LIBC_INCLUDE_DIR "/usr/include" CACHE STRING "Default native target libc include directory")
|
|
|
|
set(ZIG_DYNAMIC_LINKER "" CACHE STRING "Override dynamic linker for native target")
|
2017-03-13 10:11:55 -07:00
|
|
|
set(ZIG_EACH_LIB_RPATH off CACHE BOOL "Add each dynamic library to rpath for native target")
|
2016-02-11 00:33:27 -08:00
|
|
|
|
2016-04-23 09:57:38 -07:00
|
|
|
option(ZIG_TEST_COVERAGE "Build Zig with test coverage instrumentation" OFF)
|
|
|
|
|
2017-08-28 00:12:23 -07:00
|
|
|
# To see what patches have been applied to LLD in this repository:
|
|
|
|
# git log -p -- deps/lld
|
|
|
|
option(ZIG_FORCE_EXTERNAL_LLD "If your system has the LLD patches use it instead of the embedded LLD" OFF)
|
2016-02-11 00:33:27 -08:00
|
|
|
|
|
|
|
|
2015-08-05 15:23:15 -07:00
|
|
|
find_package(llvm)
|
2016-02-15 14:50:06 -08:00
|
|
|
include_directories(${LLVM_INCLUDE_DIR})
|
2015-11-25 10:23:25 -08:00
|
|
|
link_directories(${LLVM_LIBDIRS})
|
2015-08-05 15:23:15 -07:00
|
|
|
|
2016-01-18 20:28:54 -08:00
|
|
|
find_package(clang)
|
2016-01-26 23:01:49 -08:00
|
|
|
include_directories(${CLANG_INCLUDE_DIRS})
|
2016-01-18 20:28:54 -08:00
|
|
|
|
2017-08-28 00:12:23 -07:00
|
|
|
if(ZIG_FORCE_EXTERNAL_LLD)
|
|
|
|
find_package(lld)
|
|
|
|
include_directories(${LLD_INCLUDE_DIRS})
|
|
|
|
else()
|
|
|
|
set(EMBEDDED_LLD_LIB_SOURCES
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Driver/DarwinLdDriver.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Config/Version.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/LayoutPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ArchHandler.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ObjCPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/TLVPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/GOTPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ShimPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/WriterMachO.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/StubsPass.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/ReaderWriter/FileArchive.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/TargetOptionsCommandFlags.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/File.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/Error.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/SymbolTable.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/Reader.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/Reproduce.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/Writer.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/LinkingContext.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/Resolver.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/lib/Core/DefinedAtom.cpp"
|
|
|
|
)
|
|
|
|
set(EMBEDDED_LLD_ELF_SOURCES
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/ScriptLexer.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/AMDGPU.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/PPC.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/ARM.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/AVR.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/SPARCV9.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/Mips.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/AArch64.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/X86_64.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/PPC64.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/MipsArchTree.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Arch/X86.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/GdbIndex.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Driver.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Relocations.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Error.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/LTO.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Strings.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/ScriptParser.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/MarkLive.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/SyntheticSections.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/SymbolTable.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/LinkerScript.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/EhFrame.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Target.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Filesystem.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/OutputSections.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Symbols.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/ICF.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/InputFiles.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Thunks.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/DriverUtils.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/Writer.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/InputSection.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF/MapFile.cpp"
|
|
|
|
)
|
|
|
|
set(EMBEDDED_LLD_COFF_SOURCES
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/DLL.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Driver.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Chunks.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/PDB.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Error.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/LTO.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Strings.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/MarkLive.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/SymbolTable.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Symbols.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/ICF.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/InputFiles.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/DriverUtils.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/Writer.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF/MapFile.cpp"
|
|
|
|
)
|
|
|
|
add_library(embedded_lld_lib ${EMBEDDED_LLD_LIB_SOURCES})
|
|
|
|
add_library(embedded_lld_elf ${EMBEDDED_LLD_ELF_SOURCES})
|
|
|
|
add_library(embedded_lld_coff ${EMBEDDED_LLD_COFF_SOURCES})
|
|
|
|
set_target_properties(embedded_lld_lib PROPERTIES
|
|
|
|
COMPILE_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -Wno-comment"
|
|
|
|
LINK_FLAGS " "
|
|
|
|
)
|
|
|
|
set_target_properties(embedded_lld_elf PROPERTIES
|
|
|
|
COMPILE_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -Wno-comment"
|
|
|
|
LINK_FLAGS " "
|
|
|
|
)
|
|
|
|
set_target_properties(embedded_lld_coff PROPERTIES
|
|
|
|
COMPILE_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -Wno-comment"
|
|
|
|
LINK_FLAGS " "
|
|
|
|
)
|
|
|
|
target_include_directories(embedded_lld_lib PUBLIC
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
|
|
|
|
)
|
|
|
|
target_include_directories(embedded_lld_elf PUBLIC
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/ELF"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/ELF"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
|
|
|
|
)
|
|
|
|
target_include_directories(embedded_lld_coff PUBLIC
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/COFF"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/COFF"
|
|
|
|
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
|
|
|
|
)
|
|
|
|
set(LLD_INCLUDE_DIRS "")
|
|
|
|
set(LLD_LIBRARIES
|
|
|
|
embedded_lld_elf
|
|
|
|
embedded_lld_coff
|
2017-08-28 00:34:50 -07:00
|
|
|
embedded_lld_lib
|
2017-08-28 00:12:23 -07:00
|
|
|
)
|
|
|
|
endif()
|
2017-03-13 08:54:56 -07:00
|
|
|
|
2017-03-29 22:18:12 -07:00
|
|
|
find_package(Threads)
|
|
|
|
|
2015-08-05 15:46:40 -07:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
2015-08-05 15:23:15 -07:00
|
|
|
set(ZIG_SOURCES
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/analyze.cpp"
|
2016-01-27 20:10:38 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/ast_render.cpp"
|
2017-06-26 11:41:47 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/bigfloat.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/src/bigint.cpp"
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/buffer.cpp"
|
2016-04-21 15:48:13 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/c_tokenizer.cpp"
|
2015-11-30 18:58:53 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/codegen.cpp"
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/errmsg.cpp"
|
2015-11-04 23:05:25 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/error.cpp"
|
2016-12-18 13:56:50 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/ir.cpp"
|
2016-09-30 17:12:00 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/ir_print.cpp"
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/link.cpp"
|
2015-11-04 23:05:25 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/main.cpp"
|
2015-11-30 18:58:53 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/os.cpp"
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/parser.cpp"
|
2017-05-07 09:07:35 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/range_set.cpp"
|
2016-09-29 23:21:21 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/target.cpp"
|
|
|
|
"${CMAKE_SOURCE_DIR}/src/tokenizer.cpp"
|
2015-11-04 23:05:25 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/util.cpp"
|
2017-09-05 19:55:03 -07:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/parsec.cpp"
|
2015-11-24 12:00:38 -08:00
|
|
|
"${CMAKE_SOURCE_DIR}/src/zig_llvm.cpp"
|
2015-08-05 15:23:15 -07:00
|
|
|
)
|
|
|
|
|
2015-12-08 16:51:59 -08:00
|
|
|
set(C_HEADERS_DEST "lib/zig/include")
|
2015-12-10 14:34:38 -08:00
|
|
|
set(ZIG_STD_DEST "lib/zig/std")
|
2015-08-05 15:23:15 -07:00
|
|
|
set(CONFIGURE_OUT_FILE "${CMAKE_BINARY_DIR}/config.h")
|
|
|
|
configure_file (
|
|
|
|
"${CMAKE_SOURCE_DIR}/src/config.h.in"
|
|
|
|
${CONFIGURE_OUT_FILE}
|
|
|
|
)
|
|
|
|
|
2015-11-26 00:29:52 -08:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
"${CMAKE_SOURCE_DIR}/src"
|
|
|
|
)
|
|
|
|
|
2016-02-16 19:21:37 -08:00
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror -Wall")
|
2015-08-05 15:23:15 -07:00
|
|
|
|
2016-02-16 19:34:45 -08:00
|
|
|
|
|
|
|
if(MINGW)
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-error=format= -Wno-error=format -Wno-error=format-extra-args")
|
|
|
|
endif()
|
|
|
|
|
2017-08-06 15:33:30 -07:00
|
|
|
set(EXE_CFLAGS "-std=c++11 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Werror=strict-prototypes -Werror=old-style-definition -Werror=type-limits -Wno-missing-braces")
|
2016-04-23 09:57:38 -07:00
|
|
|
set(EXE_LDFLAGS " ")
|
|
|
|
if(ZIG_TEST_COVERAGE)
|
|
|
|
set(EXE_CFLAGS "${EXE_CFLAGS} -fprofile-arcs -ftest-coverage")
|
|
|
|
set(EXE_LDFLAGS "-fprofile-arcs -ftest-coverage")
|
|
|
|
endif()
|
2015-08-05 15:23:15 -07:00
|
|
|
|
|
|
|
add_executable(zig ${ZIG_SOURCES})
|
|
|
|
set_target_properties(zig PROPERTIES
|
2016-04-23 09:57:38 -07:00
|
|
|
COMPILE_FLAGS ${EXE_CFLAGS}
|
|
|
|
LINK_FLAGS ${EXE_LDFLAGS}
|
|
|
|
)
|
2015-08-05 15:23:15 -07:00
|
|
|
target_link_libraries(zig LINK_PUBLIC
|
2016-01-26 23:01:49 -08:00
|
|
|
${CLANG_LIBRARIES}
|
2017-03-13 08:54:56 -07:00
|
|
|
${LLD_LIBRARIES}
|
2016-02-01 21:38:55 -08:00
|
|
|
${LLVM_LIBRARIES}
|
2017-03-29 22:18:12 -07:00
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
2017-08-18 10:13:03 -07:00
|
|
|
quadmath
|
2015-08-05 15:23:15 -07:00
|
|
|
)
|
2017-05-22 21:26:12 -07:00
|
|
|
if(MINGW)
|
|
|
|
target_link_libraries(zig LINK_PUBLIC version)
|
|
|
|
endif()
|
2015-08-05 15:23:15 -07:00
|
|
|
install(TARGETS zig DESTINATION bin)
|
2015-11-03 21:31:27 -08:00
|
|
|
|
2017-06-16 11:35:00 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_builtin_vars.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_cmath.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_complex_builtins.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_intrinsics.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_math_forward_declares.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__clang_cuda_runtime_wrapper.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__stddef_max_align_t.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__wmmintrin_aes.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/__wmmintrin_pclmul.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/adxintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/altivec.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/ammintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/arm_acle.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/arm_neon.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/armintr.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx2intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512bwintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512cdintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512dqintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512erintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512fintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512ifmaintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512ifmavlintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512pfintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vbmiintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vbmivlintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vlbwintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vlcdintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vldqintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avx512vlintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/avxintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/bmi2intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/bmiintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/clflushoptintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/cpuid.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/cuda_wrappers/algorithm" DESTINATION "${C_HEADERS_DEST}/cuda_wrappers")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/cuda_wrappers/complex" DESTINATION "${C_HEADERS_DEST}/cuda_wrappers")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/cuda_wrappers/new" DESTINATION "${C_HEADERS_DEST}/cuda_wrappers")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/emmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/f16cintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/float.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/fma4intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/fmaintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/fxsrintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/htmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/htmxlintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/ia32intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/immintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/inttypes.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/iso646.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/limits.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/lzcntintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/mm3dnow.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/mm_malloc.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/mmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/module.modulemap" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/msa.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/mwaitxintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/nmmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/opencl-c.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/pkuintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/pmmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/popcntintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/prfchwintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/rdseedintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/rtmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/s390intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/shaintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/smmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdalign.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdarg.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdatomic.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdbool.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stddef.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdint.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/stdnoreturn.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/tbmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/tgmath.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/tmmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/unwind.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/vadefs.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/varargs.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/vecintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/wmmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/x86intrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xmmintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xopintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xsavecintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xsaveintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xsaveoptintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xsavesintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/c_headers/xtestintrin.h" DESTINATION "${C_HEADERS_DEST}")
|
2016-03-01 18:00:03 -08:00
|
|
|
|
2017-05-04 11:05:06 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/array_list.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-04-17 16:08:41 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/base64.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-04-03 22:52:20 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/buf_map.zig" DESTINATION "${ZIG_STD_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/buf_set.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-04-20 22:56:12 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/buffer.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-03-31 02:48:15 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/build.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-03-22 23:59:58 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/c/darwin.zig" DESTINATION "${ZIG_STD_DEST}/c")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/c/index.zig" DESTINATION "${ZIG_STD_DEST}/c")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/c/linux.zig" DESTINATION "${ZIG_STD_DEST}/c")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/c/windows.zig" DESTINATION "${ZIG_STD_DEST}/c")
|
2016-05-07 10:52:52 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/cstr.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/debug.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-08-25 17:25:18 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/dwarf.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/elf.zig" DESTINATION "${ZIG_STD_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/empty.zig" DESTINATION "${ZIG_STD_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/endian.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-06-07 19:56:57 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/fmt/errol/enum3.zig" DESTINATION "${ZIG_STD_DEST}/fmt/errol")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/fmt/errol/index.zig" DESTINATION "${ZIG_STD_DEST}/fmt/errol")
|
2017-06-07 19:56:57 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/fmt/errol/lookup.zig" DESTINATION "${ZIG_STD_DEST}/fmt/errol")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/fmt/index.zig" DESTINATION "${ZIG_STD_DEST}/fmt")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/hash_map.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-03-01 18:00:03 -08:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/index.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/io.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-05-03 11:28:06 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/linked_list.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-06-20 04:10:50 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/acos.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/acosh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/asin.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/asinh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/atan.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/atan2.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/atanh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/cbrt.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/ceil.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/copysign.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/cos.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/cosh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/exp.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/exp2.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/expm1.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/expo2.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
2017-06-07 19:56:57 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/fabs.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
2017-06-20 04:10:50 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/floor.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/fma.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/frexp.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/hypot.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/ilogb.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/index.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/inf.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/isfinite.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/isinf.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/isnan.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/isnormal.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/ln.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/log.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/log10.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/log1p.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/log2.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/modf.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/nan.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/pow.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/round.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/scalbn.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/signbit.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/sin.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/sinh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/sqrt.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/tan.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/tanh.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/math/trunc.zig" DESTINATION "${ZIG_STD_DEST}/math")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/mem.zig" DESTINATION "${ZIG_STD_DEST}")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/net.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-04-03 21:17:24 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/child_process.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/darwin.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-08-27 02:15:24 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/darwin_errno.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/index.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/linux.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-08-27 02:15:24 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/linux_errno.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/linux_i386.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/linux_x86_64.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-04-17 03:45:44 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/path.zig" DESTINATION "${ZIG_STD_DEST}/os")
|
2017-06-04 07:08:55 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/windows/error.zig" DESTINATION "${ZIG_STD_DEST}/os/windows")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/os/windows/index.zig" DESTINATION "${ZIG_STD_DEST}/os/windows")
|
2016-08-17 20:11:04 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/rand.zig" DESTINATION "${ZIG_STD_DEST}")
|
2016-11-03 00:01:40 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/sort.zig" DESTINATION "${ZIG_STD_DEST}")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/bootstrap.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2017-04-11 03:14:46 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/build_file_template.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2017-03-31 02:48:15 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/build_runner.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/builtin.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2017-08-17 16:07:23 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/comparetf2.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixuint.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunsdfdi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunsdfsi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunsdfti.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunssfdi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunssfsi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunssfti.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunstfdi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunstfsi.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/fixunstfti.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-15 04:16:22 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/index.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/udivti3.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-18 14:20:03 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/udivmod.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/udivmoddi4.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-18 13:26:09 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/udivmodti4.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-08-16 16:07:35 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/compiler_rt/umodti3.zig" DESTINATION "${ZIG_STD_DEST}/special/compiler_rt")
|
2017-03-26 03:39:28 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/test_runner.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2017-03-26 18:07:07 -07:00
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/std/special/zigrt.zig" DESTINATION "${ZIG_STD_DEST}/special")
|
2015-12-08 16:51:59 -08:00
|
|
|
|
2016-04-23 09:57:38 -07:00
|
|
|
if (ZIG_TEST_COVERAGE)
|
|
|
|
add_custom_target(coverage
|
|
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
|
|
COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1
|
2017-04-19 13:59:20 -07:00
|
|
|
COMMAND ./zig build --build-file ../build.zig test
|
2016-04-23 09:57:38 -07:00
|
|
|
COMMAND lcov --directory . --capture --output-file coverage.info --rc lcov_branch_coverage=1
|
|
|
|
COMMAND lcov --remove coverage.info '/usr/*' --output-file coverage.info.cleaned --rc lcov_branch_coverage=1
|
|
|
|
COMMAND genhtml -o coverage coverage.info.cleaned --rc lcov_branch_coverage=1
|
|
|
|
COMMAND rm coverage.info coverage.info.cleaned
|
|
|
|
)
|
|
|
|
endif()
|