Browse Source

Add CLion files

Johannes Kreutz 2 years ago
parent
commit
5c81550f6c

+ 8 - 0
trackpoint-app/.idea/.gitignore

@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/

+ 8 - 0
trackpoint-app/.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/trackpoint-app.iml" filepath="$PROJECT_DIR$/.idea/trackpoint-app.iml" />
+    </modules>
+  </component>
+</project>

+ 8 - 0
trackpoint-app/.idea/trackpoint-app.iml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="CPP_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 6 - 0
trackpoint-app/.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
+  </component>
+</project>

+ 0 - 72
trackpoint-app/cmake/FindLib3MF.cmake

@@ -1,72 +0,0 @@
-#
-# Try to find 3MF library and include path.
-# Once done this will define
-#
-# LIB3MF_FOUND
-# LIB3MF_CFLAGS
-# LIB3MF_LIBDIR
-# LIB3MF_INCLUDE_DIRS
-# LIB3MF_LIBRARIES
-#
-
-# Don't specify REQUIRED here in case pkg-config fails.
-# We still fall back to the rest of detection code here.
-# Travis CI Ubuntu Trusty environment has some issue with pkg-config
-# not finding the version.
-#pkg_check_modules(LIB3MF lib3MF)
-
-# default to uppercase for 1.0 library name
-#set(LIB3MF_LIB "3MF")
-
-# some distribution packages are missing version information for 2.0
-#if (LIB3MF_VERSION STREQUAL "" AND LIB3MF_FOUND)
-#  if (EXISTS "/usr/include/lib3mf" AND EXISTS "/usr/include/lib3mf/lib3mf_implicit.hpp")
-#    set(LIB3MF_VERSION "2.0.0")
-#  endif()
-#endif()
-
-#if (LIB3MF_VERSION VERSION_EQUAL 1.8.1 OR LIB3MF_VERSION VERSION_GREATER 1.8.1)
-#  set(LIB3MF_API "API 1.x")
-#endif()
-
-#if (LIB3MF_VERSION VERSION_EQUAL 2.0.0 OR LIB3MF_VERSION VERSION_GREATER 2.0.0)
-  #set(LIB3MF_API "API 2.x")
-  set(LIB3MF_LIB "3mf")
-  #add_definitions(-DLIB3MF_API_2)
-#endif()
-
-#if (NOT $ENV{OPENSCAD_LIBRARIES} STREQUAL "")
-  if (EXISTS "${CMAKE_SOURCE_DIR}/thirdparty/lib3mf/install")
-    message(STATUS "found lib3mf in thirdparty.")
-    set(LIB3MF_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/thirdparty/lib3mf/install/include/Bindings/Cpp")
-    set(LIB3MF_LIBDIR "${CMAKE_SOURCE_DIR}/thirdparty/lib3mf/install/lib")
-  endif()
-#endif()
-
-#if ("${LIB3MF_LIBDIR}" STREQUAL "")
-#  if (EXISTS "/opt/include/lib3mf/Model/COM/NMR_DLLInterfaces.h")
-#    set(LIB3MF_INCLUDE_DIRS "/opt/include/lib3mf" "/opt/include/lib3mf/Model/COM")
-#    set(LIB3MF_LIBDIR "/opt/lib")
-#  else()
-#    if (EXISTS "/usr/local/include/lib3mf/Model/COM/NMR_DLLInterfaces.h")
-#      set(LIB3MF_INCLUDE_DIRS "/usr/local/include/lib3mf" "/usr/local/include/lib3mf/Model/COM")
-#      set(LIB3MF_LIBDIR "/usr/local/lib")
-#    else()
-#      if (EXISTS "/usr/include/lib3mf/Model/COM/NMR_DLLInterfaces.h")
-#        set(LIB3MF_INCLUDE_DIRS "/usr/include/lib3mf" "/usr/include/lib3mf/Model/COM")
-#        set(LIB3MF_LIBDIR "/usr/lib")
-#      endif()
-#    endif()
-#  endif()
-#endif()
-
-if (NOT ${LIB3MF_LIBDIR} STREQUAL "")
-  find_library(LIBZ_LIBRARY NAMES z)
-  find_library(LIBZIP_LIBRARY NAMES zip)
-  set(LIB3MF_LIBRARIES "-L${LIB3MF_LIBDIR}" "-l${LIB3MF_LIB} ${LIBZIP_LIBRARY} ${LIBZ_LIBRARY}")
-  set(LIB3MF_FOUND TRUE)
-else()
-#  set(LIB3MF_API "disabled")
-  set(LIB3MF_FOUND FALSE)
-  message(STATUS "Could not find lib3mf.")
-endif()