Skip to content

Commit

Permalink
Chore: Add CMakeLists for src/shell
Browse files Browse the repository at this point in the history
  • Loading branch information
czs108 committed Feb 6, 2024
1 parent 836002b commit 3d8dc11
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
add_subdirectory(utility)
add_subdirectory(shell)

add_executable(PE-Packer "")

Expand All @@ -23,4 +24,5 @@ target_sources(PE-Packer
${HEADER_PATH}/section.h
)

target_link_libraries(PE-Packer utility)
target_link_libraries(PE-Packer utility)
target_link_libraries(PE-Packer shell)
18 changes: 18 additions & 0 deletions src/shell/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
enable_language(ASM_MASM)

add_library(shell "")

set(HEADER_PATH "${CMAKE_SOURCE_DIR}/include/shell")

target_include_directories(shell PUBLIC ${HEADER_PATH})

target_sources(shell
PRIVATE
PUBLIC
)

if(CMAKE_SIZEOF_VOID_P EQUAL 8)

else()

endif()

0 comments on commit 3d8dc11

Please sign in to comment.