Skip to content

Commit

Permalink
Extract Directory libid for target libid
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Mar 17, 2024
1 parent eb8a56d commit ef1a9f1
Show file tree
Hide file tree
Showing 164 changed files with 307 additions and 310 deletions.
312 changes: 4 additions & 308 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,317 +61,13 @@ endif()
add_subdirectory(config)
add_subdirectory(hc)
add_subdirectory(helpcom)
add_subdirectory(home)
add_subdirectory(id)
add_subdirectory(libid)
add_subdirectory(unix)
add_subdirectory(win32)

add_library(libid
headers/os.h

common/3d.cpp headers/3d.h
common/line3d.cpp headers/line3d.h
common/plot3d.cpp headers/plot3d.h

common/calcfrac.cpp headers/calcfrac.h
common/calcmand.cpp headers/calcmand.h
common/calmanfp.cpp headers/calmanfp.h
common/fracsuba.cpp headers/fracsuba.h
common/fracsubr.cpp headers/fracsubr.h
common/fractalb.cpp headers/fractalb.h
common/fractalp.cpp headers/fractalp.h
common/fractals.cpp headers/fractals.h
common/frasetup.cpp headers/frasetup.h
common/soi.cpp headers/soi.h
common/soi1.cpp
common/testpt.cpp headers/testpt.h

common/ant.cpp headers/ant.h
common/jb.cpp headers/jb.h
common/lorenz.cpp headers/lorenz.h
common/lsys.cpp headers/lsys_fns.h
common/lsysf.cpp
common/miscfrac.cpp headers/miscfrac.h

common/cmdfiles.cpp headers/cmdfiles.h
common/decoder.cpp headers/decoder.h
common/diskvid.cpp headers/diskvid.h
common/editpal.cpp headers/editpal.h
common/encoder.cpp headers/encoder.h
common/evolve.cpp headers/evolve.h
common/gifview.cpp headers/gifview.h
common/loadfdos.cpp headers/loadfdos.h
common/loadfile.cpp headers/loadfile.h
common/loadmap.cpp headers/loadmap.h
common/parser.cpp headers/parser.h
common/parserfp.cpp
common/rotate.cpp headers/rotate.h
common/slideshw.cpp headers/slideshw.h
common/stereo.cpp headers/stereo.h

common/bigflt.cpp
common/biginit.cpp headers/biginit.h
common/bignum.cpp
common/bignumc.cpp
common/fpu087.cpp headers/fpu087.h
common/hcmplx.cpp headers/hcmplx.h
common/mpmath_c.cpp headers/mpmath_c.h

common/drivers.cpp
common/memory.cpp headers/memory.h

common/abort_msg.cpp headers/abort_msg.h
headers/choice_builder.h
common/double_to_string.cpp headers/double_to_string.h
common/expand_dirname.cpp headers/expand_dirname.h
common/find_file.cpp headers/find_file.h
common/find_path.cpp headers/find_path.h
common/find_special_colors.cpp headers/find_special_colors.h
common/fix_dirname.cpp headers/fix_dirname.h
common/fractint.cpp
common/framain2.cpp headers/framain2.h
common/full_screen_prompt.cpp headers/full_screen_prompt.h
common/get_3d_params.cpp headers/get_3d_params.h
common/get_browse_params.cpp headers/get_browse_params.h
headers/get_ifs_token.h
common/get_key_no_help.cpp headers/get_key_no_help.h
common/get_toggles.cpp headers/get_toggles.h
common/help.cpp
common/intro.cpp headers/intro.h
headers/is_directory.h
common/jiim.cpp headers/jiim.h
common/load_entry_text.cpp headers/load_entry_text.h
common/make_batch_file.cpp headers/make_batch_file.h
headers/make_path.h
common/merge_path_names.cpp headers/merge_path_names.h
common/miscovl.cpp headers/miscovl.h
common/miscres.cpp headers/miscres.h
common/path_match.cpp headers/path_match.h
common/prompts1.cpp headers/prompts1.h
common/prompts2.cpp headers/prompts2.h
common/realdos.cpp headers/realdos.h
common/search_path.cpp headers/search_path.h
common/spindac.cpp headers/spindac.h
common/split_path.cpp headers/split_path.h
common/update_save_name.cpp headers/update_save_name.h
common/zoom.cpp headers/zoom.h

headers/big.h
headers/biginit.h
headers/cmplx.h
headers/drivers.h
headers/fractype.h
headers/id.h
headers/id_data.h
headers/lsys.h
headers/mpmath.h
headers/newton.h
headers/prototyp.h
headers/winprot.h
)

