-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from Sygmei/v1.0
v1.0 update
- Loading branch information
Showing
30 changed files
with
241 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
cmake_policy(SET CMP0015 NEW) | ||
cmake_minimum_required(3.1) | ||
|
||
project(vili) | ||
|
||
include_directories(include/) | ||
include_directories(include/vili) | ||
file(GLOB PG_VILI | ||
include/*.hpp | ||
include/vili/*.hpp | ||
) | ||
file(GLOB HD_VILI | ||
src/*.cpp | ||
src/vili/*.cpp | ||
) | ||
file(GLOB VILI_HEADERS include/vili/*.hpp) | ||
file(GLOB VILI_SOURCES src/*.cpp src/*.inl) | ||
|
||
if(CMAKE_COMPILER_IS_GNUCC) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -O3") | ||
endif() | ||
add_library(vili ${VILI_HEADERS} ${VILI_SOURCES}) | ||
|
||
add_library(vili ${PG_VILI} ${HD_VILI}) | ||
target_include_directories(vili | ||
PUBLIC | ||
$<INSTALL_INTERFACE:include> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/vili> | ||
PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
|
||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17) | ||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) | ||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_EXTENSIONS OFF) | ||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_EXTENSIONS OFF) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#pragma once | ||
|
||
#include <ComplexNode.hpp> | ||
#include <NodeTemplate.hpp> | ||
|
||
namespace vili | ||
{ | ||
/** | ||
* \brief A Class that can parse multiple .vili files and create a Node Tree | ||
*/ | ||
class MultipleViliParser | ||
{ | ||
private: | ||
std::map<std::string, std::vector<std::string>> m_filemap; | ||
public: | ||
/** | ||
* \brief Creates a ViliParser | ||
*/ | ||
MultipleViliParser(); | ||
/** | ||
* \brief Creates a ViliParser and parses the file at the given path | ||
* \param file Path of the file to parse | ||
*/ | ||
MultipleViliParser(std::string currentFile); | ||
template <class... files> | ||
MultipleViliParser(std::string currentFile, files... filepack); | ||
MultipleViliParser(std::vector<std::string> files); | ||
|
||
void writeFiles(bool verbose = false); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
|
||
#include <ViliParser.hpp> | ||
#include <LinkNode.hpp> | ||
|
||
#include <ErrorHandler.hpp> | ||
#include <Functions.hpp> | ||
|
||
/** | ||
* \brief A nice and readable data format language ! | ||
*/ | ||
namespace vili | ||
{ | ||
} |
Oops, something went wrong.