1
0
mirror of https://github.com/NevermindZZT/letter-shell.git synced 2025-01-01 09:58:41 +08:00
letter-shell/demo/x86-gcc/CMakeLists.txt

28 lines
1012 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.0.0)
project(LetterShell VERSION 0.1.0)
add_executable(LetterShell
main.c
shell_port.c
shell_cpp.cpp
../../src/shell.c
../../src/shell_companion.c
../../src/shell_ext.c
../../extensions/fs_support/shell_fs.c
../../extensions/log/log.c
2021-05-31 22:39:11 +08:00
../../extensions/shell_enhance/shell_passthrough.c
)
target_include_directories(LetterShell PUBLIC
"${PROJECT_BINARY_DIR}"
../../src
../../extensions/fs_support
../../extensions/cpp_support
../../extensions/log
2021-05-31 22:39:11 +08:00
../../extensions/shell_enhance
)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -T shell.lds")