diff options
| author | yangwei <[email protected]> | 2024-09-03 10:38:40 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-09-03 10:38:40 +0800 |
| commit | cac9187808a80205658589c0e432a3e2bafd78e8 (patch) | |
| tree | 5f217dab05bedf4fe8c73b43fbf41990832f340e /src | |
| parent | 1c796feca56be18d745ccb838c95e834f4dfd793 (diff) | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/entry/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entry/CMakeLists.txt b/src/entry/CMakeLists.txt index dcaa8ab..2d32989 100644 --- a/src/entry/CMakeLists.txt +++ b/src/entry/CMakeLists.txt @@ -21,10 +21,12 @@ if(HASP_ENABLED) include_directories(/opt/tsg/hasp-tools/include/) endif() + add_executable(sapp sapp_main.c) target_compile_options(sapp PUBLIC ${MEM_POOL_DEFINITIONS}) target_include_directories(sapp PRIVATE ${SYSTEMD_INCLUDE_DIRS}) +set_target_properties(sapp ${SAPP_MODULES} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE) if(HASP_ENABLED STREQUAL "ON") find_library(HASP_TOOLS_LIB NAMES hasp-tools PATHS /opt/tsg/hasp-tools/lib) |
