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
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
6ed8ecda
Commit
6ed8ecda
authored
4 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
no console in the windows version
parent
31542f34
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
src/CMakeLists.txt
+12
-3
12 additions, 3 deletions
src/CMakeLists.txt
with
16 additions
and
3 deletions
CMakeLists.txt
+
4
−
0
View file @
6ed8ecda
...
...
@@ -7,6 +7,10 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT
(
xtpcpp CXX
)
set
(
CMAKE_COLOR_MAKEFILE ON
)
set
(
CMAKE_VERBOSE_MAKEFILE ON
)
if
(
MXE
)
#x86_64-w64-mingw32.shared-cmake -DCMAKE_BUILD_TYPE=Release -DMXE=1 ..
MESSAGE
(
"MXE (M cross environment) https://mxe.cc/"
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
12
−
3
View file @
6ed8ecda
...
...
@@ -285,7 +285,13 @@ target_compile_definitions(xtpcpp PUBLIC ${QT_DEFINITIONS})
#INCLUDE_DIRECTORIES "${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}"
)
if
(
MINGW
)
TARGET_LINK_LIBRARIES
(
xtpcpp
target_compile_options
(
xtpcpp PRIVATE -mwindows
)
set_target_properties
(
xtpcpp PROPERTIES LINK_FLAGS
"-Wl,--subsystem,windows
${
CMAKE_EXE_LINKER_FLAGS
}
"
)
target_link_libraries
(
xtpcpp
OdsStream::Core
Pappso::Core
Pappso::Widget
...
...
@@ -307,7 +313,7 @@ if (MINGW)
Qt5::Sql
)
else
(
MINGW
)
TARGET_LINK_LIBRARIES
(
xtpcpp
target_link_libraries
(
xtpcpp
OdsStream::Core
Pappso::Core
Pappso::Widget
...
...
@@ -323,7 +329,10 @@ else (MINGW)
)
endif
(
MINGW
)
INSTALL
(
PROGRAMS
${
CMAKE_CURRENT_BINARY_DIR
}
/xtpcpp DESTINATION bin
)
install
(
PROGRAMS
${
CMAKE_CURRENT_BINARY_DIR
}
/xtpcpp DESTINATION bin
)
#configure_file (${CMAKE_SOURCE_DIR}/templates/share/applications/pt-peptideviewer.desktop.cmake ${CMAKE_BINARY_DIR}/templates/share/applications/pt-peptideviewer.desktop)
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