Write config if it doesn't exist.
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
066fda27a6
commit
cf5f9bcca0
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.2)
|
||||
project(compilescript
|
||||
VERSION 0.3.3
|
||||
VERSION 0.3.4
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -50,10 +50,7 @@ bool read_settings()
|
|||
{
|
||||
bool need_save = false;
|
||||
xdgcfg config("compilescript.cfg");
|
||||
if (config.read() != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
config.read();
|
||||
libconfig::Setting &cfg = config.get_cfg().getRoot();
|
||||
|
||||
if (cfg.exists("compiler"))
|
||||
|
|
Reference in New Issue