Rename project to kindle2notes
This commit is contained in:
1 parent
15ff70b4c3
commit
432a1dc223
7 files changed
+110
-124
No files matched your search
+4
-16
@@ -1,12 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(kindle2latex LANGUAGES CXX)
|
||||
project(kindle2notes LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
function(kindle2latex_enable_warnings target)
|
||||
function(kindle2notes_enable_warnings target)
|
||||
if(MSVC)
|
||||
target_compile_options(${target} PRIVATE /W4)
|
||||
else()
|
||||
@@ -14,7 +14,7 @@ function(kindle2latex_enable_warnings target)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
add_executable(kindle2latex_typefactory
|
||||
add_executable(kindle2notes
|
||||
typefactory/convertlatex.cpp
|
||||
typefactory/convertlatex.h
|
||||
typefactory/convertmarkdown.cpp
|
||||
@@ -24,16 +24,4 @@ add_executable(kindle2latex_typefactory
|
||||
typefactory/main.cpp
|
||||
typefactory/typefactory.h
|
||||
)
|
||||
set_target_properties(kindle2latex_typefactory PROPERTIES
|
||||
OUTPUT_NAME kindle2latex-typefactory
|
||||
)
|
||||
kindle2latex_enable_warnings(kindle2latex_typefactory)
|
||||
|
||||
add_executable(kindle2latex_fsm
|
||||
fsm/main.cpp
|
||||
fsm/fsm.h
|
||||
)
|
||||
set_target_properties(kindle2latex_fsm PROPERTIES
|
||||
OUTPUT_NAME kindle2latex-fsm
|
||||
)
|
||||
kindle2latex_enable_warnings(kindle2latex_fsm)
|
||||
kindle2notes_enable_warnings(kindle2notes)
|
||||
Reference in new issue
Block a user