[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Draft of CMakeLists.txt for libmicrohttpd

From: Štefan Bellus
Subject: [libmicrohttpd] Draft of CMakeLists.txt for libmicrohttpd
Date: Tue, 18 Jul 2017 18:09:45 +0200


I prepare CMakeLists.txt file for CMake build system.
It is only draft because it configures and builds only the library (no doc, examples, rc file on windows)

Please give me know if you want to add it in your distribution.

Please if possible review it. I try to rewrite autotools to CMake and test it on Windows MSVC2005 (some changes in source) and MSVC2015, and Linux Debian Lenny, RedHat 6.4 and cross compiling for arm.
The advantage is that you can get rid of MSVC projects.

If you want to try then install cmake and copy CMakeLists.txt and to project root (where configure is located).

go to project root
mkdir build
cd build

cmake ..

you have to use Command prompt from MSVC
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..

Attachment: CMakeLists.txt
Description: Text document

Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]