mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
For an earlier PR (#16), I introduced a new test file for testing unicode support on Windows. The project's `.gitignore` file excludes the entire test directory, so it was missed out. Turns out that this test file wasn't actually needed, but the CMake config still uses it. This commit just changes this back to the original `test.cpp` file.
11 lines
368 B
CMake
11 lines
368 B
CMake
add_executable(mio.test test.cpp)
|
|
target_link_libraries(mio.test PRIVATE mio::mio)
|
|
add_test(NAME mio.test COMMAND mio.test)
|
|
|
|
if(WIN32)
|
|
add_executable(mio.unicode.test test.cpp)
|
|
target_link_libraries(mio.unicode.test PRIVATE mio::mio)
|
|
target_compile_definitions(mio.unicode.test PRIVATE UNICODE)
|
|
add_test(NAME mio.unicode.test COMMAND mio.test)
|
|
endif()
|