You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to have the wakaama library as an external dependency in a cross platform embedded project. I don't want to have a dependency on CUnit because I won't be able to run the tests after building them (because is cross platform compilation) and I'm constrained in memory and storage space.
If I remove add_subdirectory(tests) from CMakelists.txt everything works fine for me, but I can't modify any file in the Wakaama directory because is a dependency as a submodule in git.
Would it be possible to have a CMake variable that removes the unit tests from the build? Something like set(WAKAAMA_TESTS OFF) that I can include in my client code CMakelists.txt
Or alternatively, create a wakaama_lib directory and build the library alone and have a different directory for the complete build with the tests?
Thank you!
The text was updated successfully, but these errors were encountered:
If you work with a recent version of the code in main then the CMake.txt in the project root directory does not depend on the examples. The examples include the main CMakeLists.txt but not the other way around.
I'm trying to have the wakaama library as an external dependency in a cross platform embedded project. I don't want to have a dependency on CUnit because I won't be able to run the tests after building them (because is cross platform compilation) and I'm constrained in memory and storage space.
If I remove add_subdirectory(tests) from CMakelists.txt everything works fine for me, but I can't modify any file in the Wakaama directory because is a dependency as a submodule in git.
Would it be possible to have a CMake variable that removes the unit tests from the build? Something like set(WAKAAMA_TESTS OFF) that I can include in my client code CMakelists.txt
Or alternatively, create a wakaama_lib directory and build the library alone and have a different directory for the complete build with the tests?
Thank you!
The text was updated successfully, but these errors were encountered: