Vita3K/vita3k/module/CMakeLists.txt
scribam 77abeaa167
vita3k: More cleanup (#3379)
* vita3k: Use C++17 nested namespace definition

* vita3k: Remove redundant call to c_str()

* vita3k: Prefer C++ header

* vita3k: Use structured bindings

* shader: Add explicit fallthrough

* vita3k: Cleanup headers and dependencies

* util: Add WIN32_LEAN_AND_MEAN before <Windows.h>

* modules: Remove redundant 'const' specifier on a constexpr variable

* modules: Remove redundant return statement at the end of a function with a void return type

* clang-format: Use C++20 standard

* vita3k: Insert new line at EOF

* host: rename filesystem.hpp to filesystem.h
2024-09-18 21:48:08 +02:00

22 lines
526 B
CMake

add_library(
module
STATIC
src/load_module.cpp
src/read_arg.cpp
src/write_return_value.cpp
)
target_include_directories(module PUBLIC include)
target_link_libraries(module PUBLIC config cpu emuenv kernel util)
if(TRACY_ENABLE_ON_CORE_COMPONENTS)
target_link_libraries(module PUBLIC tracy)
endif()
add_executable(
module-tests
tests/arg_layout_tests.cpp
)
target_include_directories(module-tests PRIVATE include)
target_link_libraries(module-tests PRIVATE googletest util)
add_test(NAME module COMMAND module-tests)