Skip to content

Commit a7aa509

Browse files
committed
Squashed commit of the following:
commit 4cc4e45 Author: Chris Maughan <[email protected]> Date: Fri Oct 11 09:24:19 2019 +0100 Cursor Line and Window Drag Fix dragging the window by clicking on it; remove the Invisible Button and detect window clicks that are not handled. Still need to add mouse selection of lines for non-keyboard folks. Add cursor_line_solid variable to editor; for either a background lighter fill or a background line above/below selection. Don't show line under tabs in simple mode fix config file Add option to auto hide the command region More minimal style settings - show/hide line numbers and indicators - blend more stuff out over time Tooltip One more tweak to clip the tip to the scroll bar. Fix ordering of rendering for errors This completes current cleanup of error markers. More can still be done to better arrange tips and format them when space is at a premium. An image of an example error marker is in https://github.com/cmaughan/zep/screenshots/error-marker.png Remove include for collision Improvement to tooltip handling Better placement, cleaner display. Tweaks to the display loop. There's a bug with showing error marks when the cursor is over them which I haven't figured out. Rendering, Margin & Tooltips Cleaning up above and below margins in text. Adding a Minimal mode Made a better config structure Working on Tooltip cleanup The tooltips/error markers don't place very well. I'm trying to fix that. Fixes to shared library Updates to Repl and a fix for 'e' The 'e' command didn't step over end of words at end of line, it does now. The Chibi/Scheme repl feature I've been playing with now works; and the scheme code is moved into my shared project. This is only used in the demo app. Scheme interpreter for demo\nWork in progress Improving and fixing Syntax Coloring. This is work in progress. I'm also working on a simple Repl panel for my own use; but making sure the editor can work well in that mode. Rainbow brackets now display red background for text that is invalid. More on the way for this. Fixed CRLF in files Actual fixes Various Fixes Removed initialize hack; shouldn't need an extra message when buffers are created. Fixed creation of syntax highlighting Fixed CTRL+R for redo (previously broken on this branch) Fixed behavior of J - append next line, remove extra white space, leave a space. Working towards cleaning up/improving syntax highlighting Fix J command, fix rainbow brackets init Merge branch 'repl' of https://github.com/cmaughan/zep into repl Remove imgui The demos now use my shared MUtils library The core library is still pretty much dependency free, and now you can just include the imgui display/edit code as headers. This makes it easier to use with different versions of ImGui; or in external projects Updated ImGui to match MUtils; need to figure a better way to handle this MP commit fd1056a Author: Chris Maughan <[email protected]> Date: Wed Aug 28 14:38:26 2019 +0100 Fix unit test building commit bf16e53 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 14:21:10 2019 +0100 Fix missing install script commit 982f785 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 14:11:46 2019 +0100 One more attempt commit 1eea872 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 14:05:39 2019 +0100 Add builder to install commit b826e1e Author: Chris Maughan <[email protected]> Date: Wed Aug 28 13:50:01 2019 +0100 Fix dependency commit a5d0f37 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 13:35:53 2019 +0100 Fix build script commit 25c5117 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 13:33:20 2019 +0100 Fix Linux build commit 617e766 Author: Chris Maughan <[email protected]> Date: Wed Aug 28 12:35:55 2019 +0100 Fix packages commit 62f3ee5 Author: Chris Maughan <[email protected]> Date: Tue Aug 27 20:54:45 2019 +0100 Cleanup commit 2f2d9ff Author: Chris Maughan <[email protected]> Date: Fri Aug 23 18:44:32 2019 +0100 Fix packages commit b0e4964 Author: Chris Maughan <[email protected]> Date: Fri Aug 23 18:37:01 2019 +0100 Learning Modern CMake .. and improving the build setup. SDL is now 'found' as a package, with optional script to build and install it. Makelists cleaned up. commit 54482f4 Merge: 7de99a2 bd3cccf Author: Chris Maughan <[email protected]> Date: Fri Aug 23 09:39:39 2019 +0100 Merge branch 'repl' of https://github.com/cmaughan/zep into repl commit 7de99a2 Author: Chris Maughan <[email protected]> Date: Fri Aug 23 09:23:41 2019 +0100 Working on Make updates Towards packaging and modern CMake commit bd3cccf Author: Chris Maughan <[email protected]> Date: Thu Aug 22 21:31:19 2019 +0100 Implement dt I already had change-to, but I forgot delete-to. Next on this list is probably di( ci(, then some search foo. commit eefb4d7 Author: Chris Maughan <[email protected]> Date: Tue Aug 20 08:22:25 2019 +0100 Work in progress formatting Repl commit 928a65f Merge: 3bc9b2c dc0368f Author: Chris Maughan <[email protected]> Date: Mon Aug 19 08:28:05 2019 +0100 Merge branch 'master' into repl commit 3bc9b2c Author: Chris Maughan <[email protected]> Date: Thu Aug 15 19:02:20 2019 +0100 Improvements to the way modes are created Managing modes is a big simpler now; instead of a secondary mode deviation, the mode is set on the buffer, so it is clear which buffer uses which mode, and ownership of one-time modes is clearer. Some more work on the repl, and an example lisp interpreter for the demo app to use; shows how you hook into the generic repl mode. This is experimental for now, and supplying a repl will be optional. The end user just supplies a <string(string)> std::function which takes something to evaluate and returns the result. The editor does the job of being a 'readline' clone. commit ea37968 Author: Chris Maughan <[email protected]> Date: Wed Aug 14 19:49:48 2019 +0100 Repl
1 parent 6722f1f commit a7aa509

