Skip to content

Commit be551c3

Browse files
committed
fix sol
1 parent 19db110 commit be551c3

File tree

4 files changed

+1357
-14
lines changed

4 files changed

+1357
-14
lines changed

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,12 @@ endif()
376376
if(EMSCRIPTEN)
377377
include(WasmBuildOptions)
378378
find_package(xeus-lite REQUIRED)
379-
add_executable(xlua_wasm src/main_emscripten_kernel.cpp )
380-
target_link_libraries(xlua_wasm PRIVATE xeus-lite)
381-
target_compile_features(xlua_wasm PRIVATE cxx_std_17)
382-
xeus_lua_set_kernel_options(xlua_wasm)
383-
xeus_wasm_compile_options(xlua_wasm)
384-
xeus_wasm_link_options(xlua_wasm "web,worker")
379+
add_executable(xlua src/main_emscripten_kernel.cpp )
380+
target_link_libraries(xlua PRIVATE xeus-lite)
381+
target_compile_features(xlua PRIVATE cxx_std_17)
382+
xeus_lua_set_kernel_options(xlua)
383+
xeus_wasm_compile_options(xlua)
384+
xeus_wasm_link_options(xlua "web,worker")
385385
endif()
386386

387387

src/sol/config.hpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@
2020
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
// This file was generated with a script.
23-
// Generated 2020-10-03 21:34:25.034794 UTC
24-
// This header was generated with sol v3.2.1 (revision 48eea7b5)
23+
// Generated 2025-03-31 11:18:48.510548 UTC
24+
// This header was generated with sol v3.5.0 (revision c1f95a77)
2525
// https://github.com/ThePhD/sol2
2626

27-
#ifndef SOL_SINGLE_CONFIG_HPP
28-
#define SOL_SINGLE_CONFIG_HPP
27+
#ifndef SOL_SINGLE_SOL_CONFIG_HPP
28+
#define SOL_SINGLE_SOL_CONFIG_HPP
2929

3030
// beginning of sol/config.hpp
3131

32-
#include <limits>
33-
#include <algorithm>
3432
/* Base, empty configuration file!
3533
3634
To override, place a file in your include paths of the form:
@@ -52,4 +50,4 @@ the build system, or the command line options of your compiler.
5250

5351
// end of sol/config.hpp
5452

55-
#endif // SOL_SINGLE_CONFIG_HPP
53+
#endif // SOL_SINGLE_SOL_CONFIG_HPP

0 commit comments

Comments
 (0)