Add headers to library source
This makes cmake regenerate when changing them.
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -25,31 +25,51 @@ endif()
# lcf library files
add_library(lcf
+ src/command_codes.h
src/data.cpp
+ src/data.h
+ src/encoder.cpp
+ src/encoder.h
+ src/enum_tags.h
src/ini.cpp
+ src/ini.h
src/inireader.cpp
+ src/inireader.h
+ src/lcf_options.h
+ src/lcf_saveopt.h
src/ldb_equipment.cpp
src/ldb_eventcommand.cpp
src/ldb_parameters.cpp
src/ldb_reader.cpp
+ src/ldb_reader.h
src/lmt_reader.cpp
+ src/lmt_reader.h
src/lmt_rect.cpp
src/lmt_treemap.cpp
src/lmu_movecommand.cpp
src/lmu_reader.cpp
+ src/lmu_reader.h
src/lsd_reader.cpp
+ src/lsd_reader.h
src/reader_flags.cpp
src/reader_lcf.cpp
+ src/reader_lcf.h
+ src/reader_struct.h
+ src/reader_struct_impl.h
src/reader_util.cpp
- src/encoder.cpp
+ src/reader_util.h
src/reader_xml.cpp
+ src/reader_xml.h
src/rpg_fixup.cpp
src/rpg_setup.cpp
+ src/scope_guard.h
src/writer_lcf.cpp
+ src/writer_lcf.h
src/writer_xml.cpp
+ src/writer_xml.h
src/generated/ldb_actor.cpp
- src/generated/ldb_animationcelldata.cpp
src/generated/ldb_animation.cpp
+ src/generated/ldb_animationcelldata.cpp
src/generated/ldb_animationframe.cpp
src/generated/ldb_animationtiming.cpp
src/generated/ldb_attribute.cpp
@@ -59,13 +79,14 @@ add_library(lcf
src/generated/ldb_battleranimationdata.cpp
src/generated/ldb_battleranimationextension.cpp
src/generated/ldb_chipset.cpp
+ src/generated/ldb_chunks.h
src/generated/ldb_class.cpp
src/generated/ldb_commonevent.cpp
src/generated/ldb_database.cpp
- src/generated/ldb_enemyaction.cpp
src/generated/ldb_enemy.cpp
- src/generated/ldb_itemanimation.cpp
+ src/generated/ldb_enemyaction.cpp
src/generated/ldb_item.cpp
+ src/generated/ldb_itemanimation.cpp
src/generated/ldb_learning.cpp
src/generated/ldb_music.cpp
src/generated/ldb_skill.cpp
@@ -75,42 +96,114 @@ add_library(lcf
src/generated/ldb_system.cpp
src/generated/ldb_terms.cpp
src/generated/ldb_terrain.cpp
+ src/generated/ldb_terrain_flags.h
src/generated/ldb_testbattler.cpp
src/generated/ldb_troop.cpp
src/generated/ldb_troopmember.cpp
- src/generated/ldb_trooppagecondition.cpp
src/generated/ldb_trooppage.cpp
+ src/generated/ldb_trooppagecondition.cpp
+ src/generated/ldb_trooppagecondition_flags.h
src/generated/ldb_variable.cpp
+ src/generated/lmt_chunks.h
src/generated/lmt_encounter.cpp
src/generated/lmt_mapinfo.cpp
src/generated/lmt_start.cpp
+ src/generated/lmu_chunks.h
src/generated/lmu_event.cpp
- src/generated/lmu_eventpagecondition.cpp
src/generated/lmu_eventpage.cpp
+ src/generated/lmu_eventpagecondition.cpp
+ src/generated/lmu_eventpagecondition_flags.h
src/generated/lmu_map.cpp
src/generated/lmu_moveroute.cpp
+ src/generated/lsd_chunks.h
+ src/generated/lsd_save.cpp
src/generated/lsd_saveactor.cpp
src/generated/lsd_savecommonevent.cpp
- src/generated/lsd_save.cpp
src/generated/lsd_saveeventcommands.cpp
src/generated/lsd_saveeventdata.cpp
src/generated/lsd_saveinventory.cpp
- src/generated/lsd_savemapeventbase.cpp
src/generated/lsd_savemapevent.cpp
+ src/generated/lsd_savemapeventbase.cpp
src/generated/lsd_savemapinfo.cpp
src/generated/lsd_savepanorama.cpp
src/generated/lsd_savepartylocation.cpp
src/generated/lsd_savepicture.cpp
+ src/generated/lsd_savepicture_flags.h
src/generated/lsd_savescreen.cpp
src/generated/lsd_savesystem.cpp
src/generated/lsd_savetarget.cpp
src/generated/lsd_savetitle.cpp
src/generated/lsd_savevehiclelocation.cpp
+ src/generated/rpg_actor.h
+ src/generated/rpg_animation.h
+ src/generated/rpg_animationcelldata.h
+ src/generated/rpg_animationframe.h
+ src/generated/rpg_animationtiming.h
+ src/generated/rpg_attribute.h
+ src/generated/rpg_battlecommand.h
+ src/generated/rpg_battlecommands.h
+ src/generated/rpg_battleranimation.h
+ src/generated/rpg_battleranimationdata.h
+ src/generated/rpg_battleranimationextension.h
src/generated/rpg_chipset.cpp
+ src/generated/rpg_chipset.h
+ src/generated/rpg_class.h
+ src/generated/rpg_commonevent.h
+ src/generated/rpg_database.h
+ src/generated/rpg_encounter.h
+ src/generated/rpg_enemy.h
+ src/generated/rpg_enemyaction.h
src/generated/rpg_enums.cpp
+ src/generated/rpg_equipment.h
+ src/generated/rpg_event.h
+ src/generated/rpg_eventcommand.h
+ src/generated/rpg_eventpage.h
+ src/generated/rpg_eventpagecondition.h
+ src/generated/rpg_item.h
+ src/generated/rpg_itemanimation.h
+ src/generated/rpg_learning.h
+ src/generated/rpg_map.h
+ src/generated/rpg_mapinfo.h
+ src/generated/rpg_movecommand.h
+ src/generated/rpg_moveroute.h
+ src/generated/rpg_music.h
+ src/generated/rpg_parameters.h
+ src/generated/rpg_rect.h
+ src/generated/rpg_save.h
+ src/generated/rpg_saveactor.h
+ src/generated/rpg_savecommonevent.h
+ src/generated/rpg_saveeventcommands.h
+ src/generated/rpg_saveeventdata.h
+ src/generated/rpg_saveinventory.h
+ src/generated/rpg_savemapevent.h
+ src/generated/rpg_savemapeventbase.h
+ src/generated/rpg_savemapinfo.h
+ src/generated/rpg_savepanorama.h
src/generated/rpg_savepartylocation.cpp
+ src/generated/rpg_savepartylocation.h
+ src/generated/rpg_savepicture.h
+ src/generated/rpg_savescreen.h
+ src/generated/rpg_savesystem.h
+ src/generated/rpg_savetarget.h
+ src/generated/rpg_savetitle.h
+ src/generated/rpg_savevehiclelocation.h
+ src/generated/rpg_skill.h
+ src/generated/rpg_sound.h
+ src/generated/rpg_start.h
src/generated/rpg_state.cpp
+ src/generated/rpg_state.h
+ src/generated/rpg_switch.h
src/generated/rpg_system.cpp
+ src/generated/rpg_system.h
+ src/generated/rpg_terms.h
+ src/generated/rpg_terrain.h
+ src/generated/rpg_testbattler.h
+ src/generated/rpg_treemap.h
+ src/generated/rpg_troop.h
+ src/generated/rpg_troopmember.h
+ src/generated/rpg_trooppage.h
+ src/generated/rpg_trooppagecondition.h
+ src/generated/rpg_variable.h
)
# C++11 is required

Add headers to library source
This makes cmake regenerate when changing them.