File tree

2,299 files changed

+2348
-614899
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,299 files changed

+2348
-614899
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

CMakeLists.txt

+69-161
Original file line numberDiff line numberDiff line change
@@ -1,183 +1,91 @@
11
cmake_minimum_required(VERSION 3.2)
22

3-
option (BUILD_QT "Make a Qt Demo" OFF)
4-
option (BUILD_IMGUI "Make an imgui demo" ON)
5-
option (BUILD_IMGUI_APP "Make the test app" ON)
3+
message(STATUS " CMakeLists: Zep")
64

7-
option (ZEP_FEATURE_CPP_FILE_SYSTEM "Default File system enabled" ON)
5+
# Global Options
6+
option(BUILD_QT "Make Qt Library" OFF)
7+
option(BUILD_IMGUI "Make Imgui Library" ON)
8+
option(BUILD_DEMOS "Make the demo app" ON)
9+
option(BUILD_TESTS "Make the tests" ON)
10+
option(ZEP_FEATURE_CPP_FILE_SYSTEM "Default File system enabled" ON)
811

9-
set (CMAKE_CXX_STANDARD 14)
10-
set (CMAKE_CXX_STANDARD_REQUIRED ON)
12+
# Global Settings
13+
set(CMAKE_CXX_STANDARD 14)
14+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
15+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
16+
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
1117

12-
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
13-
14-
PROJECT (ZepDemo)
15-
16-
IF (ZEP_FEATURE_CPP_FILE_SYSTEM)
17-
ADD_DEFINITIONS(-DZEP_FEATURE_CPP_FILE_SYSTEM)
18-
ENDIF()
18+
if (CMAKE_BUILD_TYPE MATCHES Coverage)
19+
set(CMAKE_BUILD_TYPE "Debug")
20+
set(PROJECT_COVERAGE ON)
21+
endif()
1922

20-
ADD_DEFINITIONS(-DZEP_USE_SDL)
23+
set(CMAKE_DEBUG_POSTFIX "-debug")
2124

22-
MESSAGE(STATUS " CMakeLists: Zep")
25+
project(Zep
26+
LANGUAGES CXX C
27+
VERSION 0.5.0
28+
)
2329

24-
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
30+
# Used Packages
31+
include(GNUInstallDirs)
32+
include(CMakePackageConfigHelpers)
2533

