Skip to content

Commit 2e61064

Browse files
redtidejohanmalm
authored andcommitted
Move c files in src directory
1 parent 7f2d04f commit 2e61064

19 files changed

+13
-11
lines changed

CMakeLists.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ set(PROJECT_SOURCES
3737
tweaks-qt/maindialog.ui
3838
tweaks-qt/maindialog.cpp
3939
tweaks-qt/maindialog.h
40-
environment.c
41-
environment.h
42-
theme.c
43-
theme.h
44-
xml.c
45-
xml.h
46-
keyboard-layouts.c
47-
keyboard-layouts.h
40+
src/environment.c
41+
src/environment.h
42+
src/theme.c
43+
src/theme.h
44+
src/xml.c
45+
src/xml.h
46+
src/keyboard-layouts.c
47+
src/keyboard-layouts.h
4848
)
4949
set(PROJECT_OTHER_FILES
5050
.github/workflows/build.yml
@@ -97,9 +97,11 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
9797
PROJECT_TRANSLATION_TEST_ENABLED=${PROJECT_TRANSLATION_TEST_ENABLED}
9898
PROJECT_TRANSLATION_TEST_LANGUAGE="${PROJECT_TRANSLATION_TEST_LANGUAGE}"
9999
)
100-
target_include_directories(${PROJECT_NAME} PRIVATE ${GLIB_INCLUDE_DIRS})
101-
target_include_directories(${PROJECT_NAME} PRIVATE ${LIBXML2_INCLUDE_DIR})
102-
100+
target_include_directories(${PROJECT_NAME} PRIVATE
101+
${GLIB_INCLUDE_DIRS}
102+
${LIBXML2_INCLUDE_DIR}
103+
src
104+
)
103105
target_link_libraries(${PROJECT_NAME} PRIVATE
104106
Qt${QT_VERSION_MAJOR}::Widgets
105107
${GLIB_LDFLAGS}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

main.c renamed to src/main.c

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)