- 14 Oct, 2015 1 commit
-
-
Thomas Fischer authored
Configuration files for CMake are provided to simplify locating libconfig from within project that use CMake as their build system. Separate configuration files are provided for C and C++ builds. In a CMakeLists.txt file, use the following commands to locate libconfig: - To locate the library, use either find_package(libconfig) or find_package(libconfig++) - The include directories are available as variables LIBCONFIG_INCLUDE_DIRS and LIBCONFIG++_INCLUDE_DIRS respectively, and can be used like this: include_directories(${LIBCONFIG++_INCLUDE_DIRS}) - Link to libconfig using variables LIBCONFIG_LIBRARIES and LIBCONFIG++_LIBRARIES respectively, by writing: target_link_libraries(${PROJECT_NAME} ${LIBCONFIG++_LIBRARIES} )
-
- 23 Sep, 2015 1 commit
-
-
Mark Lindner authored
-
- 15 Aug, 2015 3 commits
-
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
- 09 Aug, 2015 2 commits
-
-
Martin authored
Also, add x64 solution platform and DebugStatic/ReleaseStatic solution & project configurations, generating static libraries. Reset output and intermediate directories and filenames to VS defaults. Adjust preprocessor definitions (LIBCONFIG_STATIC / LIBCONFIG_EXPORTS, _USRDLL) for the static configurations.
-
Martin authored
-
- 17 May, 2015 5 commits
-
-
Mark Lindner authored
Re-generate scanner.[ch], add aux-build/test-driver, and update documentation.
-
https://github.com/fzago-cray/libconfigMark Lindner authored
Re-generate scanner.[ch], add aux-build/test-driver, and update documentation.
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
- 20 Mar, 2015 1 commit
-
-
Frank Zago authored
A value is recognized as CONFIG_TYPE_INT if it's only numbers, and CONFIG_TYPE_INT64 if it's numbers followed by L or LL. However from a user point of view adding L or LL is confusing. Instead, if the integer is too big to fit in an int, return a CONFIG_TYPE_INT64. This also avoid silent truncation.
-
- 19 Mar, 2015 2 commits
-
-
Frank Zago authored
Add the existing tests and the examples. The testsuite is then run with "make check".
-
Frank Zago authored
Do not display compilation command lines, unless make is called with V=1.
-
- 20 Sep, 2014 3 commits
-
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
- 01 Jun, 2014 1 commit
-
-
Mark Lindner authored
-
- 28 May, 2014 2 commits
-
-
-
Mark Lindner authored
-
- 27 May, 2014 1 commit
-
-
hyperrealm authored
(which were infinitely recursive).
-
- 26 May, 2014 11 commits
-
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
-
Mark Lindner authored
- added Setting.lookup() and config_setting_lookup() - documentation updates - version bump
-
- 07 May, 2014 1 commit
-
-
Yuri Dyachenko authored
it's allow to generate libconfig exception in user code example: libconfig::Setting& obj = ...; if ( !obj.isGroup() ) throw libconfig::SettingTypeException( obj, "TypeGroup expected" );
-
- 06 Mar, 2014 1 commit
-
-
Matt Renaud authored
-
- 05 Mar, 2014 4 commits
-
-
Matt Renaud authored
To address hyperrealm/libconfig#3, I have added a SettingIterator class and begin() and end() methods on Setting so that lists and arrays of Setting can be iterated through using C++ style iterators. There is an iterator as well as const_iterator defined for the class.
-
Matt Renaud authored
To address hyperrealm/libconfig#4, `Config::operator[](const char*)` and `Setting::lookup(const std::string& key)` have been added. Note: `operator[]` had to remain as `const char*` to avoid ambiguities in some situations.
-
Matt Renaud authored
To address hyperrealm/libconfig#1, the cast operator from Setting to const char* has been removed. As a result, lookupValue() taking a const char* has also been removed as it uses the cast operator. This change allows code that assigns directly to a std::string or a const char* to compile without errors. No change to existing code should be required.
-
Matt Renaud authored
To address hyperrealm/libconfig#2, a constructor has been added to the header and source file.
-
- 04 Mar, 2014 1 commit
-
-
Mark Lindner authored
-