Fix CMake build (#173)

* Fix CMake build after Swissmap addition

`absl::container` library now contains source files so needs to be
respectively built for CMake as well.

Switches `absl::container` from being a header library to a source
library.

* Add raw_hash_set_test to CMake test build
This commit is contained in:
Stephan Dollberg 2018-09-28 10:35:51 -07:00 committed by Derek Mauro
parent 48cd2c3f35
commit 5aae0cffae

View file

@ -47,10 +47,11 @@ list(APPEND CONTAINER_INTERNAL_HEADERS
"internal/unordered_set_modifiers_test.h" "internal/unordered_set_modifiers_test.h"
) )
absl_library(
absl_header_library(
TARGET TARGET
absl_container absl_container
SOURCES
"internal/raw_hash_set.cc"
EXPORT_NAME EXPORT_NAME
container container
) )
@ -164,3 +165,11 @@ absl_test(
) )
absl_test(
TARGET
raw_hash_set_test
SOURCES
"internal/raw_hash_set_test.cc"
PUBLIC_LIBRARIES
absl::base absl::hash absl_throw_delegate test_instance_tracker_lib
)