diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2023-05-21 18:17:01 +0200 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2023-05-21 18:17:01 +0200 |
| commit | 4b9369e9084a7f3fee47c40a1bb71e50529eefd3 (patch) | |
| tree | d9932f1c2eb7882fe5937417a671c74c6af5d4c9 /examples/beginner/hellocpp/CMakeLists.txt | |
| parent | 1e058d15e29adc482074d7225b4c1ed34e63568d (diff) | |
| download | psn00bsdk-4b9369e9084a7f3fee47c40a1bb71e50529eefd3.tar.gz | |
Refactor hello and cppdemo examples, fix cdxa
Diffstat (limited to 'examples/beginner/hellocpp/CMakeLists.txt')
| -rw-r--r-- | examples/beginner/hellocpp/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/beginner/hellocpp/CMakeLists.txt b/examples/beginner/hellocpp/CMakeLists.txt new file mode 100644 index 0000000..85f0fde --- /dev/null +++ b/examples/beginner/hellocpp/CMakeLists.txt @@ -0,0 +1,18 @@ +# PSn00bSDK example CMake script +# (C) 2021 spicyjpeg - MPL licensed + +cmake_minimum_required(VERSION 3.21) + +project( + hellocpp + LANGUAGES CXX + VERSION 1.0.0 + DESCRIPTION "PSn00bSDK C++ hello world example" + HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk" +) + +file(GLOB _sources *.cpp) +psn00bsdk_add_executable(hellocpp GPREL ${_sources}) +#psn00bsdk_add_cd_image(hellocpp_iso hellocpp iso.xml DEPENDS hellocpp) + +install(FILES ${PROJECT_BINARY_DIR}/hellocpp.exe TYPE BIN) |
