This commit is contained in:
Neargye 2018-04-15 00:52:48 +05:00
parent f5d5d84dc5
commit 4d918decea
11 changed files with 11 additions and 11 deletions

View file

@ -36,4 +36,4 @@ build_script:
test_script:
- ps: 'Write-Host "Running tests:" -ForegroundColor Magenta'
- ctest -V --output-on-failure -C %CONFIGURATION%
- ctest -V --output-on-failure -C %CONFIGURATION%

2
.gitignore vendored
View file

@ -43,4 +43,4 @@ Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
CTestTestfile.cmake

View file

@ -25,4 +25,4 @@ script:
- ctest -V --output-on-failure -С $CONFIGURATION
notifications:
email: false
email: false

View file

@ -14,4 +14,4 @@ endif()
add_subdirectory(example)
enable_testing()
add_subdirectory(test)
add_subdirectory(test)

View file

@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.

View file

@ -131,4 +131,4 @@ You need to add the single required file [nameof.hpp](include/nameof.hpp), and t
* Clang
* MSVC
## Licensed under the [MIT License](LICENSE)
## Licensed under the [MIT License](LICENSE)

View file

@ -4,4 +4,4 @@ set(SOURCE_EXAMPLE
${CMAKE_SOURCE_DIR}/include/nameof.hpp
example.cpp)
add_executable(${PROJECT_NAME}_example ${SOURCE_EXAMPLE})
add_executable(${PROJECT_NAME}_example ${SOURCE_EXAMPLE})

View file

@ -132,4 +132,4 @@ int main() {
TestCase3();
return 0;
}
}

View file

@ -5,7 +5,7 @@
// | |\ | (_| | | | | | | __/ (_) | | | |____|_| |_|
// |_| \_|\__,_|_| |_| |_|\___|\___/|_| \_____|
// https://github.com/Neargye/nameof
// vesion 0.2.2
// vesion 0.2.3
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// Copyright (c) 2016, 2018 Daniil Goncharov <neargye@gmail.com>.

View file

@ -20,4 +20,4 @@ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
DEALINGS IN THE SOFTWARE.

View file

@ -10,4 +10,4 @@ if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clan
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
target_compile_options(${PROJECT_NAME}_test_no_rtti PUBLIC /GR-)
endif()
add_test(NAME ${PROJECT_NAME}_test_no_rtti COMMAND ${PROJECT_NAME}_test_no_rtti)
add_test(NAME ${PROJECT_NAME}_test_no_rtti COMMAND ${PROJECT_NAME}_test_no_rtti)