Skip to content

Commit e06e49e

Browse files
committed
remove lossing cflags/cxxflags
1 parent 648d770 commit e06e49e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ get_filename_component(BASENAME ${CMAKE_CURRENT_LIST_DIR} NAME)
55
project(${BASENAME})
66

77
set (CMAKE_CXX_STANDARD 11)
8-
set(CMAKE_C_FLAGS "-Wall")
9-
set(CMAKE_CXX_FLAGS "-Wall")
108

119
aux_source_directory(src SRC_FILES)
12-
add_library(${PROJECT_NAME} ${SRC_FILES})
10+
add_library(${PROJECT_NAME} STATIC ${SRC_FILES})
1311
target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/inc")
1412

1513
add_executable (${PROJECT_NAME}test main.cpp)

0 commit comments

Comments
 (0)