fixed building on linux; updated linux directions

This commit is contained in:
halian
2021-05-05 07:05:42 -04:00
parent 6de715557e
commit a0b755c2d9
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -66,8 +66,9 @@ sudo apt install libboost-dev libwxgtk3.0-gtk3-dev libhunspell-dev
````
Then use cmake to build
````
cmake build -DCMAKE_BUILD_TYPE=Release
cmake --build build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
````
Use `CMAKE_BUILD_TYPE=Debug` for a debug build
-1
View File
@@ -29,7 +29,6 @@ template <> void GetDefaultMember::handle(const Color& v) { value = to_sc
template <> void GetDefaultMember::handle(const wxDateTime& v) { value = to_script(v); }
void GetDefaultMember::handle(const ScriptValueP& v) { value = v; }
void GetDefaultMember::handle(const ScriptP& v) { value = v; }
template <> void GetDefaultMember::handle(const unsigned long& v) { value = to_script((int)v); }
// ----------------------------------------------------------------------------- : GetMember