Skip to content

Commit 88bd871

Browse files
committed
Moved main.cpp and updated LICENSE NOTICE
1 parent 8c2b553 commit 88bd871

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)
44
set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
66

7-
add_executable(sxgd main.cpp)
7+
add_executable(gebaard src/main.cpp)
88

99
find_package(PkgConfig)
1010
if (PKG_CONFIG_FOUND)
@@ -14,6 +14,6 @@ endif ()
1414
find_package(udev)
1515
find_package(spdlog)
1616

17-
target_link_libraries(sxgd ${LIBINPUT_LIBRARIES} ${UDEV_LIBRARIES})
18-
target_include_directories(sxgd PUBLIC ${LIBINPUT_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
19-
target_compile_options(sxgd PUBLIC ${LIBINPUT_CFLAGS_OTHER} ${UDEV_CFLAGS_OTHER})
17+
target_link_libraries(gebaard ${LIBINPUT_LIBRARIES} ${UDEV_LIBRARIES})
18+
target_include_directories(gebaard PUBLIC ${LIBINPUT_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
19+
target_compile_options(gebaard PUBLIC ${LIBINPUT_CFLAGS_OTHER} ${UDEV_CFLAGS_OTHER})

main.cpp renamed to src/main.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
//
2+
// Gebaar
3+
// Copyright (C) 2019 Coffee2Code
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
//
118
#include <iostream>
219
#include <libinput.h>
320
#include <libudev.h>

0 commit comments

Comments
 (0)