{"id":16174047,"url":"https://github.com/robamu/unix-system-popen","last_synced_at":"2025-04-07T09:42:00.433Z","repository":{"id":103550990,"uuid":"392806363","full_name":"robamu/unix-system-popen","owner":"robamu","description":"Test application to start an application in a separate process blocking and non-blocking","archived":false,"fork":false,"pushed_at":"2021-08-04T22:32:46.000Z","size":798,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T12:53:41.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robamu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-04T19:35:55.000Z","updated_at":"2021-08-20T08:54:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"d91d7b6f-b04e-40a8-847f-01a9e7a3fce8","html_url":"https://github.com/robamu/unix-system-popen","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"c1a189ca31d827493abbca26fcca8ea0287c1c17"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"robamu/cpp-cmake-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robamu%2Funix-system-popen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robamu%2Funix-system-popen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robamu%2Funix-system-popen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robamu%2Funix-system-popen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robamu","download_url":"https://codeload.github.com/robamu/unix-system-popen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631257,"owners_count":20970036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T04:10:40.896Z","updated_at":"2025-04-07T09:42:00.402Z","avatar_url":"https://github.com/robamu.png","language":"C++","readme":"# Building `rust-app`\n\nRust must be installed\n\n```sh\ncd rust-app-dir\ncargo build\ncp target/debug/rust-app ..\ncd ..\n./rust-app\n```\n \n# C++ and C project template\n\nProject template for building C++ and C projects with CMake and various different compilers\nand IDEs. Install [CMake](https://cmake.org/install/) first.\n\nAll builds displayed here are for Debug configurations. To build for release, replace\n`Debug` with `Release` in the folder names and and add `-DCMAKE_BUILD_TYPE=Release` \nto the CMake build command.\n\n## Windows - GCC\n\n### Using MinGW Makefiles\n\nInstall [MSYS2](https://www.msys2.org/) first. All command line steps here were done\nin MinGW64. Set up MinGW64:\n\n```sh\npacman -Syuu\npacman -S git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake\ngit config --global core.autocrlf true\n```\n\nThen build the application with\n\n```cpp\nmkdir build-MinGW64 \u0026\u0026 cd build-MinGW64\ncmake -G \"MinGW Makefiles\" ..\ncmake --build . -j\n```\n\n#### Using Visual Studio Code\n\nMake sure you can build the application with MinGW64 like specified above. After that\nthere are good instructions on how to set up Visual Studio Code \n[here](https://code.visualstudio.com/docs/cpp/config-mingw). A workspace file is provided as well\nto get started quickly.\n\n#### Using Eclipse\n\nCopy the `.project` and `.cproject` file found in `misc/eclipse` into the project root\nand open the folder in Eclipse with `Open Project from Filesystem`. Build configurations and \nlaunch files for MinGW were provided. You have to generate the build system with CMake via \ncommand line first before you can Build, Run and Debug with Eclipse.\n\n## Windows - MSVC\n\n### Using Visual Studio\n\nInstall [Visual Studio](https://visualstudio.microsoft.com/).\nYou can generate Visual Studio project files with the following command \n(here, for Visual Studio 2019)\n\n```cpp\nmkdir Debug-VS2019\ncd Debug-VS2019\ncmake .. -G \"Visual Studio 16 2019\"\n```\n\nAfter that, a `.sln` project file is generated which you can open with Visual Studio 2019.\n\n###  Using Visual Studio Code\n\nInstructions can be found [here](https://code.visualstudio.com/docs/cpp/config-msvc).\nNot tested yet.\n\n## Windows - LLVM\n\n### Using MinGW Makefiles\n\nInstall [LLVM](https://llvm.org/builds/) first.\nPerform the same set-up as specified above for MinGW64.\n\nEnsure you can call `clang --version` from the command line by adding the LLVM binary path\nto the MinGW64 path as well, for example by adding the following line in the `~/.bashrc` file\n\n```sh\nexport PATH=$PATH:\"/c/Program Files/LLVM/bin\"\n```\n\nIf everything was set up correctly, you can build the application with `clang`\n\n```cpp\nmkdir build-MinGW64 \u0026\u0026 cd build-MinGW64\ncmake -G \"MinGW Makefiles\" -DUSE_LLVM=ON ..\ncmake --build . -j\n```\n\n## Linux - GCC\n\n### Using GCC and Unix Makefiles\n\nInstructions for Ubuntu, adapt accordingly\nInstall required packages and tools first\n\n```cpp\nsudo apt-get update\nsudo apt-get install build-essential gdb\n```\n\nBuild the project like this: \n\n```cpp\nmkdir Debug-Unix\ncd Debug-Unix\ncmake .. \ncmake --build . -j\n```\n\n#### Using Eclipse\n\nThere are two Eclipse files `.project` and `.cproject` located inside the `misc/eclipse` folder.\nIN the `.project` file, change the name to your project folder name. After that, copy both files\ninto the project root and open the folder in Eclipse with `Open Project from Filesystem`. Build\nconfigurations and  launch files for Unix systems were provided. You have to generate the build\nsystem with CMake via  command line first before you can Build, Run and Debug with Eclipse.\n\n#### Using Visual Studio Code\n\nMake sure you can build the application like specified above. After that\nthere are good instructions on how to set up Visual Studio Code \n[here](https://code.visualstudio.com/docs/cpp/config-linux)\n\n## Linux - LLVM\n\nInstall [LLVM](https://apt.llvm.org/) first.\n\nIf everything was set up correctly, you can build the application with `clang`\n\n```cpp\nmkdir build \u0026\u0026 cd build\ncmake -DUSE_LLVM=ON ..\ncmake --build . -j\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobamu%2Funix-system-popen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobamu%2Funix-system-popen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobamu%2Funix-system-popen/lists"}