source_group("Header Files/common/3d" FILES
headers/3d.h
headers/line3d.h
headers/plot3d.h
)
source_group("Source Files/common/3d" FILES
common/3d.cpp
common/line3d.cpp
common/plot3d.cpp
)
source_group("Header Files/common/engine" FILES
headers/calcfrac.h
headers/calcmand.h
headers/calmanfp.h
headers/fracsuba.h
headers/fracsubr.h
headers/fractalb.h
headers/fractalp.h
headers/fractals.h
headers/fractype.h
headers/frasetup.h
headers/id_data.h
headers/soi.h
headers/testpt.h
)
source_group("Source Files/common/engine" FILES
common/calcfrac.cpp
common/calcmand.cpp
common/calmanfp.cpp
common/fracsuba.cpp
common/fracsubr.cpp
common/fractalb.cpp
common/fractalp.cpp
common/fractals.cpp
common/frasetup.cpp
common/soi.cpp
common/soi1.cpp
common/testpt.cpp
)
source_group("Header Files/common/fractal specific" FILES
headers/ant.h
headers/jb.h
headers/lorenz.h
headers/lsys.h
headers/lsysf.h
headers/lsys_fns.h
headers/miscfrac.h
headers/newton.h
)
source_group("Source Files/common/fractal specific" FILES
common/ant.cpp
common/jb.cpp
common/lorenz.cpp
common/lsys.cpp
common/lsysf.cpp
common/miscfrac.cpp
)
source_group("Header Files/common/IO" FILES
headers/cmdfiles.h
headers/decoder.h
headers/diskvid.h
headers/editpal.h
headers/encoder.h
headers/evolve.h
headers/gifview.h
headers/id_io.h
headers/loadfdos.h
headers/loadfile.h
headers/loadmap.h
headers/parser.h
headers/rotate.h
headers/slideshw.h
headers/stereo.h
)
source_group("Source Files/common/IO" FILES
common/cmdfiles.cpp
common/decoder.cpp
common/diskvid.cpp
common/editpal.cpp
common/encoder.cpp
common/evolve.cpp
common/gifview.cpp
common/loadfdos.cpp
common/loadfile.cpp
common/loadmap.cpp
common/parser.cpp
common/parserfp.cpp
common/rotate.cpp
common/slideshw.cpp
common/stereo.cpp
)
source_group("Header Files/common/math" FILES
headers/big.h
headers/biginit.h
headers/cmplx.h
headers/fpu087.h
headers/hcmplx.h
headers/mpmath.h
headers/mpmath_c.h
)
source_group("Source Files/common/math" FILES
common/bigflt.cpp
common/biginit.cpp
common/bignum.cpp
common/bignumc.cpp
common/fpu087.cpp
common/hcmplx.cpp
common/mpmath_c.cpp
)
source_group("Header Files/common/plumbing" FILES
headers/drivers.h
headers/memory.h
)
source_group("Source Files/common/plumbing" FILES
common/drivers.cpp
common/memory.cpp
)
source_group("Header Files/common/ui" FILES
headers/abort_msg.h
headers/choice_builder.h
headers/double_to_string.h
headers/expand_dirname.h
headers/find_file.h
headers/find_path.h
headers/find_special_colors.h
headers/fix_dirname.h
headers/framain2.h
headers/full_screen_prompt.h
headers/get_3d_params.h
headers/get_browse_params.h
headers/get_ifs_token.h
headers/get_key_no_help.h
headers/get_toggles.h
headers/help.h
headers/id.h
headers/intro.h
headers/is_directory.h
headers/jiim.h
headers/load_entry_text.h
headers/make_batch_file.h
headers/make_path.h
headers/merge_path_names.h
headers/miscovl.h
headers/miscres.h
headers/path_match.h
headers/prompts1.h
headers/prompts2.h
headers/realdos.h
headers/search_path.h
headers/spindac.h
headers/split_path.h
headers/update_save_name.h
headers/zoom.h
)
source_group("Source Files/common/ui" FILES
common/abort_msg.cpp
common/double_to_string.cpp
common/expand_dirname.cpp
common/find_file.cpp
common/find_path.cpp
common/find_special_colors.cpp
common/fix_dirname.cpp
common/fractint.cpp
common/framain2.cpp
common/full_screen_prompt.cpp
common/get_3d_params.cpp
common/get_browse_params.cpp
common/get_key_no_help.cpp
common/get_toggles.cpp
common/help.cpp
common/intro.cpp
common/jiim.cpp
common/load_entry_text.cpp
common/make_batch_file.cpp
common/merge_path_names.cpp
common/miscovl.cpp
common/miscres.cpp
common/path_match.cpp
common/prompts1.cpp
common/prompts2.cpp
common/realdos.cpp
common/search_path.cpp
common/spindac.cpp
common/split_path.cpp
common/update_save_name.cpp
common/zoom.cpp
)

set_src_dir(common/help.cpp)
set_src_dir(common/fractint.cpp)

target_compile_definitions(libid PUBLIC ${ID_TARGET_DEFINITIONS} $<$<CONFIG:Debug>:${ID_TARGET_DEFINITIONS_DEBUG}>)
target_compile_options(libid PUBLIC ${ID_TARGET_OPTIONS})
target_include_directories(libid PUBLIC headers)
target_link_libraries(libid PRIVATE help_defs helpcom os config Boost::boost)
target_link_libraries(libid PUBLIC config)
add_dependencies(libid native_help)

add_subdirectory(id)

set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT id)

if(BUILD_TESTING)
add_subdirectory(tests)
endif()

add_subdirectory(home)
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT id)
File renamed without changes.
Loading

0 comments on commit ef1a9f1

Please sign in to comment.