f
This commit is contained in:
parent
39c9dc1c5a
commit
062f07d7a3
5 changed files with 26 additions and 8 deletions
15
CMakeSettings.json
Normal file
15
CMakeSettings.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "x64-Debug",
|
||||
"generator": "Ninja",
|
||||
"configurationType": "Debug",
|
||||
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
"buildCommandArgs": "",
|
||||
"ctestCommandArgs": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -4,6 +4,6 @@
|
|||
cmake_minimum_required (VERSION 3.8)
|
||||
|
||||
# Add source to this project's executable.
|
||||
add_executable (NouVeL "NouVeL.cpp" "NouVeL.h")
|
||||
add_executable (NouVeL "NouVeL.cpp" "NVL.cpp" "NVL.h")
|
||||
|
||||
# TODO: Add tests and install targets if needed.
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
#include "NouVeL.h"
|
||||
#include "NVL.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello CMake." << std::endl;
|
||||
const std::string PJ_DIR = "E:\\Archive\\Projects\\NouVeL\\";
|
||||
|
||||
NVL::Tree tree;
|
||||
if (NVL::parse_NVL(tree, PJ_DIR + "myfile.txt"))
|
||||
return 1;
|
||||
|
||||
tree.Print_Tree(0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
// Switch to FMT
|
||||
#include <iostream>
|
|
@ -1,4 +1,4 @@
|
|||
# Implementation
|
||||
It is certainly not a good idea to parse and interpret NVL files on the go. To reduce this overhead, I'm still thinking what I should do.
|
||||
|
||||
Candidate: compile NVL files into another format (perhaps binary?) that is fast to use on the go
|
||||
Candidate: compile NVL files into another format (perhaps binary?) that is fast to use on the go
|
||||
|
|
Loading…
Add table
Reference in a new issue