Skip to content

Commit

Permalink
Chore: Add CMakeLists for src
Browse files Browse the repository at this point in the history
  • Loading branch information
czs108 committed Feb 6, 2024
1 parent c80a719 commit 1bcbedb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
add_executable(PE-Packer "")

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

target_include_directories(PE-Packer PRIVATE ${HEADER_PATH})

target_sources(PE-Packer
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/main.c
)
7 changes: 7 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <stdlib.h>


int main(int argc, char *argv[])
{
return EXIT_SUCCESS;
}

0 comments on commit 1bcbedb

Please sign in to comment.