Skip to content

CodeSwimBikeRunner/Nephilim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nephilim

Getting Started

Follow the necessary steps depending on platform.

Windows

  1. Install CMake for Windows. I used the MSI on their website.

  2. Download the Visual Studio Installer. We will only be installing the Visual Studio Build Tools. Here. Select the Community Edition.

  3. After a lengthy update process of the Visual Studio Installer, Install the Build tools. Select the "C++ build tools" and "Universal Windows Platform build tools" box. Ensure the Windows SDK and C++ MSVC tools are installed.

  4. You may need to restart your machine.

  5. If you haven't already installed VSCode, install it now. There are a few main extensions that I use. Be careful not to have more than one C/C++ intellisense extension installed and running on your workspace. below is the extensions list I'm using.

  6. Once you clone this project and open it in VSCode. The CMake extensions should ask you to auto configure. I would highly recommend this.

  7. Create a file in the .vscode folder c_cpp_properties.json. And include the contents below. I think if you have a different version of the tools it will install the version in the c_cpp_properties.json file below on your local machine. If not you may need to edit the version below that you actually have.

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.22.27905\\include"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.17763.0",
            "compilerPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.222.27905\\bin\\Hostx64\\x64\\cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64",
            "compileCommands": "${workspaceFolder}/build/compile_commands.json",
            "configurationProvider": "go2sh.cmake-integration"
        }
    ],
    "version": 4
}
  1. Assuming no issues, you should be able to open your command pallette [Ctrl + Shift + P] and use CMake: Build or CMake: Debug Target with no problems! Be sure to set the main target on the CMake extension if you plan on using that. I can set up a build and launch.json later, but for now the best way to actually run this would be to navigate to the build directory and run neph.exe.

(note: small issue is if you debug target in cmake its running in the root directory which does not have the image to load, so it will have an error)

Feel Free to add the steps for other systems.

  • may require cmakelists changes.

Releases

No releases published

Packages

No packages published