File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,14 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
88
99option (LIBSCRATCHCPP_BUILD_UNIT_TESTS "Build unit tests" ON )
1010option (LIBSCRATCHCPP_NETWORK_SUPPORT "Support for downloading projects" ON )
11- option (LIBSCRATCHCPP_COMPUTED_GOTO "Support for computed goto" ON )
1211option (LIBSCRATCHCPP_USE_LLVM "Compile scripts to LLVM IR (work in progress)" OFF )
1312option (LIBSCRATCHCPP_PRINT_LLVM_IR "Print LLVM IR of compiled Scratch scripts (for debugging)" OFF )
1413
15- if (NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ))
16- # Computed goto not supported on anything except GCC
17- set (LIBSCRATCHCPP_COMPUTED_GOTO OFF CACHE BOOL "" FORCE)
18- endif ()
19-
2014add_library (scratchcpp SHARED)
2115add_subdirectory (src)
2216include_directories (src) # TODO: Remove this line
2317include_directories (include )
2418
25- if (LIBSCRATCHCPP_COMPUTED_GOTO)
26- target_compile_definitions (scratchcpp PRIVATE ENABLE_COMPUTED_GOTO)
27- endif ()
28-
2919target_sources (scratchcpp
3020 PUBLIC
3121 include /scratchcpp/global .h
You can’t perform that action at this time.
0 commit comments