Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xtpcpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
61347ec0
Commit
61347ec0
authored
5 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
cross compilation directives for MXE environment
parent
6debdf7c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+71
-0
71 additions, 0 deletions
CMakeLists.txt
with
71 additions
and
0 deletions
CMakeLists.txt
+
71
−
0
View file @
61347ec0
...
...
@@ -7,6 +7,77 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT
(
xtpcpp CXX
)
if
(
MXE
)
#x86_64-w64-mingw32.shared-cmake -DCMAKE_BUILD_TYPE=Release -DMXE=1 ..
MESSAGE
(
"MXE (M cross environment) https://mxe.cc/"
)
set
(
QCustomPlot_FOUND TRUE
)
set
(
QCustomPlot_INCLUDES
"/home/langella/developpement/git/qcustomplot"
)
set
(
QCustomPlot_LIBRARIES
"/home/langella/developpement/git/qcustomplot/wbuild/libqcustomplot.dll"
)
#sudo apt install libc6-dev-i386
# QUAZIP_INCLUDE_DIR - Path to QuaZip include dir
set
(
QUAZIP_INCLUDE_DIR
"/home/langella/developpement/git/quazip"
)
# QUAZIP_INCLUDE_DIRS - Path to QuaZip and zlib include dir (combined from QUAZIP_INCLUDE_DIR + ZLIB_INCLUDE_DIR)
# QUAZIP_LIBRARIES - List of QuaZip libraries
set
(
QUAZIP_QT5_LIBRARIES
"/home/langella/developpement/git/quazip/wbuild/libquazip5.dll"
)
set
(
QUAZIP_LIBRARIES
"/home/langella/developpement/git/quazip/wbuild/libquazip5.dll"
)
# QUAZIP_ZLIB_INCLUDE_DIR - The include dir of zlib headers
set
(
ODSSTREAM_QT5_FOUND 1
)
set
(
ODSSTREAM_INCLUDE_DIR
"/home/langella/developpement/git/libodsstream/src"
)
set
(
ODSSTREAM_QT5_LIBRARY
"/home/langella/developpement/git/libodsstream/wbuild/src/libodsstream-qt5.dll"
)
if
(
NOT TARGET OdsStream::Core
)
add_library
(
OdsStream::Core UNKNOWN IMPORTED
)
set_target_properties
(
OdsStream::Core PROPERTIES
IMPORTED_LOCATION
"
${
ODSSTREAM_QT5_LIBRARY
}
"
INTERFACE_INCLUDE_DIRECTORIES
"
${
ODSSTREAM_INCLUDE_DIR
}
"
)
endif
()
set
(
PAPPSOMSPP_QT5_FOUND 1
)
set
(
PAPPSOMSPP_WIDGET_QT5_FOUND 1
)
set
(
PAPPSOMSPP_INCLUDE_DIR
"/home/langella/developpement/git/pappsomspp/src"
)
mark_as_advanced
(
PAPPSOMSPP_INCLUDE_DIR
)
set
(
PAPPSOMSPP_QT5_LIBRARY
"/home/langella/developpement/git/pappsomspp/wbuild/src/libpappsomspp-qt5.dll"
)
mark_as_advanced
(
PAPPSOMSPP_QT5_LIBRARY
)
set
(
PAPPSOMSPP_WIDGET_QT5_LIBRARY
"/home/langella/developpement/git/pappsomspp/wbuild/src/pappsomspp/widget/libpappsomspp-widget-qt5.dll"
)
mark_as_advanced
(
PAPPSOMSPP_WIDGET_QT5_LIBRARY
)
if
(
NOT TARGET Pappso::Core
)
add_library
(
Pappso::Core UNKNOWN IMPORTED
)
set_target_properties
(
Pappso::Core PROPERTIES
IMPORTED_LOCATION
"
${
PAPPSOMSPP_QT5_LIBRARY
}
"
INTERFACE_INCLUDE_DIRECTORIES
"
${
PAPPSOMSPP_INCLUDE_DIR
}
"
)
endif
()
if
(
NOT TARGET Pappso::Widget
)
add_library
(
Pappso::Widget UNKNOWN IMPORTED
)
set_target_properties
(
Pappso::Widget PROPERTIES
IMPORTED_LOCATION
"
${
PAPPSOMSPP_WIDGET_QT5_LIBRARY
}
"
INTERFACE_INCLUDE_DIRECTORIES
"
${
PAPPSOMSPP_INCLUDE_DIR
}
"
)
endif
()
set
(
Pwiz_FOUND 1
)
set
(
Pwiz_INCLUDE_DIR
"/home/langella/developpement/git/custompwiz/src"
)
set
(
Pwiz_LIBRARY
"/home/langella/developpement/git/custompwiz/wbuild/src/libcustompwiz.dll"
)
if
(
NOT TARGET Pwiz::Pwiz
)
add_library
(
Pwiz::Pwiz UNKNOWN IMPORTED
)
set_target_properties
(
Pwiz::Pwiz PROPERTIES
IMPORTED_LOCATION
"
${
Pwiz_LIBRARY
}
"
INTERFACE_INCLUDE_DIRECTORIES
"
${
Pwiz_INCLUDE_DIR
}
"
)
endif
()
endif
(
MXE
)
# Find includes in corresponding build directories
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
# Instruct CMake to run moc automatically when needed.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment