mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Update CMakeLists.txt (#140)
Changed file type of src/jit_compiler_a64_static.S to 'ASM'
This commit is contained in:
parent
a5d16890c2
commit
941dfed647
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,7 @@ if (ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "
|
||||||
src/jit_compiler_x86.cpp)
|
src/jit_compiler_x86.cpp)
|
||||||
# cheat because cmake and ccache hate each other
|
# cheat because cmake and ccache hate each other
|
||||||
set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY LANGUAGE C)
|
set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY LANGUAGE C)
|
||||||
|
set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY XCODE_EXPLICIT_FILE_TYPE sourcecode.asm)
|
||||||
|
|
||||||
if(ARCH STREQUAL "native")
|
if(ARCH STREQUAL "native")
|
||||||
add_flag("-march=native")
|
add_flag("-march=native")
|
||||||
|
@ -132,6 +133,7 @@ if (ARM_ID STREQUAL "aarch64" OR ARM_ID STREQUAL "arm64" OR ARM_ID STREQUAL "arm
|
||||||
src/jit_compiler_a64.cpp)
|
src/jit_compiler_a64.cpp)
|
||||||
# cheat because cmake and ccache hate each other
|
# cheat because cmake and ccache hate each other
|
||||||
set_property(SOURCE src/jit_compiler_a64_static.S PROPERTY LANGUAGE C)
|
set_property(SOURCE src/jit_compiler_a64_static.S PROPERTY LANGUAGE C)
|
||||||
|
set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY XCODE_EXPLICIT_FILE_TYPE sourcecode.asm)
|
||||||
|
|
||||||
# not sure if this check is needed
|
# not sure if this check is needed
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
|
|
Loading…
Reference in a new issue