Skip to content

Commit

Permalink
some debug output for cmake configuration issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Dec 16, 2024
1 parent b4f60b8 commit e442826
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 234 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ find_package (Utf8Proc REQUIRED)

if (USING_LUA)
find_package (Lua 5.2 REQUIRED)
else(USING_LUA)
message("Building without Lua")
endif(USING_LUA)

if (LUA_FOUND)
Expand Down
3 changes: 1 addition & 2 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "-DWITHOUT_LUA=1",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
Expand Down Expand Up @@ -44,7 +43,7 @@
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\build\\${name}",
"installRoot": "${projectDir}\\install\\${name}",
"cmakeCommandArgs": "",
"cmakeCommandArgs": "-DWITHOUT_LUA=1",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
Expand Down
2 changes: 1 addition & 1 deletion scripts/eressea/xmlconf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local rules = 'conf'

if config.rules then
rules = rules .. '/' .. config.rules
assert(0 == eressea.config.read(rules .. '/config.json', config.install), "could not read JSON data")
assert(0 == eressea.config.read(rules .. '/config.json', config.install), "could not read JSON data from " .. rules)
end

eressea.game.reset()
Loading

0 comments on commit e442826

Please sign in to comment.