build: wrangling move to cxx

This commit is contained in:
Danny Robson 2019-02-24 12:23:07 +11:00
parent c34c8ad366
commit 0c163993c0
4 changed files with 27 additions and 0 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,9 @@
[submodule "cmake"] [submodule "cmake"]
path = cmake path = cmake
url = git://git.nerdcruft.net/cmake url = git://git.nerdcruft.net/cmake
[submodule "cruft/util"]
path = cruft/util
url = git://git.nerdcruft.net/libcruft-util.git
[submodule "cruft/evdev"]
path = cruft/evdev
url = git://git.nerdcruft.net/libcruft-evdev.git

View File

@ -8,6 +8,11 @@ project(quimby
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include (nc) include (nc)
add_subdirectory(cruft/util)
add_subdirectory(cruft/evdev)
add_executable(relay relay.cpp)
install( install(
FILES FILES
systemd/system/quimby.service systemd/system/quimby.service

1
cruft/util Submodule

@ -0,0 +1 @@
Subproject commit ee96cbb5daa745d0cae642ed36a913a14f12dee3

15
relay.cpp Normal file
View File

@ -0,0 +1,15 @@
struct input_event {
struct timeval time;
unsigned short type;
unsigned short code;
unsigned int value;
};
int main ()
{
}