11# -*- CMakeLists.txt generated by CodeLite IDE. Do not edit by hand -*-
22
3- cmake_minimum_required (VERSION 2.8.11 )
3+ cmake_minimum_required (VERSION 3.5 )
44
5+
6+ #{{{{ User Code 01
7+ # Place your code here
8+ #}}}}
9+
10+ enable_language (CXX C ASM )
511# Project name
612project (notekit)
713
14+
15+
16+ #{{{{ User Code 02
17+ # Place your code here
18+ #}}}}
19+
820# This setting is useful for providing JSON file used by CodeLite for code completion
921set (CMAKE_EXPORT_COMPILE_COMMANDS 1)
1022
@@ -130,12 +142,9 @@ add_definitions(${CL_VAR_2})
130142add_definitions (${CL_VAR_3} )
131143add_definitions (${CL_VAR_4} )
132144add_definitions (-std=c++17 )
133- add_definitions (-O2 )
145+ add_definitions (-g )
134146add_definitions (-Wall )
135- add_definitions (
136- -DNDEBUG
137- )
138-
147+ add_definitions (-Og )
139148
140149# Linker options
141150execute_process (COMMAND
@@ -172,19 +181,20 @@ link_directories(
172181
173182# Define the CXX sources
174183set ( CXX_SRCS
175- ${CMAKE_CURRENT_LIST_DIR } /settings .cpp
184+ ${CMAKE_CURRENT_LIST_DIR } /findinfiles .cpp
176185 ${CMAKE_CURRENT_LIST_DIR } /mainwindow.cpp
177186 ${CMAKE_CURRENT_LIST_DIR } /main.cpp
178187 ${CMAKE_CURRENT_LIST_DIR } /navigation.cpp
188+ ${CMAKE_CURRENT_LIST_DIR } /drawing.cpp
179189 ${CMAKE_CURRENT_LIST_DIR } /imagewidgets.cpp
180190 ${CMAKE_CURRENT_LIST_DIR } /notebook.cpp
181- ${CMAKE_CURRENT_LIST_DIR } /drawing .cpp
191+ ${CMAKE_CURRENT_LIST_DIR } /settings .cpp
182192 ${CMAKE_CURRENT_LIST_DIR } /about.cpp
183193)
184194
185195set_source_files_properties (
186196 ${CXX_SRCS} PROPERTIES COMPILE_FLAGS
187- " -std=c++17 -pthread -pthread -O2 -Wall" )
197+ " -std=c++17 -pthread -pthread -g -Wall -Og " )
188198
189199if (WIN32 )
190200 enable_language (RC )
@@ -204,7 +214,7 @@ if (HAVE_CLATEXMATH)
204214endif (HAVE_CLATEXMATH )
205215#}}}}
206216
207- add_executable (notekit ${RC_SRCS} ${CXX_SRCS} ${C_SRCS} )
217+ add_executable (notekit ${RC_SRCS} ${CXX_SRCS} ${C_SRCS} ${ASM_SRCS} )
208218target_link_libraries (notekit ${LINK_OPTIONS} )
209219
210220target_link_libraries (notekit
0 commit comments