Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A minimal Win32 development environment for cross-compilation in Linux containers. This template project demonstrates how to build Windows applications using CMake in a devcontainer setup. The sample app displays a simple "Hello, Win32!" message box and can be tested directly through Wine.

Notifications You must be signed in to change notification settings

rebooting/win32_dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Win32 Development Project

This project is a minimal Win32 application that displays a message box with the text "Hello, Win32!" when executed.

It serves as a starting point for developing and cross-compiling Win32 applications using CMake in a devcontainer environment.

Project Structure

win32_dev
├── src
│   └── main.c
├── CMakeLists.txt
└── README.md

Building the Project

To build the project, follow these steps:

make configure

make build

The exe will be generated in the build directory.

Running the Application

After building the project, you can run the application by executing the generated executable (Win32Dev.exe on Windows). You should see a message box displaying "Hello, Win32!".

Quick way to test while still on Linux is to launch a command prompt in Bottle (or any Wine environment) and run the executable:

alt text

Console only

The default build uses WinMain as entry, to use console mode aka int main(int argc, char *argv[])

remove "-mwindows" in CMakeList.txt

About

A minimal Win32 development environment for cross-compilation in Linux containers. This template project demonstrates how to build Windows applications using CMake in a devcontainer setup. The sample app displays a simple "Hello, Win32!" message box and can be tested directly through Wine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published