Skip to content

Commit

Permalink
Rename test directory from tests to test
Browse files Browse the repository at this point in the history
  • Loading branch information
everdrone committed Jun 24, 2018
1 parent 8bd6447 commit 1c700ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions CMakeLists.txt
Expand Up @@ -10,7 +10,7 @@ set( CMAKE_CXX_EXTENSIONS OFF )
set( CMAKE_COLOR_MAKEFILE ON )
set( CMAKE_VERBOSE_MAKEFILE ON )

option(BUILD_TESTS "Build unit tests" ON)
option( BUILD_TESTS "Build unit tests" ON )

### Targets

Expand Down Expand Up @@ -41,13 +41,13 @@ set_target_properties(
)

### dist
set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${libsnd_VERSION})
set( ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${libsnd_VERSION} )
add_custom_target(dist
COMMAND tar -czf "${CMAKE_PROJECT_NAME}-${libsnd_VERSION}.tar.gz" source/
include/
docs/
examples/
tests/
test/
.gitignore
CHANGELOG.md
CMakeLists.txt
Expand Down Expand Up @@ -76,13 +76,12 @@ elseif( CMAKE_COMPILER_IS_GNUCXX )
endif()

### Tests

if (BUILD_TESTS)
if ( BUILD_TESTS )
enable_testing()

add_executable(
Test
tests/test.cpp
test/test.cpp
)

target_include_directories(
Expand All @@ -103,8 +102,8 @@ if (BUILD_TESTS)
)
endif()

include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
include( CMakePackageConfigHelpers )
include( GNUInstallDirs )

install(
TARGETS libsnd
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1c700ad

Please sign in to comment.