If ( CryptBinaryToStringA( in, in_len, CRYPT_STRING_BASE64 | CRYPT_STRING_NOCRLF, out, &dw_out_len ) )Į:/Projekti/C/Test_1/inc/-master/src/Base64. ![]() The main file is called CMakeLists.txt, and is usually placed in the same directory as the. ![]() it, but when I do make I get the following: E:/Projekti/C/Test_1/inc/-master/src/Socket.c: In function 'Socket_error':Į:/Projekti/C/Test_1/inc/-master/src/Socket.c:104:6: warning: '_errno' redeclared without dllimport attribute after being referenced with dll linkageĪnd later on: E:/Projekti/C/Test_1/inc/-master/src/Base64.c: In function 'Base64_encode':Į:/Projekti/C/Test_1/inc/-master/src/Base64.c:36:63: error: 'CRYPT_STRING_NOCRLF' undeclared (first use in this function) A CMake project is defined by files written in the CMake language. It's an amalgamation of failed attempts so it looks weird, and I'm also very bad at it. Ive been trying to add a header file from another project, more specifically MQTTClient. Install (FILES "src/main.c" DESTINATION src) How can I include a header from another project using cmake. Heres the first line of every CMakeLists.txt, which is the required name of the file CMake looks for. can also include the CMakeLists.txt of sub-directories with the command. ![]() Install (TARGETS listener DESTINATION bin) Introduction to the basics Minimum Version. CMake based projects generally contain a file CMakeLists.txt at root level that. I've been trying to add a header file from another project, more specifically MQTTClient.h from Paho MQTT.Ĭurrently my CMakeList.txt goes like this: cmake_minimum_required(VERSION 2.8)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |