添加项目文件。
This commit is contained in:
21
Etw Syscall/libpeconv-master/tests/test_case5/CMakeLists.txt
Normal file
21
Etw Syscall/libpeconv-master/tests/test_case5/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
cmake_minimum_required ( VERSION 2.8...3.21 )
|
||||
project (test_case5_exe)
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
|
||||
|
||||
set (srcs
|
||||
main.cpp
|
||||
)
|
||||
|
||||
set (hdrs
|
||||
)
|
||||
|
||||
# libs
|
||||
add_subdirectory (test_case5_dll)
|
||||
include_directories ( test_case5_dll/include )
|
||||
|
||||
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} )
|
||||
target_link_libraries(${PROJECT_NAME} "test_case5_dll" )
|
||||
|
||||
#install
|
||||
INSTALL( TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT ${PROJECT_NAME} )
|
||||
Reference in New Issue
Block a user