Skip to content

IDE Config

Juan David Adarve edited this page Jun 13, 2019 · 3 revisions

Generate Eclipse CDT project

mkdir lluvia_eclipse
cd lluvia_eclipse
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_ARG1=-std=c++14 ../lluvia

Create SublimeText project

Requirements

  • Easy CLang Complete package

Create a lluvia.sublime-project file and copy-paste the following code

{
    "folders" : [
        {
            "path" : ".",
            "folder_exclude_patterns" : [
                "build"
            ]
        }
        
    ],
    "settings" : {
        "ecc_common_flags": [
            "-DCMAKE_CXX_COMPILER=clang++",
            "-DCMAKE_SYSTEM_NAME=Linux",
            "-std=c++17",
            "-I$project_base_path/core/include/",
            "-I$project_base_path/thirdparty/",
            "-I$project_base_path/thirdparty/sol/",
            "-I$project_base_path/thirdparty/lua-5.3.5/",
            "-I<PATH_TO_VULKAN_SDK>/include/"
        ],
        "use_libclang": true,
        "show_type_info": false,
        // "easy_clang_complete_verbose": true,
        "cpp_flags" : [ "-std=c++17" ],
        "flags_sources": [
            {
               "file": "./CMakeLists.txt",
               "search_in": "."
            },
        ],
    },
    "build_systems" : [

    ]
}
Clone this wiki locally