Skip to content

Commit 6893f25

Browse files
authored
Merge pull request AppleWin#219 from audetto/getopts3
Replace Boost::program_options with getopt.
2 parents 22375de + 03acaf9 commit 6893f25

File tree

7 files changed

+492
-271
lines changed

7 files changed

+492
-271
lines changed

source/frontends/common2/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include(GNUInstallDirs)
22

33
set(SOURCE_FILES
4+
argparser.cpp
45
commonframe.cpp
56
commoncontext.cpp
67
controllerdoublepress.cpp
@@ -14,6 +15,7 @@ set(SOURCE_FILES
1415
)
1516

1617
set(HEADER_FILES
18+
argparser.h
1719
commonframe.h
1820
commoncontext.h
1921
controllerdoublepress.h
@@ -33,17 +35,14 @@ add_library(common2 STATIC
3335

3436
target_compile_features(common2 PUBLIC cxx_std_17)
3537

36-
find_package(Boost REQUIRED
37-
COMPONENTS program_options
38-
)
38+
find_package(Boost REQUIRED)
3939

4040
target_include_directories(common2 PRIVATE
4141
${CMAKE_CURRENT_BINARY_DIR}
4242
${Boost_INCLUDE_DIRS}
4343
)
4444

4545
target_link_libraries(common2 PRIVATE
46-
Boost::program_options
4746
appleii
4847
windows
4948
apple2roms

0 commit comments

Comments
 (0)