mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 00:07:19 +01:00 
			
		
		
		
	Update the XML module project to copy the executable to the plugins directory after compilation.
This commit is contained in:
		@@ -107,6 +107,9 @@
 | 
				
			|||||||
					<Add option="-m32" />
 | 
										<Add option="-m32" />
 | 
				
			||||||
					<Add directory="../lib/gcc32-d" />
 | 
										<Add directory="../lib/gcc32-d" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux32 Release Dynamic">
 | 
								<Target title="Linux32 Release Dynamic">
 | 
				
			||||||
				<Option output="../bin/linux32/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux32/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -126,6 +129,9 @@
 | 
				
			|||||||
					<Add option="-m32" />
 | 
										<Add option="-m32" />
 | 
				
			||||||
					<Add directory="../lib/gcc32" />
 | 
										<Add directory="../lib/gcc32" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux64 Debug Dynamic">
 | 
								<Target title="Linux64 Debug Dynamic">
 | 
				
			||||||
				<Option output="../bin/linux64-d/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux64-d/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -145,6 +151,9 @@
 | 
				
			|||||||
					<Add option="-m64" />
 | 
										<Add option="-m64" />
 | 
				
			||||||
					<Add directory="../lib/gcc64-d" />
 | 
										<Add directory="../lib/gcc64-d" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux64 Release Dynamic">
 | 
								<Target title="Linux64 Release Dynamic">
 | 
				
			||||||
				<Option output="../bin/linux64/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux64/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -165,6 +174,9 @@
 | 
				
			|||||||
					<Add option="-m64" />
 | 
										<Add option="-m64" />
 | 
				
			||||||
					<Add directory="../lib/gcc64" />
 | 
										<Add directory="../lib/gcc64" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Win32 Debug Standalone">
 | 
								<Target title="Win32 Debug Standalone">
 | 
				
			||||||
				<Option output="../bin/win32-d/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/win32-d/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -287,6 +299,9 @@
 | 
				
			|||||||
					<Add option="-Bstatic" />
 | 
										<Add option="-Bstatic" />
 | 
				
			||||||
					<Add directory="../lib/gcc32-d" />
 | 
										<Add directory="../lib/gcc32-d" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux32 Release Standalone">
 | 
								<Target title="Linux32 Release Standalone">
 | 
				
			||||||
				<Option output="../bin/linux32/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux32/mod_xml32" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -310,6 +325,9 @@
 | 
				
			|||||||
					<Add option="-Bstatic" />
 | 
										<Add option="-Bstatic" />
 | 
				
			||||||
					<Add directory="../lib/gcc32" />
 | 
										<Add directory="../lib/gcc32" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux64 Debug Standalone">
 | 
								<Target title="Linux64 Debug Standalone">
 | 
				
			||||||
				<Option output="../bin/linux64-d/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux64-d/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -333,6 +351,9 @@
 | 
				
			|||||||
					<Add option="-Bstatic" />
 | 
										<Add option="-Bstatic" />
 | 
				
			||||||
					<Add directory="../lib/gcc64-d" />
 | 
										<Add directory="../lib/gcc64-d" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
			<Target title="Linux64 Release Standalone">
 | 
								<Target title="Linux64 Release Standalone">
 | 
				
			||||||
				<Option output="../bin/linux64/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
									<Option output="../bin/linux64/mod_xml64" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="1" />
 | 
				
			||||||
@@ -357,6 +378,9 @@
 | 
				
			|||||||
					<Add option="-Bstatic" />
 | 
										<Add option="-Bstatic" />
 | 
				
			||||||
					<Add directory="../lib/gcc64" />
 | 
										<Add directory="../lib/gcc64" />
 | 
				
			||||||
				</Linker>
 | 
									</Linker>
 | 
				
			||||||
 | 
									<ExtraCommands>
 | 
				
			||||||
 | 
										<Add after='/bin/cp -rf "$(PROJECT_DIR)$(TARGET_OUTPUT_FILE)" "$(PROJECT_DIR)../bin/plugins/$(TARGET_OUTPUT_BASENAME).so"' />
 | 
				
			||||||
 | 
									</ExtraCommands>
 | 
				
			||||||
			</Target>
 | 
								</Target>
 | 
				
			||||||
		</Build>
 | 
							</Build>
 | 
				
			||||||
		<Compiler>
 | 
							<Compiler>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user