<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to define CONDITIONAL PRAGMA that effects all ST-POU in project.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c64f00dff5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c64f00dff5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c64f00dff5/</id><updated>2024-05-12T11:17:32.389000Z</updated><subtitle>Recent posts to How to define CONDITIONAL PRAGMA that effects all ST-POU in project.</subtitle><entry><title>How to define CONDITIONAL PRAGMA that effects all ST-POU in project.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c64f00dff5/?limit=25#3a3a" rel="alternate"/><published>2024-05-12T11:17:32.389000Z</published><updated>2024-05-12T11:17:32.389000Z</updated><author><name>k2saki</name><uri>https://forge.codesys.com/u/k2saki/</uri></author><id>https://forge.codesys.come0da1347ef102670d1c24d292e8df5a66244237d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'd like to use same code/project in different devices.　(RPi, PLC)&lt;/p&gt;
&lt;p&gt;I change some lines in some POU before compiling. (array size, file path, etc )&lt;/p&gt;
&lt;p&gt;My question is&lt;/p&gt;
&lt;p&gt;How to define pragma that effects all ST-POU in project.&lt;/p&gt;
&lt;p&gt;Is it possible ?&lt;/p&gt;
&lt;p&gt;I've read this.&lt;br/&gt;
&lt;a href="https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_pragma_conditional/" rel="nofollow"&gt;https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_pragma_conditional/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>