Building CUnit on Windows

前端 未结 4 1474
南旧
南旧 2020-12-10 20:18

Has anyone managed to build the CUnit library for Windows?

I want to run the same unit tests under Windows that I have currently developed under linux, so I need a w

4条回答
  •  生来不讨喜
    2020-12-10 20:58

    nailed it with the following (already had MinGw and MSYS installed)

    mkdir c:/tmp
    cd CUnit-2.1-2
    bash ./configure --prefix=c:/tmp
    make
    make install
    

    but i only get libcunit.a not libcunit.dll

    i noticed that when i originally built under linux i got a libcunit.so

    so looks like only static linking but i think i can live with that

提交回复
热议问题