mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 14:20:07 +00:00
c7c615a043
Co-authored-by: water <awaterford111445@gmail.com>
82 lines
2.8 KiB
CMake
82 lines
2.8 KiB
CMake
add_library(compiler
|
|
emitter/CallingConvention.cpp
|
|
emitter/CodeTester.cpp
|
|
emitter/ObjectFileData.cpp
|
|
emitter/ObjectGenerator.cpp
|
|
emitter/Register.cpp
|
|
debugger/disassemble.cpp
|
|
build_level/common/build_level.cpp
|
|
build_level/jak1/build_level.cpp
|
|
build_level/jak2/build_level.cpp
|
|
build_level/collide/jak1/collide_bvh.cpp
|
|
build_level/collide/jak1/collide_drawable.cpp
|
|
build_level/collide/jak1/collide_pack.cpp
|
|
build_level/collide/jak2/collide.cpp
|
|
build_level/common/color_quantization.cpp
|
|
build_level/common/Entity.cpp
|
|
build_level/jak1/Entity.cpp
|
|
build_level/jak2/Entity.cpp
|
|
build_level/common/FileInfo.cpp
|
|
build_level/jak1/FileInfo.cpp
|
|
build_level/jak2/FileInfo.cpp
|
|
build_level/common/gltf_mesh_extract.cpp
|
|
build_level/jak1/LevelFile.cpp
|
|
build_level/jak2/LevelFile.cpp
|
|
build_level/common/ResLump.cpp
|
|
build_level/common/Tfrag.cpp
|
|
build_level/jak1/ambient.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/ConstantPropagation.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_common.cpp
|
|
data_compiler/dir_tpages.cpp
|
|
data_compiler/game_count.cpp
|
|
data_compiler/DataObjectGenerator.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
|
|
compiler/docs/DocTypes.cpp)
|
|
|
|
target_link_libraries(compiler common Zydis tiny_gltf decomp)
|
|
|
|
if (WIN32)
|
|
target_link_libraries(compiler mman)
|
|
endif ()
|
|
|
|
add_executable(goalc main.cpp)
|
|
add_executable(goalc-simple simple_main.cpp)
|
|
|
|
add_executable(build_level build_level/main.cpp)
|
|
|
|
target_link_libraries(goalc common Zydis compiler)
|
|
target_link_libraries(goalc-simple common Zydis compiler)
|
|
target_link_libraries(build_level common Zydis compiler)
|
|
|