~rschroll/+junk/multiples

« back to all changes in this revision

Viewing changes to tests/unit/CMakeLists.txt

  • Committer: Robert Schroll
  • Date: 2014-11-06 19:30:56 UTC
  • Revision ID: rschroll@gmail.com-20141106193056-gj38eo5noiuo28u6
Initial commit

This includes all sorts of junk in the test/ directory.  I don't know 
what it's for or why it was included, so it'll stick around for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# Our test executable.
 
3
# It includes the object code from the scope
 
4
add_executable(
 
5
  scope-unit-tests
 
6
  scope/test-scope.cpp
 
7
  $<TARGET_OBJECTS:scope-static>
 
8
)
 
9
 
 
10
# Link against the scope, and all of our test lib dependencies
 
11
target_link_libraries(
 
12
  scope-unit-tests
 
13
  ${GTEST_BOTH_LIBRARIES}
 
14
  ${GMOCK_LIBRARIES}
 
15
  ${SCOPE_LDFLAGS}
 
16
  ${TEST_LDFLAGS}
 
17
  ${Boost_LIBRARIES}
 
18
)
 
19
 
 
20
 
 
21
# Register the test with CTest
 
22
add_test(
 
23
  scope-unit-tests
 
24
  scope-unit-tests
 
25
)
 
26