mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
af447aeab7
* add subtitles support (tools + goal + text file). * add to build system proper * better handling of line speakers * billy test subtitles * adjust timings * better handling of subtitle timing + citadel subs * press square to toggle cutscene subtitles * improve DirectRenderer performance * clang * dont error out if there's no user files * make system supports multiple inputs for subtitles * clang * oh no typo!! * avoid future issues * fix warp gate crash * remove no longer necessary code in DirectRenderer * remove temp prints * delete triplicate code * i found a better way * fix make issues with subtitles * force avx compilation
57 lines
1.7 KiB
CMake
57 lines
1.7 KiB
CMake
add_library(compiler
|
|
SHARED
|
|
emitter/CallingConvention.cpp
|
|
emitter/CodeTester.cpp
|
|
emitter/ObjectFileData.cpp
|
|
emitter/ObjectGenerator.cpp
|
|
emitter/Register.cpp
|
|
debugger/disassemble.cpp
|
|
compiler/Compiler.cpp
|
|
compiler/Env.cpp
|
|
compiler/Val.cpp
|
|
compiler/IR.cpp
|
|
compiler/CompilerSettings.cpp
|
|
compiler/CodeGenerator.cpp
|
|
compiler/StaticObject.cpp
|
|
compiler/compilation/Asm.cpp
|
|
compiler/compilation/Atoms.cpp
|
|
compiler/compilation/CompilerControl.cpp
|
|
compiler/compilation/Block.cpp
|
|
compiler/compilation/Macro.cpp
|
|
compiler/compilation/Math.cpp
|
|
compiler/compilation/Define.cpp
|
|
compiler/compilation/Debug.cpp
|
|
compiler/compilation/Function.cpp
|
|
compiler/compilation/ControlFlow.cpp
|
|
compiler/compilation/Type.cpp
|
|
compiler/compilation/State.cpp
|
|
compiler/compilation/Static.cpp
|
|
compiler/Util.cpp
|
|
data_compiler/game_text.cpp
|
|
data_compiler/dir_tpages.cpp
|
|
data_compiler/DataObjectGenerator.cpp
|
|
data_compiler/game_count.cpp
|
|
data_compiler/game_subtitle.cpp
|
|
debugger/Debugger.cpp
|
|
debugger/DebugInfo.cpp
|
|
listener/Listener.cpp
|
|
listener/MemoryMap.cpp
|
|
make/MakeSystem.cpp
|
|
make/Tool.cpp
|
|
make/Tools.cpp
|
|
regalloc/IRegister.cpp
|
|
regalloc/Allocator.cpp
|
|
regalloc/allocator_interface.cpp
|
|
regalloc/Allocator_v2.cpp
|
|
)
|
|
|
|
target_link_libraries(compiler common Zydis)
|
|
|
|
if (WIN32)
|
|
target_link_libraries(compiler mman)
|
|
endif ()
|
|
|
|
add_executable(goalc main.cpp)
|
|
target_link_libraries(goalc common Zydis compiler)
|
|
|