diff --git a/CMakeLists.txt b/CMakeLists.txt index 9985ad4ad..7abb3bff5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY out) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY out) find_package(GTest QUIET) -add_executable(stim_test src/stim/str_util.test.cc) +add_executable(stim_test empty.cc) target_link_libraries(stim_test GTest::gtest GTest::gtest_main) -target_compile_options(stim_test PRIVATE -Wall -Wpedantic -g -fno-omit-frame-pointer -fno-strict-aliasing -fsanitize=undefined -fsanitize=address ${MACHINE_FLAG}) +target_compile_options(stim_test PRIVATE -Wall -Wpedantic -g -fno-omit-frame-pointer -fno-strict-aliasing -fsanitize=undefined -fsanitize=address) target_link_options(stim_test PRIVATE -g -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address) diff --git a/empty.cc b/empty.cc new file mode 100644 index 000000000..e69de29bb diff --git a/src/stim/str_util.test.cc b/src/stim/str_util.test.cc deleted file mode 100644 index 6cc69ea9e..000000000 --- a/src/stim/str_util.test.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "gtest/gtest.h"