diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index acdb0e3..dcfc32f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,9 +5,6 @@ add_compile_options( -Werror=shadow ) -add_executable(tzdb2nx - main.cpp - tzif.cpp - tzif.h) - include_directories(.) + +add_subdirectory(tzdb2nx) diff --git a/src/tzdb2nx/CMakeLists.txt b/src/tzdb2nx/CMakeLists.txt new file mode 100644 index 0000000..9d2b034 --- /dev/null +++ b/src/tzdb2nx/CMakeLists.txt @@ -0,0 +1,4 @@ +add_executable(tzdb2nx + main.cpp + tzif.cpp + tzif.h) diff --git a/src/main.cpp b/src/tzdb2nx/main.cpp similarity index 100% rename from src/main.cpp rename to src/tzdb2nx/main.cpp diff --git a/src/tzif.cpp b/src/tzdb2nx/tzif.cpp similarity index 100% rename from src/tzif.cpp rename to src/tzdb2nx/tzif.cpp diff --git a/src/tzif.h b/src/tzdb2nx/tzif.h similarity index 100% rename from src/tzif.h rename to src/tzdb2nx/tzif.h