diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-03 17:11:13 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-03 17:11:13 +0100 |
commit | 60f6bf62d024b55ef0e03bad28393a4510c631a8 (patch) | |
tree | ec6c964aba0c88ada4a76575f82fbd76dc1b1b6a /wall-tileset-tool | |
parent | 903bff00419464cf4f683ed8ed12877f90aecb6d (diff) |
.
Diffstat (limited to 'wall-tileset-tool')
-rw-r--r-- | wall-tileset-tool/CMakeLists.txt | 16 | ||||
-rw-r--r-- | wall-tileset-tool/main.cpp | 6 |
2 files changed, 22 insertions, 0 deletions
diff --git a/wall-tileset-tool/CMakeLists.txt b/wall-tileset-tool/CMakeLists.txt new file mode 100644 index 00000000..525696fd --- /dev/null +++ b/wall-tileset-tool/CMakeLists.txt @@ -0,0 +1,16 @@ +find_package(OpenCV QUIET) +if(OpenCV_FOUND) + set(self "floormat-wall-tileset-tool") + + include_directories(SYSTEM "${OpenCV_INCLUDE_DIRS}") + link_libraries(Corrade::Utility Magnum::Magnum) + link_libraries(opencv_imgproc opencv_imgcodecs opencv_core) + link_libraries(nlohmann_json::nlohmann_json) + + file(GLOB sources "*.cpp" CONFIGURE_ARGS) + + add_executable(${self} "${sources}") + target_link_libraries(${self} PRIVATE floormat-serialize floormat) + + fm_add_install_executable(${self}) +endif() diff --git a/wall-tileset-tool/main.cpp b/wall-tileset-tool/main.cpp new file mode 100644 index 00000000..eac6a6a7 --- /dev/null +++ b/wall-tileset-tool/main.cpp @@ -0,0 +1,6 @@ +#include <Corrade/Utility/Arguments.h> + +int main(int argc, char** argv) +{ + return 0; +} |