Skip to content

Commit

Permalink
Make testing optional in 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Jan 16, 2017
1 parent eea70d4 commit 0cca584
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ message(STATUS "xsimd v${${PROJECT_NAME}_VERSION}")
# Build
# =====

OPTION(BUILD_TESTS "xsimd test suite" ON)

set(XSIMD_HEADERS
${XSIMD_INCLUDE_DIR}/xsimd/xsimd.hpp
${XSIMD_INCLUDE_DIR}/xsimd/xsimd_config.hpp
Expand All @@ -45,7 +47,9 @@ set(XSIMD_HEADERS
${XSIMD_INCLUDE_DIR}/xsimd/types/xsimd_traits.hpp
)

add_subdirectory(test)
if(BUILD_TESTS)
add_subdirectory(test)
endif()

# Installation
# ============
Expand Down
2 changes: 1 addition & 1 deletion include/xsimd/xsimd_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

#define XSIMD_VERSION_MAJOR 2
#define XSIMD_VERSION_MINOR 0
#define XSIMD_VERSION_PATCH 0
#define XSIMD_VERSION_PATCH 1
#endif

0 comments on commit 0cca584

Please sign in to comment.