meta: re-organise tests
This commit is contained in:
+5
-3
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
project(fx C)
|
||||
project(fx C ASM)
|
||||
|
||||
include (TestBigEndian)
|
||||
|
||||
@@ -35,8 +35,10 @@ message(STATUS "Floating point support: ${fx_enable_floating_point}")
|
||||
|
||||
set(fx_system_name ${CMAKE_SYSTEM_NAME})
|
||||
string(TOLOWER ${fx_system_name} fx_system_name)
|
||||
set(fx_system_arch ${CMAKE_SYSTEM_PROCESSOR})
|
||||
string(TOLOWER ${fx_system_arch} fx_system_arch)
|
||||
|
||||
message(STATUS "System name: ${fx_system_name}")
|
||||
message(STATUS "Target system: ${fx_system_name}-${fx_system_arch}")
|
||||
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
@@ -48,4 +50,4 @@ foreach (assembly ${fx_assemblies})
|
||||
add_subdirectory(assemblies/${assembly})
|
||||
endforeach (assembly)
|
||||
|
||||
add_executable(dynamic-test test/dynamic-test.c)
|
||||
add_subdirectory(test)
|
||||
|
||||
Reference in New Issue
Block a user