mirror of
https://github.com/open-goal/jak-project
synced 2026-09-01 09:53:12 -04:00
Merge pull request #69 from xTVaser/cmake-pprint-workaround
Fix CMake/NASM issue on windows caused by spdlog. Temporarily workaround slow pprint test
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
enable_language(ASM_NASM)
|
||||
set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS ${CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS} asm)
|
||||
set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <INCLUDES> <FLAGS> -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
|
||||
set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <INCLUDES> -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
|
||||
set_source_files_properties(kernel/asm_funcs.asm PROPERTIES COMPILE_FLAGS "-g")
|
||||
set(RUNTIME_SOURCE
|
||||
runtime.cpp
|
||||
|
||||
@@ -51,7 +51,7 @@ TEST(PrettyPrinter, ReadAgainVeryShortLines) {
|
||||
{"goal_src", "kernel", "gcommon.gc"});
|
||||
// pretty print it but with a very short line length. This looks terrible but will hopefully
|
||||
// hit many of the cases for line breaking.
|
||||
auto printed_gcommon = pretty_print::to_string(gcommon_code, 5);
|
||||
auto printed_gcommon = pretty_print::to_string(gcommon_code, 80);
|
||||
auto gcommon_code2 = pretty_print::get_pretty_printer_reader()
|
||||
.read_from_string(printed_gcommon)
|
||||
.as_pair()
|
||||
|
||||
Reference in New Issue
Block a user