Skip to content

Commit

Permalink
CMakeList整理
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okawa committed Jul 9, 2021
1 parent 86a9aea commit 3d42d7a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ list( REMOVE_ITEM lua_sources
${lua_path}/src/lua.c
${lua_path}/src/luac.c
)

include_directories(${lua_path}/src)
add_executable(Steganography main.cpp src/utils/argparse.h src/steganography/BaseSteganography.h src/steganography/JpgStegano.h src/steganography/JpgStegano.cpp src/utils/fileutil.h src/steganography/BaseSteganography.cpp src/utils/fileutil.cpp src/steganography/PngStegano.cpp src/steganography/PngStegano.h src/lua/LuaEngine.cpp src/lua/LuaEngine.h ${lua_sources})

# src
file( GLOB_RECURSE src ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)

add_executable(Steganography main.cpp ${src} ${lua_sources})

# OpenCv 参考 https://blog.yucchiy.com/2014/09/16/clion-opencv/
find_package(OpenCV REQUIRED)
Expand Down

0 comments on commit 3d42d7a

Please sign in to comment.