updare cmake list and c format
This commit is contained in:
@@ -6,6 +6,7 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
project (1261nat)
|
project (1261nat)
|
||||||
|
set(CMAKE_BUILD_TYPE Debug)
|
||||||
SET(BUILD_SHARED_LIBS ON)
|
SET(BUILD_SHARED_LIBS ON)
|
||||||
SET(LIBTINS_BUILD_SHARED OFF CACHE BOOL "test")
|
SET(LIBTINS_BUILD_SHARED OFF CACHE BOOL "test")
|
||||||
SET(LIBTINS_ENABLE_CXX11 ON CACHE BOOL "test2")
|
SET(LIBTINS_ENABLE_CXX11 ON CACHE BOOL "test2")
|
||||||
@@ -23,3 +24,6 @@ INCLUDE_DIRECTORIES(lib/libtins/include)
|
|||||||
file(GLOB_RECURSE 1261nat_src_files "src/*.h" "src/*.cpp")
|
file(GLOB_RECURSE 1261nat_src_files "src/*.h" "src/*.cpp")
|
||||||
add_executable(1261nat ${1261nat_src_files} )
|
add_executable(1261nat ${1261nat_src_files} )
|
||||||
target_link_libraries (1261nat tins)
|
target_link_libraries (1261nat tins)
|
||||||
|
|
||||||
|
|
||||||
|
ADD_SUBDIRECTORY(test)
|
||||||
|
|||||||
1960
dev-utils/uncrustify.cfg
Normal file
1960
dev-utils/uncrustify.cfg
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user