unable to cmake the project under windows
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
result in
[cmake] -- Configuring done (3.3s) [cmake] CMake Error at library/CMakeLists.txt:283 (add_library): [cmake] Cannot find source file: [cmake] [cmake] ../tf-psa-crypto/drivers/builtin/src/error.c [cmake] [cmake] Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm [cmake] .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 [cmake] .f95 .f03 .hip .ispc [cmake] [cmake] [cmake] CMake Error at library/CMakeLists.txt:299 (add_library): [cmake] Cannot find source file: [cmake] [cmake] ssl_debug_helpers_generated.c [cmake] [cmake] Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm [cmake] .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 [cmake] .f95 .f03 .hip .ispc
Can you try the following,
-
make neat -
git ls-files -oand remove anything that you don't care about
IIRC the cmake build scripts have limitations under Windows because we don't want to assume that Python is available when it isn't needed. If you're building from Git rather than a release, you need to have Python available and to run cmake -DGEN_FILES=ON
you need to have Python available
I believe Perl is also required. In general we don't support generating files on Windows from CMake. Development is not all that convenient and it's something that we could do with addressing.