continue code clean up
This commit is contained in:
parent
280440d13f
commit
9d338480c0
|
@ -10,6 +10,7 @@
|
|||
"fonts.h": "c",
|
||||
"devices.h": "c",
|
||||
"stdlib.h": "c",
|
||||
"serialhelper.h": "c"
|
||||
"serialhelper.h": "c",
|
||||
"coprocessorjs.h": "c"
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 325 KiB After Width: | Height: | Size: 325 KiB |
|
@ -33,13 +33,13 @@ The CXX compiler identification is GNU, found in "/home/camh/Documents/Retro68kA
|
|||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_3ea6b/fast && /usr/bin/make -f CMakeFiles/cmTC_3ea6b.dir/build.make CMakeFiles/cmTC_3ea6b.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_918b7/fast && /usr/bin/make -f CMakeFiles/cmTC_918b7.dir/build.make CMakeFiles/cmTC_918b7.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_3ea6b.dir/testCCompiler.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -o CMakeFiles/cmTC_3ea6b.dir/testCCompiler.c.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_3ea6b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3ea6b.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc CMakeFiles/cmTC_3ea6b.dir/testCCompiler.c.obj -o cmTC_3ea6b
|
||||
Building C object CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -o CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_918b7
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_918b7.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj -o cmTC_918b7
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -47,18 +47,18 @@ make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/b
|
|||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_5fa0d/fast && /usr/bin/make -f CMakeFiles/cmTC_5fa0d.dir/build.make CMakeFiles/cmTC_5fa0d.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_e11fa/fast && /usr/bin/make -f CMakeFiles/cmTC_e11fa.dir/build.make CMakeFiles/cmTC_e11fa.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Building C object CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc
|
||||
Target: m68k-apple-macos
|
||||
Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c,c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing
|
||||
Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -version -o /tmp/cc0xPyCJ.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccSTTGFz.s
|
||||
GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
|
@ -73,14 +73,14 @@ GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)
|
|||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 68baab70957df643ffb4605a09112146
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj /tmp/cc0xPyCJ.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj /tmp/ccSTTGFz.s
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
Linking C executable cmTC_5fa0d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5fa0d.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -o cmTC_5fa0d
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
Linking C executable cmTC_e11fa
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e11fa.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -o cmTC_e11fa
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc
|
||||
COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper
|
||||
|
@ -90,9 +90,9 @@ Thread model: single
|
|||
gcc version 9.1.0 (GCC)
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_5fa0d' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJgDXGa.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_5fa0d -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_5fa0d' '-mcpu=68000'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8x2spZ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_e11fa -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000'
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -114,18 +114,18 @@ Parsed C implicit link information from above output:
|
|||
link line regex: [^( *|.*[/\])(m68k-apple-macos-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_5fa0d/fast && /usr/bin/make -f CMakeFiles/cmTC_5fa0d.dir/build.make CMakeFiles/cmTC_5fa0d.dir/build]
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_e11fa/fast && /usr/bin/make -f CMakeFiles/cmTC_e11fa.dir/build.make CMakeFiles/cmTC_e11fa.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Building C object CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc]
|
||||
ignore line: [Target: m68k-apple-macos]
|
||||
ignore line: [Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing]
|
||||
ignore line: [Thread model: single]
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -version -o /tmp/cc0xPyCJ.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccSTTGFz.s]
|
||||
ignore line: [GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)]
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
|
@ -140,14 +140,14 @@ Parsed C implicit link information from above output:
|
|||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 68baab70957df643ffb4605a09112146]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj /tmp/cc0xPyCJ.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj /tmp/ccSTTGFz.s]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking C executable cmTC_5fa0d]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5fa0d.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj -o cmTC_5fa0d ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking C executable cmTC_e11fa]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e11fa.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -o cmTC_e11fa ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper]
|
||||
|
@ -157,13 +157,13 @@ Parsed C implicit link information from above output:
|
|||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_5fa0d' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJgDXGa.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_5fa0d -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8x2spZ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_e11fa -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccJgDXGa.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc8x2spZ.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lretrocrt] ==> ignore
|
||||
|
@ -172,10 +172,10 @@ Parsed C implicit link information from above output:
|
|||
arg [-q] ==> ignore
|
||||
arg [-undefined=_consolewrite] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_5fa0d] ==> ignore
|
||||
arg [cmTC_e11fa] ==> ignore
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0]
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib]
|
||||
arg [CMakeFiles/cmTC_5fa0d.dir/CMakeCCompilerABI.c.obj] ==> ignore
|
||||
arg [CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj] ==> ignore
|
||||
arg [--start-group] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
|
@ -192,13 +192,13 @@ Parsed C implicit link information from above output:
|
|||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_146be/fast && /usr/bin/make -f CMakeFiles/cmTC_146be.dir/build.make CMakeFiles/cmTC_146be.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_f76ee/fast && /usr/bin/make -f CMakeFiles/cmTC_f76ee.dir/build.make CMakeFiles/cmTC_f76ee.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_146be.dir/testCXXCompiler.cxx.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -o CMakeFiles/cmTC_146be.dir/testCXXCompiler.cxx.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_146be
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_146be.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ CMakeFiles/cmTC_146be.dir/testCXXCompiler.cxx.obj -o cmTC_146be
|
||||
Building CXX object CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -o CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_f76ee
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f76ee.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj -o cmTC_f76ee
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -206,18 +206,18 @@ make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/b
|
|||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_bfc98/fast && /usr/bin/make -f CMakeFiles/cmTC_bfc98.dir/build.make CMakeFiles/cmTC_bfc98.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_cda93/fast && /usr/bin/make -f CMakeFiles/cmTC_cda93.dir/build.make CMakeFiles/cmTC_cda93.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Building CXX object CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++
|
||||
Target: m68k-apple-macos
|
||||
Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c,c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing
|
||||
Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccdqlTJR.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccF02m1E.s
|
||||
GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
|
@ -235,14 +235,14 @@ GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)
|
|||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 5b31867a30cfa7e65d4bce12c39f8a21
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccdqlTJR.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccF02m1E.s
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
Linking CXX executable cmTC_bfc98
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bfc98.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_bfc98
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
Linking CXX executable cmTC_cda93
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cda93.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_cda93
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++
|
||||
COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper
|
||||
|
@ -252,9 +252,9 @@ Thread model: single
|
|||
gcc version 9.1.0 (GCC)
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfc98' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccWbSNKh.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_bfc98 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfc98' '-mcpu=68000'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFpWhb8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_cda93 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000'
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -282,18 +282,18 @@ Parsed CXX implicit link information from above output:
|
|||
link line regex: [^( *|.*[/\])(m68k-apple-macos-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_bfc98/fast && /usr/bin/make -f CMakeFiles/cmTC_bfc98.dir/build.make CMakeFiles/cmTC_bfc98.dir/build]
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_cda93/fast && /usr/bin/make -f CMakeFiles/cmTC_cda93.dir/build.make CMakeFiles/cmTC_cda93.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++]
|
||||
ignore line: [Target: m68k-apple-macos]
|
||||
ignore line: [Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing]
|
||||
ignore line: [Thread model: single]
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccdqlTJR.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccF02m1E.s]
|
||||
ignore line: [GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)]
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
|
@ -311,14 +311,14 @@ Parsed CXX implicit link information from above output:
|
|||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 5b31867a30cfa7e65d4bce12c39f8a21]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccdqlTJR.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccF02m1E.s]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking CXX executable cmTC_bfc98]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bfc98.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_bfc98 ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking CXX executable cmTC_cda93]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cda93.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_cda93 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper]
|
||||
|
@ -328,13 +328,13 @@ Parsed CXX implicit link information from above output:
|
|||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfc98' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccWbSNKh.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_bfc98 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFpWhb8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_cda93 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccWbSNKh.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccFpWhb8.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lretrocrt] ==> ignore
|
||||
|
@ -343,10 +343,10 @@ Parsed CXX implicit link information from above output:
|
|||
arg [-q] ==> ignore
|
||||
arg [-undefined=_consolewrite] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_bfc98] ==> ignore
|
||||
arg [cmTC_cda93] ==> ignore
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0]
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib]
|
||||
arg [CMakeFiles/cmTC_bfc98.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
|
||||
arg [CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [--start-group] ==> ignore
|
||||
|
|
|
@ -61,10 +61,6 @@ output_js.h
|
|||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/output_js.h
|
||||
coprocessorjs.h
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/coprocessorjs.h
|
||||
nuklear.h
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear.h
|
||||
nuklear_quickdraw.h
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear_quickdraw.h
|
||||
nuklear_app.c
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear_app.c
|
||||
|
||||
|
@ -129,6 +125,10 @@ assert.h
|
|||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear_app.c
|
||||
Types.h
|
||||
-
|
||||
nuklear.h
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear.h
|
||||
nuklear_quickdraw.h
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear_quickdraw.h
|
||||
|
||||
/home/camh/Documents/Retro68kApps/NuklearQuickDraw/nuklear_quickdraw.h
|
||||
MacTypes.h
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
457
nuklear_app.c
457
nuklear_app.c
|
@ -1,340 +1,391 @@
|
|||
|
||||
|
||||
void aFailed(char *file, int line) {
|
||||
|
||||
MoveTo(10, 10);
|
||||
char *textoutput;
|
||||
sprintf(textoutput, "%s:%d", file, line);
|
||||
writeSerialPortDebug(boutRefNum, "assertion failure");
|
||||
writeSerialPortDebug(boutRefNum, textoutput);
|
||||
// hold the program - we want to be able to read the text! assuming anything after the assert would be a crash
|
||||
while (true) {}
|
||||
}
|
||||
|
||||
#define NK_ASSERT(e) \
|
||||
if (!(e)) \
|
||||
aFailed(__FILE__, __LINE__)
|
||||
|
||||
#define NK_ZERO_COMMAND_MEMORY
|
||||
#define NK_INCLUDE_FIXED_TYPES
|
||||
#define NK_INCLUDE_STANDARD_IO
|
||||
// #define NK_INCLUDE_STANDARD_VARARGS
|
||||
#define NK_INCLUDE_DEFAULT_ALLOCATOR
|
||||
#define NK_IMPLEMENTATION
|
||||
#define NK_QUICKDRAW_IMPLEMENTATION
|
||||
// #define NK_BUTTON_TRIGGER_ON_RELEASE
|
||||
#define NK_MEMSET memset
|
||||
#define NK_MEMCPY memcpy
|
||||
|
||||
#include <Types.h>
|
||||
#include "nuklear.h"
|
||||
#include "nuklear_quickdraw.h"
|
||||
|
||||
char jsFunctionResponse[102400]; // Matches MAX_RECEIVE_SIZE
|
||||
|
||||
Boolean gotMouseEvent = false;
|
||||
Boolean firstOrMouseMove = true;
|
||||
int haveRun = 0;
|
||||
int chatFriendlyNamesCounter = 0;
|
||||
int ipAddressSet = 0;
|
||||
int sendNewChat = 0;
|
||||
char chatFriendlyNames[16][64];
|
||||
Boolean gotMouseEvent = false;
|
||||
char activeChat[64];
|
||||
int activeMessageCounter = 0;
|
||||
char activeChatMessages[15][2048]; // this should match to MAX_ROWS in index.js
|
||||
char box_input_buffer[2048];
|
||||
char chatFriendlyNames[16][64];
|
||||
char ip_input_buffer[255];
|
||||
char jsFunctionResponse[102400]; // Matches MAX_RECEIVE_SIZE
|
||||
char new_message_input_buffer[255];
|
||||
short box_len;
|
||||
int activeMessageCounter = 0;
|
||||
int chatFriendlyNamesCounter = 0;
|
||||
int coprocessorLoaded = 0;
|
||||
int drawChatsOneMoreTime = 2; // this is how many 'iterations' of the UI that we need to see every element for
|
||||
int forceRedraw = 2; // this is how many 'iterations' of the UI that we need to see every element for
|
||||
int haveRun = 0;
|
||||
int ipAddressSet = 0;
|
||||
int mouse_x;
|
||||
int mouse_y;
|
||||
int sendNewChat = 0;
|
||||
short box_input_len;
|
||||
short box_len;
|
||||
short new_message_input_buffer_len;
|
||||
static short ip_input_buffer_len; // TODO: setting a length here will make the default `http://...` work, but doesn't work right -- maybe due to perf work in nuklear
|
||||
int forceRedraw = 2; // this is how many 'iterations' of the UI that we need to see every element for
|
||||
int drawChatsOneMoreTime = 2; // this is how many 'iterations' of the UI that we need to see every element for
|
||||
int coprocessorLoaded = 0;
|
||||
struct nk_rect chats_window_size;
|
||||
struct nk_rect graphql_input_window_size;
|
||||
struct nk_rect message_input_window_size;
|
||||
struct nk_rect messages_window_size;
|
||||
|
||||
void getMessagesFromjsFunctionResponse() {
|
||||
|
||||
for (int i = 0; i < 15; i++) {
|
||||
for (int i = 0; i < 15; i++) {
|
||||
|
||||
memset(&activeChatMessages[i], '\0', 2048);
|
||||
}
|
||||
memset(&activeChatMessages[i], '\0', 2048);
|
||||
}
|
||||
|
||||
activeMessageCounter = 0;
|
||||
activeMessageCounter = 0;
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, "BEGIN");
|
||||
// writeSerialPortDebug(boutRefNum, "BEGIN");
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, jsFunctionResponse);
|
||||
char *token = (char *)strtokm(jsFunctionResponse, "ENDLASTMESSAGE");
|
||||
// loop through the string to extract all other tokens
|
||||
while (token != NULL) {
|
||||
// writeSerialPortDebug(boutRefNum, jsFunctionResponse);
|
||||
char *token = (char *)strtokm(jsFunctionResponse, "ENDLASTMESSAGE");
|
||||
// loop through the string to extract all other tokens
|
||||
while (token != NULL) {
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, "LOAD VALUE TO TOKEN");
|
||||
// writeSerialPortDebug(boutRefNum, token);
|
||||
sprintf(activeChatMessages[activeMessageCounter], "%s", token);
|
||||
// writeSerialPortDebug(boutRefNum, activeChatMessages[activeMessageCounter]);
|
||||
// writeSerialPortDebug(boutRefNum, "DONE! LOAD VALUE TO TOKEN");
|
||||
token = (char *)strtokm(NULL, "ENDLASTMESSAGE");
|
||||
activeMessageCounter++;
|
||||
}
|
||||
// writeSerialPortDebug(boutRefNum, "LOAD VALUE TO TOKEN");
|
||||
// writeSerialPortDebug(boutRefNum, token);
|
||||
sprintf(activeChatMessages[activeMessageCounter], "%s", token);
|
||||
// writeSerialPortDebug(boutRefNum, activeChatMessages[activeMessageCounter]);
|
||||
// writeSerialPortDebug(boutRefNum, "DONE! LOAD VALUE TO TOKEN");
|
||||
token = (char *)strtokm(NULL, "ENDLASTMESSAGE");
|
||||
activeMessageCounter++;
|
||||
}
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
// function to send messages in chat
|
||||
void sendMessage() {
|
||||
|
||||
char output[2048];
|
||||
sprintf(output, "%s&&&%s", activeChat, box_input_buffer);
|
||||
char output[2048];
|
||||
sprintf(output, "%s&&&%s", activeChat, box_input_buffer);
|
||||
|
||||
memset(&box_input_buffer, '\0', 2048);
|
||||
sprintf(box_input_buffer, "");
|
||||
box_input_len = 0;
|
||||
memset(&box_input_buffer, '\0', 2048);
|
||||
sprintf(box_input_buffer, "");
|
||||
box_input_len = 0;
|
||||
|
||||
callFunctionOnCoprocessor("sendMessage", output, jsFunctionResponse);
|
||||
callFunctionOnCoprocessor("sendMessage", output, jsFunctionResponse);
|
||||
|
||||
getMessagesFromjsFunctionResponse();
|
||||
getMessagesFromjsFunctionResponse();
|
||||
|
||||
forceRedraw = 3;
|
||||
firstOrMouseMove = true;
|
||||
forceRedraw = 3;
|
||||
firstOrMouseMove = true;
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
void sendIPAddressToCoprocessor() {
|
||||
|
||||
char output[2048];
|
||||
sprintf(output, "%s", ip_input_buffer);
|
||||
char output[2048];
|
||||
sprintf(output, "%s", ip_input_buffer);
|
||||
|
||||
|
||||
writeSerialPortDebug(boutRefNum, output);
|
||||
callFunctionOnCoprocessor("setIPAddress", output, jsFunctionResponse);
|
||||
callFunctionOnCoprocessor("setIPAddress", output, jsFunctionResponse);
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
// set up function to get messages in current chat
|
||||
// limit to recent messages
|
||||
// figure out pagination?? button on the top that says "get previous chats"?
|
||||
void getMessages(char *thread, int page) {
|
||||
|
||||
char output[62];
|
||||
sprintf(output, "%s&&&%d", thread, page);
|
||||
char output[62];
|
||||
sprintf(output, "%s&&&%d", thread, page);
|
||||
// writeSerialPortDebug(boutRefNum, output);
|
||||
|
||||
callFunctionOnCoprocessor("getMessages", output, jsFunctionResponse);
|
||||
callFunctionOnCoprocessor("getMessages", output, jsFunctionResponse);
|
||||
// writeSerialPortDebug(boutRefNum, jsFunctionResponse);
|
||||
getMessagesFromjsFunctionResponse();
|
||||
|
||||
forceRedraw = 3;
|
||||
forceRedraw = 3;
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
void getHasNewMessagesInChat(char *thread) {
|
||||
|
||||
char output[62];
|
||||
sprintf(output, "%s", thread);
|
||||
char output[62];
|
||||
sprintf(output, "%s", thread);
|
||||
// writeSerialPortDebug(boutRefNum, output);
|
||||
|
||||
callFunctionOnCoprocessor("hasNewMessagesInChat", output, jsFunctionResponse);
|
||||
callFunctionOnCoprocessor("hasNewMessagesInChat", output, jsFunctionResponse);
|
||||
// writeSerialPortDebug(boutRefNum, jsFunctionResponse);
|
||||
|
||||
if (!strcmp(jsFunctionResponse, "true")) {
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, "update current chat");
|
||||
SysBeep(1);
|
||||
getMessages(thread, 0);
|
||||
// force redraw
|
||||
firstOrMouseMove = true;
|
||||
}
|
||||
// writeSerialPortDebug(boutRefNum, "update current chat");
|
||||
SysBeep(1);
|
||||
getMessages(thread, 0);
|
||||
// force redraw
|
||||
firstOrMouseMove = true;
|
||||
}
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
// set up function to get available chat (fill buttons on right hand side)
|
||||
// run it on some interval? make sure user is not typing!!!
|
||||
void getChats() {
|
||||
|
||||
if (haveRun) {
|
||||
if (haveRun) {
|
||||
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
haveRun = 1;
|
||||
haveRun = 1;
|
||||
|
||||
callFunctionOnCoprocessor("getChats", "", jsFunctionResponse);
|
||||
callFunctionOnCoprocessor("getChats", "", jsFunctionResponse);
|
||||
|
||||
char * token = (char *)strtokm(jsFunctionResponse, ",");
|
||||
// loop through the string to extract all other tokens
|
||||
while (token != NULL) {
|
||||
sprintf(chatFriendlyNames[chatFriendlyNamesCounter++], "%s", token);
|
||||
token = (char *)strtokm(NULL, ",");
|
||||
}
|
||||
char * token = (char *)strtokm(jsFunctionResponse, ",");
|
||||
// loop through the string to extract all other tokens
|
||||
while (token != NULL) {
|
||||
sprintf(chatFriendlyNames[chatFriendlyNamesCounter++], "%s", token);
|
||||
token = (char *)strtokm(NULL, ",");
|
||||
}
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
Boolean chatWindowCollision;
|
||||
Boolean messageWindowCollision;
|
||||
|
||||
Boolean checkCollision(struct nk_rect window) {
|
||||
// writeSerialPortDebug(boutRefNum, "checkCollision!");
|
||||
// writeSerialPortDebug(boutRefNum, "checkCollision!");
|
||||
|
||||
// Boolean testout = (window.x < mouse_x &&
|
||||
// window.x + window.w > mouse_x &&
|
||||
// window.y < mouse_y &&
|
||||
// window.y + window.h > mouse_y);
|
||||
// char str[255];
|
||||
// sprintf(str, "what %d", testout);
|
||||
// writeSerialPortDebug(boutRefNum, str);
|
||||
// Boolean testout = (window.x < mouse_x &&
|
||||
// window.x + window.w > mouse_x &&
|
||||
// window.y < mouse_y &&
|
||||
// window.y + window.h > mouse_y);
|
||||
// char str[255];
|
||||
// sprintf(str, "what %d", testout);
|
||||
// writeSerialPortDebug(boutRefNum, str);
|
||||
|
||||
|
||||
// if truthy return, mouse is over window!
|
||||
return (window.x < mouse_x &&
|
||||
window.x + window.w > mouse_x &&
|
||||
window.y < mouse_y &&
|
||||
window.y + window.h > mouse_y);
|
||||
// if truthy return, mouse is over window!
|
||||
return (window.x < mouse_x &&
|
||||
window.x + window.w > mouse_x &&
|
||||
window.y < mouse_y &&
|
||||
window.y + window.h > mouse_y);
|
||||
|
||||
}
|
||||
|
||||
struct nk_rect graphql_input_window_size;
|
||||
struct nk_rect chats_window_size;
|
||||
struct nk_rect messages_window_size;
|
||||
struct nk_rect message_input_window_size;
|
||||
static void nuklearApp(struct nk_context *ctx) {
|
||||
|
||||
static void boxTest(struct nk_context *ctx) {
|
||||
// prompt the user for the graphql instance
|
||||
if (!coprocessorLoaded) {
|
||||
|
||||
// prompt the user for the graphql instance
|
||||
if (!coprocessorLoaded) {
|
||||
if (nk_begin_titled(ctx, "Loading coprocessor services", "Loading coprocessor services", graphql_input_window_size, NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
|
||||
if (nk_begin_titled(ctx, "Loading coprocessor services", "Loading coprocessor services", graphql_input_window_size, NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 20, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 200);
|
||||
nk_label_wrap(ctx, "Please wait");
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 20, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 200); // 40% wide
|
||||
nk_label_wrap(ctx, "Please wait");
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
nk_end(ctx);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
// prompt the user for the graphql instance
|
||||
if (!ipAddressSet) {
|
||||
|
||||
// prompt the user for the graphql instance
|
||||
if (!ipAddressSet) {
|
||||
if (nk_begin_titled(ctx, "Enter iMessage GraphQL Server", "Enter iMessage GraphQL Server", graphql_input_window_size, NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
|
||||
if (nk_begin_titled(ctx, "Enter iMessage GraphQL Server", "Enter iMessage GraphQL Server", graphql_input_window_size, NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 20, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 200);
|
||||
nk_label_wrap(ctx, "ex: http://127.0.0.1");
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 20, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 200); // 40% wide
|
||||
nk_label_wrap(ctx, "ex: http://127.0.0.1");
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 30, 2);
|
||||
{
|
||||
nk_layout_row_push(ctx, WINDOW_WIDTH / 2 - 90);
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 30, 2);
|
||||
{
|
||||
nk_layout_row_push(ctx, WINDOW_WIDTH / 2 - 90); // 40% wide
|
||||
nk_edit_string(ctx, NK_EDIT_SIMPLE, ip_input_buffer, &ip_input_buffer_len, 255, nk_filter_default);
|
||||
|
||||
nk_edit_string(ctx, NK_EDIT_SIMPLE, ip_input_buffer, &ip_input_buffer_len, 255, nk_filter_default);
|
||||
nk_layout_row_push(ctx, 60);
|
||||
if (nk_button_label(ctx, "save")) {
|
||||
|
||||
ipAddressSet = 1;
|
||||
forceRedraw = 2;
|
||||
sendIPAddressToCoprocessor();
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
nk_layout_row_push(ctx, 60); // 40% wide
|
||||
if (nk_button_label(ctx, "save")) {
|
||||
|
||||
ipAddressSet = 1;
|
||||
forceRedraw = 2;
|
||||
sendIPAddressToCoprocessor();
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
nk_end(ctx);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
// prompt the user for new chat
|
||||
if (sendNewChat) {
|
||||
|
||||
// prompt the user for new chat
|
||||
if (sendNewChat) {
|
||||
if (nk_begin_titled(ctx, "Enter New Message Recipient", "Enter New Message Recipient", nk_rect(WINDOW_WIDTH / 4, WINDOW_HEIGHT / 4, WINDOW_WIDTH / 2, 120), NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
|
||||
if (nk_begin_titled(ctx, "Enter New Message Recipient", "Enter New Message Recipient", nk_rect(WINDOW_WIDTH / 4, WINDOW_HEIGHT / 4, WINDOW_WIDTH / 2, 120), NK_WINDOW_TITLE|NK_WINDOW_BORDER)) {
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 30, 2);
|
||||
{
|
||||
nk_layout_row_push(ctx, WINDOW_WIDTH / 2 - 110);
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 30, 2);
|
||||
{
|
||||
nk_layout_row_push(ctx, WINDOW_WIDTH / 2 - 110); // 40% wide
|
||||
nk_edit_string(ctx, NK_EDIT_SIMPLE, new_message_input_buffer, &new_message_input_buffer_len, 2048, nk_filter_default);
|
||||
|
||||
nk_edit_string(ctx, NK_EDIT_SIMPLE, new_message_input_buffer, &new_message_input_buffer_len, 2048, nk_filter_default);
|
||||
nk_layout_row_push(ctx, 80);
|
||||
if (nk_button_label(ctx, "open chat")) {
|
||||
|
||||
sendNewChat = 0;
|
||||
forceRedraw = 2;
|
||||
// sendIPAddressToCoprocessor();
|
||||
|
||||
nk_layout_row_push(ctx, 80); // 40% wide
|
||||
if (nk_button_label(ctx, "open chat")) {
|
||||
|
||||
sendNewChat = 0;
|
||||
forceRedraw = 2;
|
||||
// sendIPAddressToCoprocessor();
|
||||
sprintf(activeChat, new_message_input_buffer);
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
sprintf(activeChat, new_message_input_buffer);
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
nk_end(ctx);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
chatWindowCollision = checkCollision(chats_window_size);
|
||||
chatWindowCollision = checkCollision(chats_window_size);
|
||||
|
||||
if ((chatWindowCollision || forceRedraw || drawChatsOneMoreTime) && nk_begin(ctx, "Chats", chats_window_size, NK_WINDOW_BORDER|NK_WINDOW_NO_SCROLLBAR)) {
|
||||
|
||||
if (chatWindowCollision) {
|
||||
if (chatWindowCollision) {
|
||||
|
||||
drawChatsOneMoreTime = 2;
|
||||
}
|
||||
drawChatsOneMoreTime = 2;
|
||||
}
|
||||
|
||||
getChats();
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 25, 1);
|
||||
{
|
||||
for (int i = 0; i < chatFriendlyNamesCounter; i++) {
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 25, 1);
|
||||
{
|
||||
for (int i = 0; i < chatFriendlyNamesCounter; i++) {
|
||||
|
||||
// only display the first 8 chats, create new chat if you need someone not in your list
|
||||
if (i > 9) {
|
||||
// only display the first 8 chats, create new chat if you need someone not in your list
|
||||
if (i > 9) {
|
||||
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
nk_layout_row_push(ctx, 169);
|
||||
nk_layout_row_push(ctx, 169);
|
||||
|
||||
if (nk_button_label(ctx, chatFriendlyNames[i])) {
|
||||
if (nk_button_label(ctx, chatFriendlyNames[i])) {
|
||||
|
||||
sprintf(activeChat, "%s", chatFriendlyNames[i]);
|
||||
getMessages(activeChat, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
sprintf(activeChat, "%s", chatFriendlyNames[i]);
|
||||
getMessages(activeChat, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
nk_end(ctx);
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
|
||||
if (nk_begin(ctx, "Message Input", message_input_window_size, NK_WINDOW_BORDER|NK_WINDOW_NO_SCROLLBAR)) {
|
||||
|
||||
// bottom text input
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 28, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 320); // 40% wide
|
||||
// bottom text input
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 28, 1);
|
||||
{
|
||||
nk_layout_row_push(ctx, 320);
|
||||
|
||||
short edit_return_value = nk_edit_string(ctx, NK_EDIT_FIELD|NK_EDIT_SIG_ENTER, box_input_buffer, &box_input_len, 2048, nk_filter_default);
|
||||
short edit_return_value = nk_edit_string(ctx, NK_EDIT_FIELD|NK_EDIT_SIG_ENTER, box_input_buffer, &box_input_len, 2048, nk_filter_default);
|
||||
|
||||
// this is the enter key, obviously
|
||||
if (edit_return_value == 17) {
|
||||
// this is the enter key, obviously
|
||||
if (edit_return_value == 17) {
|
||||
|
||||
sendMessage();
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
sendMessage();
|
||||
}
|
||||
}
|
||||
nk_layout_row_end(ctx);
|
||||
|
||||
nk_end(ctx);
|
||||
}
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
if ((forceRedraw || drawChatsOneMoreTime) && nk_begin_titled(ctx, "Message", activeChat, messages_window_size, NK_WINDOW_BORDER|NK_WINDOW_TITLE|NK_WINDOW_NO_SCROLLBAR)) {
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 12, 1);
|
||||
{
|
||||
for (int i = 0; i < activeMessageCounter; i++) {
|
||||
|
||||
nk_layout_row_push(ctx, 305); // 40% wide
|
||||
// message label
|
||||
// writeSerialPortDebug(boutRefNum, "create label!");
|
||||
// writeSerialPortDebug(boutRefNum, activeChatMessages[i]);
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 12, 1);
|
||||
{
|
||||
for (int i = 0; i < activeMessageCounter; i++) {
|
||||
|
||||
nk_layout_row_push(ctx, 305);
|
||||
// message label
|
||||
// writeSerialPortDebug(boutRefNum, "create label!");
|
||||
// writeSerialPortDebug(boutRefNum, activeChatMessages[i]);
|
||||
|
||||
nk_label(ctx, activeChatMessages[i], NK_TEXT_ALIGN_LEFT);
|
||||
}
|
||||
}
|
||||
nk_label(ctx, activeChatMessages[i], NK_TEXT_ALIGN_LEFT);
|
||||
}
|
||||
}
|
||||
|
||||
nk_layout_row_end(ctx);
|
||||
nk_end(ctx);
|
||||
nk_layout_row_end(ctx);
|
||||
nk_end(ctx);
|
||||
}
|
||||
|
||||
if (forceRedraw) {
|
||||
if (forceRedraw) {
|
||||
|
||||
forceRedraw--;
|
||||
}
|
||||
forceRedraw--;
|
||||
}
|
||||
|
||||
if (drawChatsOneMoreTime) {
|
||||
if (drawChatsOneMoreTime) {
|
||||
|
||||
drawChatsOneMoreTime--;
|
||||
}
|
||||
drawChatsOneMoreTime--;
|
||||
}
|
||||
}
|
||||
|
||||
struct nk_context* initializeNuklearApp() {
|
||||
|
||||
sprintf(activeChat, "no active chat");
|
||||
struct nk_context *ctx;
|
||||
graphql_input_window_size = nk_rect(WINDOW_WIDTH / 4, WINDOW_HEIGHT / 4, WINDOW_WIDTH / 2, 120);
|
||||
chats_window_size = nk_rect(0, 0, 180, WINDOW_HEIGHT);
|
||||
messages_window_size = nk_rect(180, 0, 330, WINDOW_HEIGHT - 36);
|
||||
message_input_window_size = nk_rect(180, WINDOW_HEIGHT - 36, 330, 36);
|
||||
ctx = nk_quickdraw_init(WINDOW_WIDTH, WINDOW_HEIGHT);
|
||||
|
||||
nk_input_begin(ctx);
|
||||
nk_input_end(ctx);
|
||||
nuklearApp(ctx);
|
||||
nk_quickdraw_render(FrontWindow(), ctx);
|
||||
nk_clear(ctx);
|
||||
sprintf(ip_input_buffer, "http://"); // doesn't work due to bug
|
||||
|
||||
return ctx;
|
||||
}
|
|
@ -1097,7 +1097,7 @@ NK_API int nk_quickdraw_handle_event(EventRecord *event, struct nk_context *nukl
|
|||
|
||||
short part = FindWindow(event->where, &window);
|
||||
|
||||
switch (part) {
|
||||
switch (part) {
|
||||
case inContent: {
|
||||
// event->where should have coordinates??? or is it just a pointer to what the mouse is over?
|
||||
// TODO need to figure this out
|
||||
|
@ -1132,7 +1132,7 @@ NK_API int nk_quickdraw_handle_event(EventRecord *event, struct nk_context *nukl
|
|||
// nk_input_motion(nuklear_context, x, y); // you can enable this if you don't want to use motion tracking
|
||||
// in the Mac event loop handler as in the nuklear quickdraw sample, and this will allow mouse clicks to
|
||||
// work properly, but will not allow hover states to work
|
||||
nk_input_motion(nuklear_context, x, y);
|
||||
nk_input_motion(nuklear_context, x, y);
|
||||
nk_input_button(nuklear_context, NK_BUTTON_LEFT, x, y, event->what == mouseDown);
|
||||
}
|
||||
break;
|
||||
|
@ -1141,7 +1141,7 @@ NK_API int nk_quickdraw_handle_event(EventRecord *event, struct nk_context *nukl
|
|||
|
||||
break;
|
||||
case keyDown:
|
||||
case autoKey: {/* check for menukey equivalents */
|
||||
case autoKey: {/* check for menukey equivalents */
|
||||
|
||||
char charKey = event->message & charCodeMask;
|
||||
int key = (int)charKey;
|
||||
|
@ -1243,7 +1243,7 @@ NK_API int nk_quickdraw_handle_event(EventRecord *event, struct nk_context *nukl
|
|||
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
default: {
|
||||
#ifdef NK_QUICKDRAW_EVENTS_DEBUGGING
|
||||
|
||||
|
@ -1388,4 +1388,4 @@ NK_API void nk_quickdraw_shutdown(void) {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue