Files
fennec/test/CMakeLists.txt
Medusa Slockbower 73333b4c67 - Separated Platform and Compiler Dependent Behaviour into CMake scripts
- Implemented Basic Platform Interfaces
 - Implemented partial Linux platform and Wayland Display.
 - Implemented Dependencies for the above
   - map
     - set
       - optional
     - pair

TODO: threading
2025-07-22 00:59:41 -04:00

44 lines
1.3 KiB
CMake

cmake_minimum_required(VERSION 3.30)
project(fennec-test)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_C_STANDARD 23)
add_executable(fennec-test main.cpp
test.h
tests/math/test_vector.h
tests/math/test_matrix.h
tests/math/test_scalar.h
tests/math/test_geometric.h
tests/test_memory.h
tests/test_math.h
tests/test_lang.h
tests/lang/test_conditional_types.h
tests/lang/test_bits.h
tests/lang/test_sequences.h
tests/math/test_common.h
tests/math/test_exponential.h
tests/math/test_relational.h
tests/math/test_trigonometric.h
tests/fproc/test_strings.h
tests/fproc/strings/test_cstring.h
tests/test_fproc.h
tests/fproc/test_io.h
printing.h
tests/math/test_ext.h
tests/math/ext/test_quaternion.h
tests/platform/linux/test_wayland.h
tests/platform/test_linux.h
tests/test_platform.h
tests/lang/test_hashing.h
tests/containers/test_array.h
tests/containers/test_set.h
)
target_compile_definitions(fennec-test PUBLIC FENNEC_TEST_CWD="${CMAKE_SOURCE_DIR}/bin/${FENNEC_BUILD_NAME}"
FENNEC_BUILD_NAME="${FENNEC_BUILD_NAME}"
)
target_link_libraries(fennec-test PRIVATE
fennec
)