![]() Set(NGHTTP2_ROOT $)Īny recommendations on how to achieve that? Since the dependencies are Linux only, I cant build and run everything on the mac directly, so I only want to use it as an IDE source but do all the compilation on the VM box, the only issues seems to be how to get CMake to understand where the headers are on the Mac. Here is an example CMake file to use nghttp2 as a dependency in the project: cmake_minimum_required(VERSION 3.2) ![]() The direct dependencies somewhat work in that case, but their common counterparts like boost, etc are missing the headers in the IDE, so even though the program compiles, I get a bunch of errors and missing headers in the IDE. If you have successfully setup CLion for remote development, please help me. I also referred to this question and other similar questions but it still does not work. This makes the project/library known to CMake. Create toolchain and map remote host like in CLion official guide. Usually, to use a library, you have to: Call addsubdirectory so that the CMakeLists.txt of this project is parsed and interpreted. ![]() This includes our optimized DJ implementation 6. Usually, to use a library, you have to: Call addsubdirectory so that the CMakeLists.txt of this project is parsed and interpreted. Include path to the header files to CMakeLists.txt by using includedirectories () Tool -> Resync with remote hosts. I'd like to install a few libraries to use in my project in a docker container (think of it as any other VM) but use the IDE from within the host to actually develop against it. The entire implementation consists of 101 C, header and CMake files with 7493 lines of code overall. ![]() I'm having a lot of trouble trying to do something seemingly trivial. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |