Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eisgenerator
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Klemm, Carl Philipp
Eisgenerator
Commits
e9604caf
Commit
e9604caf
authored
1 year ago
by
Carl Philipp Klemm
Browse files
Options
Downloads
Patches
Plain Diff
Build windows for win64 platform instead of win32, improve documentation
parent
feb89512
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+12
-1
12 additions, 1 deletion
README.md
crossW64.cmake
+4
-3
4 additions, 3 deletions
crossW64.cmake
with
16 additions
and
4 deletions
README.md
+
12
−
1
View file @
e9604caf
...
...
@@ -24,7 +24,18 @@ In a console do:
*
mkdir build
*
cd build
*
cmake ..
*
make -j8
*
make
*
sudo make install
### Cross-compile for windows on UNIX
*
Have mingw cross-compile toolchaing installed
*
git clone https://git-ce.rwth-aachen.de/carl_philipp.klemm/eisgenerator.git
*
cd eisgenerator
*
mkdir build
*
cd build
*
cmake -DCMAKE_TOOLCHAIN_FILE=./crossW64.cmake ..
*
make
*
sudo make install
## Basic usage of CLI application
...
...
This diff is collapsed.
Click to expand it.
crossW64.cmake
+
4
−
3
View file @
e9604caf
set
(
CMAKE_SYSTEM_NAME Windows
)
set
(
CMAKE_C_COMPILER
i686
-w64-mingw32-gcc
)
set
(
CMAKE_CXX_COMPILER
i686
-w64-mingw32-g++
)
set
(
CMAKE_FIND_ROOT_PATH /usr/
i686
-w64-mingw32
)
set
(
CMAKE_C_COMPILER
x86_64
-w64-mingw32-gcc
)
set
(
CMAKE_CXX_COMPILER
x86_64
-w64-mingw32-g++
)
set
(
CMAKE_FIND_ROOT_PATH /usr/
x86_64
-w64-mingw32
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY
)
set
(
CMAKE_EXE_LINKER_FLAGS
"-static"
)
set
(
CMAKE_FIND_LIBRARY_SUFFIXES
".a"
)
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