chore: initial commit

This commit is contained in:
fallenoak 2022-12-26 16:26:06 -06:00
commit 69a95ae405
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
28 changed files with 18574 additions and 0 deletions

31
test/CMakeLists.txt Normal file
View file

@ -0,0 +1,31 @@
file(GLOB_RECURSE TEST_SOURCES "*.cpp")
if(WHOA_SYSTEM_MAC)
set_source_files_properties(${TEST_SOURCES}
PROPERTIES COMPILE_FLAGS "-x objective-c++"
)
add_executable(CommonTest ${TEST_SOURCES})
target_link_libraries(CommonTest
PRIVATE
common
"-framework AppKit"
)
endif()
if(WHOA_SYSTEM_LINUX OR WHOA_SYSTEM_WIN)
add_executable(CommonTest ${TEST_SOURCES})
target_link_libraries(CommonTest
PRIVATE
common
)
endif()
target_include_directories(CommonTest
PRIVATE
${PROJECT_SOURCE_DIR}
)
install(TARGETS CommonTest DESTINATION "bin")