mirror of
https://github.com/nasa/fprime.git
synced 2026-04-12 16:12:52 -05:00
* Add enum tests for FPP autocoder * Filter ai_xml sources against generated sources * Revise enum tests for FPP autocoder * Add test utils for FPP autocoder * Add array tests for FPP autocoder * Refactor FppTest * Add .gitignore * Revise enum tests for FPP autocoder * Revise array tests for FPP autocoder * Add string tests for FPP autocoder * Small changes to FPP autocoder tests * Add struct tests for FPP autocoder * Revise enum tests for FPP autocoder * Update ActiveLogger and Health components for new enum deserialize() behavior * Make string test suite type-parametrized * Update READMEs for FppTest * Register FppTest as a deployment and add README * Remove quotes from GENERATED_SOURCES * Begin transition to type-parametrized tests * Transition to type-parametrized tests * Small changes to FPP autocoder tests * Small fix to FPP autocoder tests * Update fprime-fpp version * Update expected words for spell checker * Small fix * Update fprime-fpp version * Add file headers * Update expected words for spell checker * Update fprime-fpp version * Update fprime-fpp version
30 lines
911 B
CMake
30 lines
911 B
CMake
# ======================================================================
|
|
# CMakeLists.txt
|
|
# ======================================================================
|
|
|
|
# We need to declare the XML source files this way to invoke the autocoder.
|
|
# However, only the UT build is allowed here.
|
|
set(SOURCE_FILES
|
|
"${CMAKE_CURRENT_LIST_DIR}/array.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/enum.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/string.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/struct.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/format.fpp"
|
|
)
|
|
register_fprime_module()
|
|
|
|
# Declare dependencies on test modules
|
|
set(UT_MOD_DEPS
|
|
Fw/Test
|
|
STest
|
|
)
|
|
|
|
# List all .cpp files as UT_SOURCE_FILES. Only the UT build is allowed.
|
|
set(UT_SOURCE_FILES
|
|
"${CMAKE_CURRENT_LIST_DIR}/ArrayToStringTest.cpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/FormatTest.cpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/../utils/Utils.cpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/main.cpp"
|
|
)
|
|
register_fprime_ut()
|