diff options
| author | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 11:24:21 -0800 |
|---|---|---|
| committer | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 11:24:21 -0800 |
| commit | 556cf073d61875368fe8511b75f5cb7db04ccb52 (patch) | |
| tree | 356c3cfdfa926b7e3b11767dc76ab981610a463b /hello/CMakeLists.txt | |
| parent | 5516490fd5bea08d253dcaed59c430c2dada5c2d (diff) | |
Use C++ modules
Diffstat (limited to 'hello/CMakeLists.txt')
| -rw-r--r-- | hello/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hello/CMakeLists.txt b/hello/CMakeLists.txt index 90a0d78..ac9f285 100644 --- a/hello/CMakeLists.txt +++ b/hello/CMakeLists.txt | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | cmake_minimum_required(VERSION 3.20) | 1 | cmake_minimum_required(VERSION 3.25) |
| 2 | 2 | ||
| 3 | add_executable(hello main.cc) | 3 | project(hello) |
| 4 | 4 | ||
| 5 | target_link_libraries(hello | 5 | add_executable(hello |
| 6 | main.cc) | ||
| 7 | |||
| 8 | target_link_libraries(hello PRIVATE | ||
| 6 | dxcommon | 9 | dxcommon |
| 7 | dxwindow) | 10 | dxwindow) |
