- as part of looking at polar behaviour, start testing the bucket code since the code has subtleties which it would be unwise to change. - remove a legacy setter on SGBucket (taking two doubles as a C-array)
16 lines
335 B
CMake
16 lines
335 B
CMake
|
|
include (SimGearComponent)
|
|
|
|
set(HEADERS newbucket.hxx)
|
|
set(SOURCES newbucket.cxx)
|
|
|
|
simgear_component(bucket bucket "${SOURCES}" "${HEADERS}")
|
|
|
|
|
|
if(ENABLE_TESTS)
|
|
|
|
add_executable(test_bucket test_bucket.cxx)
|
|
add_test(test_bucket ${EXECUTABLE_OUTPUT_PATH}/test_bucket)
|
|
target_link_libraries(test_bucket ${TEST_LIBS})
|
|
|
|
endif(ENABLE_TESTS) |