Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
46463e29
Commit
46463e29
authored
Jan 15, 2021
by
Jan Möbius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cmake-library'
parents
df5066d7
c635b0e7
Pipeline
#16419
passed with stages
in 52 minutes and 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
23 deletions
+42
-23
CMakeLists.txt
CMakeLists.txt
+40
-21
OpenFlipper
OpenFlipper
+1
-1
Type-OpenVolumeMesh
Type-OpenVolumeMesh
+1
-1
No files found.
CMakeLists.txt
View file @
46463e29
...
...
@@ -62,7 +62,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif
()
# add our macro directory to cmake search path
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/OpenFlipper/cmake
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/OpenFlipper/cmake
${
CMAKE_SOURCE_DIR
}
/OpenFlipper/cmake-library/finders
${
CMAKE_SOURCE_DIR
}
/OpenFlipper/cmake-library/VCI
)
# Enable automoc, autouic and auto rcc
set
(
CMAKE_AUTOMOC ON
)
...
...
@@ -106,9 +106,28 @@ endif()
# ========================================================================
# Qt setup
include
(
ACGQt
)
include
(
VCIQt
)
set
(
QT5_REQUIRED_PACKAGES
Qt5Core
Qt5Widgets
Qt5Gui
Qt5OpenGL
Qt5Network
Qt5Sql
Qt5Script
Qt5ScriptTools
Qt5Xml
Qt5XmlPatterns
Qt5Help
Qt5UiTools
Qt5Svg
Qt5PrintSupport
Qt5Concurrent
Qt5Quick
)
acg
_qt5
()
vci
_qt5
()
if
(
NOT QT5_FOUND
)
message
(
FATAL_ERROR
"Could not find any QT Version. Please specify QT5_INSTALL_PATH (path to bin and include dir) to build with QT5. Note that this error is also shown if not all required qt modules were found, e.g. Qt5Script."
)
...
...
@@ -143,10 +162,10 @@ endif()
# ========================================================================
# include our cmake files
include
(
ACG
Common
)
include
(
VCI
Common
)
include
(
MSVCMacros
)
acg
_get_version
(
OpenFlipper
)
vci
_get_version
(
OpenFlipper
)
# ========================================================================
# Branding
...
...
@@ -203,9 +222,9 @@ add_definitions(-DPRODUCT_NAME=${OPENFLIPPER_PRODUCT_NAME})
# ========================================================================
include
(
package
)
include
(
ACG
Output
)
include
(
VCI
Output
)
acg
_openmp
()
vci
_openmp
()
# check for OpenGL, GLEW as our required dependencies
find_package
(
OpenGL
)
...
...
@@ -376,16 +395,16 @@ foreach (DATATYPE_DIR ${_data_types})
endforeach
()
# info header for Available data types
acg
_color_message
(
"
\n
${
_escape
}
[40;37m************************************************************
${
_escape
}
[0m"
)
acg
_color_message
(
"
${
_escape
}
[40;37m* Available OpenFlipper Types: *
${
_escape
}
[0m"
)
acg
_color_message
(
"
${
_escape
}
[40;37m************************************************************
${
_escape
}
[0m"
)
acg
_color_message
(
" "
)
vci
_color_message
(
"
\n
${
_escape
}
[40;37m************************************************************
${
_escape
}
[0m"
)
vci
_color_message
(
"
${
_escape
}
[40;37m* Available OpenFlipper Types: *
${
_escape
}
[0m"
)
vci
_color_message
(
"
${
_escape
}
[40;37m************************************************************
${
_escape
}
[0m"
)
vci
_color_message
(
" "
)
foreach
(
DATATYPE
${
TYPE_LIST
}
)
acg
_color_message
(
"
${
DATATYPE
}
"
)
vci
_color_message
(
"
${
DATATYPE
}
"
)
endforeach
()
acg
_color_message
(
" "
)
vci
_color_message
(
" "
)
# ========================================================================
# Tests
...
...
@@ -397,8 +416,8 @@ add_subdirectory (OpenFlipper/tests)
# ========================================================================
# Create dirs to make doxygen happy
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/Build/
${
ACG
_PROJECT_DATADIR
}
/Doc
)
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/Build/
${
ACG
_PROJECT_DATADIR
}
/Help
)
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/Build/
${
VCI
_PROJECT_DATADIR
}
/Doc
)
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/Build/
${
VCI
_PROJECT_DATADIR
}
/Help
)
# Add the documentation targets
add_subdirectory
(
OpenFlipper/Documentation/DeveloperTarget
)
...
...
@@ -439,10 +458,10 @@ endif()
# ========================================================================
# start with an empty plugin list
acg
_set
(
OPENFLIPPER_PLUGINS
""
)
acg
_set
(
OPENFLIPPER_STATIC_PLUGINS
""
)
acg
_set
(
OPENFLIPPER_STATIC_PLUGIN_FILES
""
)
acg
_set
(
OPENFLIPPER_STATIC_PLUGIN_NAMES
""
)
vci
_set
(
OPENFLIPPER_PLUGINS
""
)
vci
_set
(
OPENFLIPPER_STATIC_PLUGINS
""
)
vci
_set
(
OPENFLIPPER_STATIC_PLUGIN_FILES
""
)
vci
_set
(
OPENFLIPPER_STATIC_PLUGIN_NAMES
""
)
foreach
(
package
${
PREFOUND_PACKAGES
}
)
find_package
(
${
package
}
)
...
...
@@ -551,6 +570,6 @@ endif()
# ========================================================================
# display results
acg
_print_configure_header
(
OPENFLIPPER
"OpenFlipper"
)
vci
_print_configure_header
(
OPENFLIPPER
"OpenFlipper"
)
of_print_plugin_stats
()
acg
_print_configure_footer
()
vci
_print_configure_footer
()
OpenFlipper
@
fd337d0f
Compare
d7b9a70e
...
fd337d0f
Subproject commit
d7b9a70e85f3fd028168ee15d4c98c97e1140f45
Subproject commit
fd337d0ff88b1cfc4f533c62de6dcff23089a7b1
Type-OpenVolumeMesh
@
45bfecac
Compare
273b2c55
...
45bfecac
Subproject commit
273b2c55522f730c4de9fb7753e5afbae4f94c62
Subproject commit
45bfecace33f960038d71fc9d3f050f85eaec16f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment