Skip to content

Commit

Permalink
Architecture aarm64 supported. Inc to V0.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescan committed Jul 21, 2021
1 parent 59fdd6b commit 7e79778
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
12 changes: 8 additions & 4 deletions CMakeModules/FindTacentProjectUtilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ endfunction(tacent_target_include_directories)
function(tacent_is_arch_arm retval)
message(STATUS "Tacent -- ArchitectureHost ${CMAKE_HOST_SYSTEM_PROCESSOR}")
message(STATUS "Tacent -- ArchitectureTarget ${CMAKE_SYSTEM_PROCESSOR}")
SET(${retval} False PARENT_SCOPE)

string(FIND "${CMAKE_SYSTEM_PROCESSOR}" "arm" SUBSTRINDEXVAR)
#string(FIND "${CMAKE_SYSTEM_PROCESSOR}" "AMD" SUBSTRINDEXVAR)
if (SUBSTRINDEXVAR EQUAL -1)
SET(${retval} False PARENT_SCOPE)
else()
if (NOT SUBSTRINDEXVAR EQUAL -1)
SET(${retval} True PARENT_SCOPE)
endif()

string(FIND "${CMAKE_SYSTEM_PROCESSOR}" "aarch64" SUBSTRINDEXVAR)
if (NOT SUBSTRINDEXVAR EQUAL -1)
SET(${retval} True PARENT_SCOPE)
endif()
endfunction()
Expand Down
2 changes: 1 addition & 1 deletion Modules/Foundation/Inc/Foundation/tVersion.cmake.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#define set(verStr) namespace tVersion { extern int Major, Minor, Revision; struct Parser { Parser(const char*); }; static Parser parser(#verStr); }

set("TACENT_VERSION" "0.8.8")
set("TACENT_VERSION" "0.8.9")

#undef set
6 changes: 2 additions & 4 deletions UnitTests/Src/UnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,9 @@ int main(int argc, char** argv)
tTest(Time);
tTest(Machine);

#ifndef PLATFORM_LINUX
// Build tests.
#if !defined(ARCHITECTURE_ARM32) && !defined(ARCHITECTURE_ARM64)
tTest(Process);
#endif
#ifdef PLATFORM_WINDOWS
tTest(Process);
#endif

// Image tests.
Expand Down

0 comments on commit 7e79778

Please sign in to comment.