diff options
author | Victoria <victoria.zhislina@intel.com> | 2017-04-04 12:40:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 12:40:16 +0300 |
commit | 7b804fb7da0ad9293059d2a043dfbbe6171ed726 (patch) | |
tree | 5783f950323bba8b421abb45a8dbd6cf151b0bd3 | |
parent | f81f7aac8b3346d1dadda063e81873fbd7e5d388 (diff) | |
parent | 318ed155591cd9245bdc17e411df8bc2e9074f43 (diff) | |
download | neon_2_sse-7b804fb7da0ad9293059d2a043dfbbe6171ed726.tar.gz |
Merge pull request #2 from hunter-packages/pr.hunterize
hunterize ARM_NEON_2_x86_SSE
-rw-r--r-- | .gitignore | 17 | ||||
-rw-r--r-- | CMakeLists.txt | 53 | ||||
-rw-r--r-- | LICENSE | 29 | ||||
-rw-r--r-- | cmake/Config.cmake.in | 1 |
4 files changed, 100 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3866ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +#osx noise: +.DS_Store + +# emacs noise +*~ + +# Hunter/polly +_logs/ +_builds/ +_install/ +_framework/ +_archives/ +_bin/ + +*.hpp.orig +*.h.orig +*.cpp.orig diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..e4b8980 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,53 @@ +# Boilerplate: Copyright (C) 2014-2017 Ruslan Baratov +# Modification: Copyright (C) 2017 David Hirvonen + +cmake_minimum_required(VERSION 3.0) +project(NEON_2_SSE VERSION 1.0.0) + +add_library(${PROJECT_NAME} INTERFACE) + +target_include_directories(${PROJECT_NAME} + INTERFACE + "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>" + ) + +### Install ### +set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") + +set(config_install_dir "lib/cmake/${PROJECT_NAME}") +set(include_install_dir "include") + +set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") +set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") +set(targets_export_name "${PROJECT_NAME}Targets") +set(namespace "${PROJECT_NAME}::") + +include(CMakePackageConfigHelpers) +write_basic_package_version_file( + "${version_config}" COMPATIBILITY SameMajorVersion +) + +# Note: use 'targets_export_name' +configure_file("cmake/Config.cmake.in" "${project_config}" @ONLY) + +install( + TARGETS ${PROJECT_NAME} + EXPORT "${targets_export_name}" + INCLUDES DESTINATION "${include_install_dir}" +) + +install( + FILES NEON_2_SSE.h + DESTINATION "${include_install_dir}" +) + +install( + FILES "${project_config}" "${version_config}" + DESTINATION "${config_install_dir}" +) + +install( + EXPORT "${targets_export_name}" + NAMESPACE "${namespace}" + DESTINATION "${config_install_dir}" +) @@ -0,0 +1,29 @@ +created by Victoria Zhislina, the Senior Application Engineer, Intel Corporation, victoria.zhislina@intel.com + +*** Copyright (C) 2012-2016 Intel Corporation. All rights reserved. + +IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. + +By downloading, copying, installing or using the software you agree to this license. +If you do not agree to this license, do not download, install, copy or use the software. + + License Agreement +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * The name of the copyright holders may not be used to endorse or promote products + derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors "as is" and +any express or implied warranties, including, but not limited to, the implied +warranties of merchantability and fitness for a particular purpose are disclaimed. +In no event shall the Intel Corporation or contributors be liable for any direct, +indirect, incidental, special, exemplary, or consequential damages +(including, but not limited to, procurement of substitute goods or services; +loss of use, data, or profits; or business interruption) however caused +and on any theory of liability, whether in contract, strict liability, +or tort (including negligence or otherwise) arising in any way out of +the use of this software, even if advised of the possibility of such damage. diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in new file mode 100644 index 0000000..6e9256e --- /dev/null +++ b/cmake/Config.cmake.in @@ -0,0 +1 @@ +include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") |