26-
if (CMAKE_BUILD_TYPE MATCHES Coverage)
27-
set (CMAKE_BUILD_TYPE "Debug")
28-
set (PROJECT_COVERAGE ON)
34+
# Can I remove these now?
35+
if (ZEP_FEATURE_CPP_FILE_SYSTEM)
36+
add_definitions(-DZEP_FEATURE_CPP_FILE_SYSTEM)
2937
endif()
38+
add_definitions(-DZEP_USE_SDL)
3039

31-
# global needed variables
32-
SET (APPLICATION_NAME "Zep")
33-
SET (APPLICATION_VERSION_MAJOR "0")
34-
SET (APPLICATION_VERSION_MINOR "1")
35-
SET (APPLICATION_VERSION_PATCH "0")
36-
SET (APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
37-
38-
if (BUILD_QT)
39-
SET(CMAKE_AUTORCC ON)
40-
SET(CMAKE_PREFIX_PATH $ENV{QT_INSTALL_LOCATION})
41-
FIND_PACKAGE(Qt5 COMPONENTS Core Widgets Gui REQUIRED)
42-
SET_PROPERTY(GLOBAL PROPERTY AUTOMOC_FOLDER Automoc)
43-
SET_PROPERTY(GLOBAL PROPERTY AUTOGEN_TARGETS_FOLDER Automoc)
44-
endif()
40+
# config_app.h checks
41+
# This makes a config_shared.h file which can be included for system settings
42+
# Must be after setting up the platforms
43+
set (ZEP_ROOT ${CMAKE_CURRENT_LIST_DIR})
44+
set (M3RDPARTY_DIR ${CMAKE_CURRENT_LIST_DIR}/m3rdparty)
4545

46-
# Third party sources
47-
SET(M3RDPARTY_INCLUDE "")
46+
configure_file(${ZEP_ROOT}/cmake/config_app.h.cmake ${CMAKE_BINARY_DIR}/config_app.h)
4847

4948
# Set all compiler flags
50-
INCLUDE(cmake/all.cmake)
49+
include(cmake/all.cmake)
5150

5251
# Functions for file copying
53-
INCLUDE(m3rdparty/cmake/copy_files.cmake)
52+
include(m3rdparty/cmake/copy_files.cmake)
5453

55-
# config_app.h checks
56-
# This makes a config_shared.h file which can be included for system settings
57-
# Must be after setting up the platforms
58-
SET (ZEP_ROOT ${CMAKE_CURRENT_LIST_DIR})
59-
CONFIGURE_FILE(${CMAKE_CURRENT_LIST_DIR}/cmake/config_app.h.cmake ${CMAKE_BINARY_DIR}/config_app.h)
60-
61-
INCLUDE(m3rdparty/list.cmake)
62-
INCLUDE(src/list.cmake)
63-
64-
# Create the library - No depenencies on anything else in this file
65-
ADD_LIBRARY(Zep STATIC ${ZEP_SOURCE} ${ZEP_INCLUDE})
66-
TARGET_INCLUDE_DIRECTORIES(Zep
67-
PRIVATE
68-
src/mcommon
69-
src
70-
${SRC_INCLUDE}
71-
${CMAKE_BINARY_DIR}
72-
PUBLIC
73-
include
74-
)
75-
76-
# Create the ImGUI zep library to help with building imgui apps
77-
IF (BUILD_IMGUI)
78-
ADD_LIBRARY(ZepImGui STATIC ${ZEP_SOURCE_IMGUI})
79-
TARGET_INCLUDE_DIRECTORIES(ZepImGui
80-
PRIVATE
81-
${ZEP_INCLUDE_IMGUI}
82-
${M3RDPARTY_DIR}/imgui
83-
PUBLIC include)
84-
85-
# Build the zep demo
86-
IF (BUILD_IMGUI_APP)
87-
IF(WIN32)
88-
# Let windows know that the app is DPI Aware
89-
SET(MANIFEST_SOURCE dpiawarescaling.manifest)
90-
ENDIF()
91-
ADD_EXECUTABLE (${PROJECT_NAME} WIN32
92-
demo_imgui/main.cpp
93-
${MANIFEST_SOURCE}
94-
${IMGUI_SOURCE}
95-
${M3RDPARTY_DIR}/tfd/tinyfiledialogs.c
96-
) # Win32 ignored on non-windows
97-
98-
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME}
99-
PRIVATE
100-
${CMAKE_BINARY_DIR}
101-
${M3RDPARTY_DIR}
102-
${M3RDPARTY_DIR}/sdl/include
103-
${M3RDPARTY_DIR}/tclap/include
104-
${M3RDPARTY_DIR}/imgui
105-
${M3RDPARTY_DIR}/tfd
106-
${M3RDPARTY_DIR}/imgui/examples/libs/gl3w)
107-
copy_existing_files(${PROJECT_NAME} m3rdparty/imgui/misc/fonts/ProggyClean.ttf ${CMAKE_CURRENT_BINARY_DIR}/$(Configuration) )
108-
TARGET_LINK_LIBRARIES (${PROJECT_NAME}
109-
PRIVATE
110-
ZepImGui
111-
Zep
112-
${PLATFORM_LINKLIBS}
113-
${SDL_LINKLIBS})
114-
ADD_DEPENDENCIES(${PROJECT_NAME} sdl2 ZepImGui Zep)
54+
# The main library
55+
include(src/CMakeLists.txt)
56+
57+
include (tests/CMakeLists.txt)
58+
59+
# Demos require example interpreter and other 3rdparty
60+
IF (BUILD_DEMOS)
61+
include(${M3RDPARTY_DIR}/list.cmake)
62+
include(demo_imgui/CMakeLists.txt)
63+
include(demo_qt/CMakeLists.txt)
11564
ENDIF()
116-
ENDIF() # IMGUI
117-
118-
# Create the Qt version of the app
119-
IF (BUILD_QT)
120-
ADD_LIBRARY(ZepQt STATIC ${ZEP_SOURCE_QT})
121-
SET(CMAKE_AUTOMOC ON)
122-
SET(RESOURCE_FOLDER "" )
123-
SET(RESOURCE_FILES "")
124-
INCLUDE(demo_qt/list.cmake)
125-
126-
TARGET_INCLUDE_DIRECTORIES(ZepQt
127-
PRIVATE
128-
${ZEP_INCLUDE_QT}
129-
${M3RDPARTY_DIR}
130-
PUBLIC
131-
include)
132-
133-
ADD_EXECUTABLE (${PROJECT_NAME}-qt WIN32 ${DEMO_SOURCE_QT} ${RESOURCE_FILES}) # Win32 ignored on non-windows
134-
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME}-qt
135-
PRIVATE
136-
${ZEP_INCLUDE_QT}
137-
${CMAKE_BINARY_DIR})
138-
TARGET_LINK_LIBRARIES(${PROJECT_NAME}-qt PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets ZepQt Zep ${PLATFORM_LINKLIBS})
139-
TARGET_COMPILE_OPTIONS(${PROJECT_NAME}-qt PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/W3>) # Workaround Qt + MSVC 19 compile issue in release build.
140-
ADD_DEPENDENCIES(${PROJECT_NAME} sdl2 ZepQt)
141-
if(WIN32)
142-
MESSAGE(STATUS "Copying required Qt libraries and binaries to output directory....")
143-
# Run winddeployqt if it can be found, to ensure installed dependencies
144-
find_program(WINDEPLOYQT_EXECUTABLE NAMES windeployqt HINTS ${QTDIR} ENV QTDIR PATH_SUFFIXES bin)
145-
add_custom_command(TARGET ${PROJECT_NAME}-qt POST_BUILD
146-
COMMAND ${WINDEPLOYQT_EXECUTABLE} $<TARGET_FILE:${PROJECT_NAME}-qt>)
147-
ENDIF() # Win32
148-
ENDIF() # Build QT
149-
150-
# Unit tests
151-
# Require SDL/IMgui build to work
152-
# Need to build app to build tests
153-
IF (BUILD_IMGUI_APP)
154-
SET(CMAKE_AUTOMOC OFF)
155-
INCLUDE(tests/list.cmake)
156-
enable_testing()
157-
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_HAS_TR1_TUPLE=0")
158-
SET (TEST_SOURCES
159-
${M3RDPARTY_DIR}/googletest/googletest/src/gtest-all.cc
160-
${TEST_SOURCES}
65+
66+
# Make the CMake bits that ensure find_package does the right thing
67+
install(EXPORT zep-targets
68+
FILE zep-targets.cmake
69+
NAMESPACE Zep::
70+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zep
16171
)
162-
ADD_EXECUTABLE (unittests ${TEST_SOURCES} )
163-
ADD_DEPENDENCIES(unittests sdl2 ZepImGui Zep)
164-
TARGET_LINK_LIBRARIES (unittests PRIVATE ZepImGui Zep ${PLATFORM_LINKLIBS} ${CMAKE_THREAD_LIBS_INIT})
165-
add_test(unittests unittests)
166-
TARGET_INCLUDE_DIRECTORIES(unittests PRIVATE
167-
${M3RDPARTY_DIR}/googletest/googletest/include
168-
${M3RDPARTY_DIR}/googletest/googletest
169-
${M3RDPARTY_DIR}/googletest/googlemock/include
170-
${M3RDPARTY_DIR}/googletest/googlemock
171-
${CMAKE_BINARY_DIR}
72+
73+
configure_package_config_file(
74+
${ZEP_ROOT}/cmake/zep-config.cmake.in
75+
${CMAKE_BINARY_DIR}/cmake/zep-config.cmake
76+
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zep
17277
)
173-
ENDIF()
17478

175-
SOURCE_GROUP (Zep\\common REGULAR_EXPRESSION "src/mcommon/.*")
176-
SOURCE_GROUP (Zep\\common REGULAR_EXPRESSION "include/zep/mcommon/.*")
177-
SOURCE_GROUP (Zep REGULAR_EXPRESSION "src/.*")
178-
SOURCE_GROUP (Zep\\include REGULAR_EXPRESSION "include/zep/.*")
179-
SOURCE_GROUP (Zep FILES ${DEMO_SOURCE_IMGUI})
180-
SOURCE_GROUP (Zep FILES ${DEMO_SOURCE_QT})
79+
write_basic_package_version_file(
80+
${CMAKE_BINARY_DIR}/cmake/zep-config-version.cmake
81+
VERSION 1.0
82+
COMPATIBILITY AnyNewerVersion
83+
)
84+
85+
install(
86+
FILES
87+
${CMAKE_BINARY_DIR}/cmake/zep-config.cmake
88+
${CMAKE_BINARY_DIR}/cmake/zep-config-version.cmake
89+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/zep
90+
)
18191

182-
SOURCE_GROUP(qt\\AutoMoc FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_automoc.cpp )
183-
SOURCE_GROUP(qt\\AutoMoc REGULAR_EXPRESSION "(mocs_*|qrc_.*|QtAwesome.*)" )

TODO.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1-
### Bugs
1+
# Bugs
22
VIM: Select lines all the way up to the first line should cover all chars
3+
VIM: 'J' should join next line and remove all intervening white space
34

4-
#### General
5+
SYNTAX: Rainbow brackets have odd behavior when starting typing - investigate
6+
7+
# General
58
- Finish cut/paste to OS buffer
69

7-
#### VIM Mode
10+
# VIM Mode
811
- % Jump to bracket matching
912
- f (find) / next, previous
1013
- / Searching
1114
- visual-repeat (dot command should use last visual selection range)
12-
- 'R'/'r' overstrikeA
15+
- 'R' multi-overstrike
16+
- Implement > < for indent of selected region
1317

14-
#### Standard Mode
18+
# Standard Mode
1519
- SHIFT+UP/DOWN for line selection
1620
- Insert char over selected text (replaces it)
1721

18-
#### Syntax Highlight
22+
# Syntax Highlight
1923
More file types/keywords
24+
Flash
25+
Change to a layer mode?
2026

21-
#### Tests
27+
# Tests
2228
- Add tests for syntax highlighting
2329
- Add more standard mode tests

build_all.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
call config_all.bat
2+
cd build
3+
cmake --build . --config Release --target Install
4+
cmake --build . --config Debug --target Install
5+
cd ..

cmake/all.cmake

-15
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ message(STATUS "Compiler: ${CMAKE_CXX_COMPILER_ID}")
1414
message(STATUS "Flags: ${CMAKE_CXX_FLAGS}")
1515
message(STATUS "Arch: ${PROCESSOR_ARCH}")
1616

17-
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
18-
set(ARCH_64 TRUE)
19-
set(PROCESSOR_ARCH "x64")
20-
else()
21-
set(ARCH_64 FALSE)
22-
set(PROCESSOR_ARCH "x86")
23-
endif()
24-
2517
# System flags
2618
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
2719
message(STATUS "TARGET_PC")
@@ -42,11 +34,4 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
4234
set(PROJECT_CPP_FILESYSTEM 1)
4335
INCLUDE(${PROJECT_SOURCE_DIR}/cmake/linux.cmake)
4436
endif()
45-
46-
# global needed variables
47-
SET (APPLICATION_NAME ${PROJECT_NAME})
48-
SET (APPLICATION_VERSION_MAJOR "0")
49-
SET (APPLICATION_VERSION_MINOR "1")
50-
SET (APPLICATION_VERSION_PATCH "0")
51-
SET (APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
5237

cmake/clang++.cmake

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
#
2-
# clang++ options
3-
#
4-
51
MESSAGE(STATUS "Clang++.cmake")
2+
63
# Compatible with g++
74
include(${PROJECT_SOURCE_DIR}/cmake/g++.cmake)
8-
9-
# Dependencies required for linking executables
10-
#if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
11-
#list(APPEND SAL_DEP_LIBS atomic)
12-
#endif()

cmake/config_app.h.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
#cmakedefine ZEP_ROOT "${ZEP_ROOT}"
2-

cmake/g++.cmake

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#
2-
# GNU G++ options
3-
#
4-
51
MESSAGE(STATUS "G++.cmake")
62

73
set(CMAKE_CXX_FLAGS "" )

cmake/msvc.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ IF (CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
99
STRING(REGEX REPLACE "/W[0-4]" "/W4 /WX" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
1010
ENDIF()
1111

12-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /std:c++latest /D_CRT_NONSTDC_NO_WARNINGS=1 /Zp16 /D_CRT_SECURE_NO_WARNINGS=1")
13-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++latest /Zm127 /Zp16 /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS /D_SCL_SECURE_NO_WARNINGS=1 /D_CRT_NONSTDC_NO_WARNINGS=1 /D_CRT_SECURE_NO_WARNINGS=1")
12+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP /D_CRT_NONSTDC_NO_WARNINGS=1 /Zp16 /D_CRT_SECURE_NO_WARNINGS=1")
13+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /Zm127 /Zp16 /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS /D_SCL_SECURE_NO_WARNINGS=1 /D_CRT_NONSTDC_NO_WARNINGS=1 /D_CRT_SECURE_NO_WARNINGS=1")

cmake/zep-config.cmake.in

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@PACKAGE_INIT@
2+
3+
if(NOT TARGET Zep::Zep)
4+
include(${CMAKE_CURRENT_LIST_DIR}/zep-targets.cmake)
5+
endif()

0 commit comments

Comments
 (0)