mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 08:46:51 +08:00
Added missing CMake file and added exception to .gitignore
This commit is contained in:
parent
0bc5453bfd
commit
d5f411e304
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
test/**
|
||||
!test/test.cpp
|
||||
!test/example.cpp
|
||||
!test/CMakeLists.txt
|
||||
build/
|
||||
|
||||
7
test/CMakeLists.txt
Normal file
7
test/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
add_executable(mio.test test.cpp)
|
||||
target_link_libraries(mio.test PRIVATE mio::mio)
|
||||
add_test(NAME mio.test COMMAND mio.test)
|
||||
|
||||
add_executable(mio.example example.cpp)
|
||||
target_link_libraries(mio.example PRIVATE mio::mio)
|
||||
add_test(NAME mio.example COMMAND mio.example)
|
||||
Loading…
x
Reference in New Issue
Block a user