Skip to content

Commit 4b6440c

Browse files
committed
tests
1 parent d2f4007 commit 4b6440c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ if(BUILD_ERROR_ON_WARNING)
186186
target_compile_options(${PROJECT_NAME}_objlib PRIVATE -Werror)
187187
endif()
188188

189-
# target_compile_options(${PROJECT_NAME}_objlib PRIVATE $<$<CONFIG:RELEASE>:-s>)
190-
# try to make it optional. removed as it will break debuginfo generation.
189+
target_compile_options(${PROJECT_NAME}_objlib PRIVATE $<$<CONFIG:RELEASE>:-s>)
191190

192191
add_library(${PROJECT_NAME}_shared SHARED $<TARGET_OBJECTS:${PROJECT_NAME}_objlib>)
193192
add_library(${PROJECT_NAME}_static STATIC $<TARGET_OBJECTS:${PROJECT_NAME}_objlib>)

unittests/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SPDX-License-Identifier: MIT
22
# Copyright (C) 2019 Intel Corporation
33
cmake_minimum_required(VERSION 3.1)
4-
project(safestring_test)
4+
project(safestring_test
5+
LANGUAGES C)
56

67
set(SOURCES
78
Safe_String_UnitTestMain.c

0 commit comments

Comments
 (0)